Click or drag to resize

IOListT Class

List to hold any number of IOLines. Provides convenience methods for register events to all lines in the list and setting values of all outputs
Inheritance Hierarchy
SystemObject
  Brainboxes.IOIOListT

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class IOList<T> : IList<T>, ICollection<T>, 
	IEnumerable<T>, IEnumerable
where T : IOLine

Type Parameters

T

The IOListT type exposes the following members.

Constructors
 NameDescription
Public methodIOListT Initialize a new instance of an IOList
Public methodIOListT(IEnumerableT) Initialize a new instance of an IOList that contains elements copied from the collection
Public methodIOListT(Int32) Initialize a new instance of an IOList that is empty and has the specified capacity
Top
Properties
 NameDescription
Public propertyAValues Set all analog output values in collection, if there are no outputs nothing will be set
Public propertyCount Gets the number of IOLines in the List
Public propertyIsReadOnly Gets the value indicating whether the IOList is read-only
Public propertyItem Get the IOLine at a particular index
Public propertyLabel User definable label for the IOList to help identify/ when debugging
Public propertyValues set all output values in Collection, if there are not Outputs nothing will be set
Top
Methods
 NameDescription
Public methodAdd Adds an IOLine to the List
Public methodAsReadOnly Converts the IOList to a Read-only List
Public methodClear Removes all IOLines from the list
Public methodContains Determines whether the list contains a specific IOLine
Public methodCopyTo Copies the IOLine(s) starting at a particular index to the supplied array
Public methodDescribe Give a complete summary of the EDDevice
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetEnumerator Returns the IOList enumerator that iterates through the collection
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf Determine the index of a specific IOLine
Public methodInsert Insert an IOLine at a specific index
Public methodRemove Removes the first occurrence of a specific IOLine from the list
Public methodRemoveAt Removes the IOLine at the specific index
Public methodSubscribeToDeltaEvent Register an event with this handler to be notified when the state of this AIOLines in the list changes over the delta value specified. If IOLines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) The event can be unregistered using the UnsubscribeToDeltaEvent
Public methodSubscribeToTargetEvent Register event with this handler to be notified when the state of this AIOLines in the list goes over the value specified and below the value specified. If IOLines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) The event can be unregistered using the UnsubscribeToTargetEvents
Public methodSubscribeToTargetEventsObsolete.
Register event with this handler to be notified when the state of this AIOLines in the list goes over the value specified and below the value specified. If IOLines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) The event can be unregistered using the UnsubscribeToTargetEvents
Public methodSubscribeToTargetRangeEvent Register event with this handler to be notified when the state of this AIOLines in the list changes more than the specified delta value away from the specified target value. If IOlines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) The event can be unregistered using the UnsubscribeToTargetRangeEvents
Public methodSubscribeToTargetRangeEventsObsolete.
Register event with this handler to be notified when the state of this AIOLines in the list changes more than the specified delta value away from the specified target value. If IOlines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) The event can be unregistered using the UnsubscribeToTargetRangeEvents
Public methodToList Convert to List<T>
Public methodToString ToString
(Overrides ObjectToString)
Public methodUnsubscribeToDeltaEvent Unsubscribe a registered delta event with this handler to stop being notified when this event is triggered
Public methodUnsubscribeToTargetEvent Unsubscribe a registered target event with this handler to stop being notified when this event is triggered
Public methodUnsubscribeToTargetEventsObsolete.
Unsubscribe a registered target event with this handler to stop being notified when this event is triggered
Public methodUnsubscribeToTargetRangeEvent Unsubscribe a registered target range event with this handler to stop being notified when this event is triggered
Public methodUnsubscribeToTargetRangeEventsObsolete.
Unsubscribe a registered target range event with this handler to stop being notified when this event is triggered
Top
Events
 NameDescription
Public eventIOLineChange Add/remove IOLineChange event to all lines in the list, if IOLines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) If events are removed which were not previously added, they will still be attempted to be removed from the IOLine
Public eventIOLineFallingEdge Add/remove IOLineFallingEdge event to all lines in the list, if IOLines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) If events are removed which were not previously added, they will still be attempted to be removed from the IOLine
Public eventIOLineRisingEdge Add/remove IOLineRisingEdge event to all lines in the list, if IOLines are subsequently added or removed then the events will also be applied The same event cannot be added twice (function will return and do nothing) If events are removed which were not previously added, they will still be attempted to be removed from the IOLine
Top
See Also