[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public abstract class AdapterCollectionBase<T> : ListCollection<T>,
IAdapterCollection, IAdapter, ISupportLifecycle, IDisposable, IProvideStatus,
IList<IAdapter>, ICollection<IAdapter>, IEnumerable<IAdapter>,
IEnumerable
where T : class, IAdapter
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public MustInherit Class AdapterCollectionBase(Of T As {Class, IAdapter})
Inherits ListCollection(Of T)
Implements IAdapterCollection, IAdapter, ISupportLifecycle, IDisposable,
IProvideStatus, IList(Of IAdapter), ICollection(Of IAdapter),
IEnumerable(Of IAdapter), IEnumerable[EditorBrowsableAttribute(EditorBrowsableState::Never)]
generic<typename T>
where T : ref class, IAdapter
public ref class AdapterCollectionBase abstract : public ListCollection<T>,
IAdapterCollection, IAdapter, ISupportLifecycle, IDisposable, IProvideStatus,
IList<IAdapter^>, ICollection<IAdapter^>, IEnumerable<IAdapter^>,
IEnumerable| AdapterCollectionBaseT | Constructs a new instance of the AdapterCollectionBaseT. |
| AutoInitialize | Gets flag that determines if IAdapter implementations are automatically initialized when they are added to the collection. |
| AutoStart | Gets or sets flag indicating if adapter collection should automatically start items when AutoInitialize is false. |
| ConnectionString | Gets or sets key/value pair connection information specific to this AdapterCollectionBaseT. |
| Count |
Gets the number of elements contained in the ICollectionT.
(Inherited from ListCollectionT) |
| DataMember | Gets or sets specific data member (e.g., table name) in DataSource used to Initialize this AdapterCollectionBaseT. |
| DataSource | Gets or sets DataSet based data source used to load each IAdapter. Updates to this property will cascade to all items in this AdapterCollectionBaseT. |
| Enabled | Gets or sets enabled state of this AdapterCollectionBaseT. |
| ID | Gets or sets numeric ID associated with this AdapterCollectionBaseT. |
| InitializationTimeout | Gets or sets the default adapter time that represents the maximum time system will wait during Start for initialization. |
| Initialized | Gets or sets flag indicating if the adapter collection has been initialized successfully. |
| InputMeasurementKeys | Gets or sets primary keys of input measurements the AdapterCollectionBaseT expects, if any. |
| InputSourceIDs | Gets or sets Source values used to filter input measurement keys. |
| IsDisposed | Gets a flag that indicates whether the object has been disposed. |
| IsReadOnly | Gets a value indicating whether the AdapterCollectionBaseT is read-only. |
| Item(Int32) |
Gets or sets the element at the specified index.
(Inherited from ListCollectionT) |
| Items |
Gets a IListT wrapper around the CollectionT.
(Inherited from ListCollectionT) |
| Log | Log messages generated by an adapter. |
| MonitorTimerEnabled | Gets or sets flag that determines if monitor timer should be used for monitoring processed measurement statistics for the AdapterCollectionBaseT. |
| Name | Gets or sets the name of this AdapterCollectionBaseT. |
| OutputMeasurements | Gets or sets output measurements that the AdapterCollectionBaseT will produce, if any. |
| OutputSourceIDs | Gets or sets Source values used to filter output measurements. |
| ProcessedMeasurements | Gets the total number of measurements processed thus far by each IAdapter implementation in the AdapterCollectionBaseT. |
| ProcessingInterval | Gets or sets the desired processing interval, in milliseconds, for the adapter collection and applies this interval to each adapter. |
| RequestedInputMeasurementKeys | Gets or sets input measurement keys that are requested by other adapters based on what adapter says it can provide. |
| RequestedOutputMeasurementKeys | Gets or sets output measurement keys that are requested by other adapters based on what adapter says it can provide. |
| RunTime | Gets the total amount of time, in seconds, that the adapter has been active. |
| Settings | Gets settings DictionaryTKey, TValue parsed when ConnectionString was assigned. |
| StartTime | Gets the UTC time this AdapterCollectionBaseT was started. |
| StartTimeConstraint | Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String). |
| Status | Gets the descriptive status of this AdapterCollectionBaseT. |
| StopTime | Gets the UTC time this AdapterCollectionBaseT was stopped. |
| StopTimeConstraint | Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String). |
| SupportsTemporalProcessing | Gets the flag indicating if this adapter collection supports temporal processing. |
| Add(T1) |
Adds an item to the ICollectionT.
(Inherited from ListCollectionT) |
| Clear |
Removes all items from the ICollectionT.
(Inherited from ListCollectionT) |
| ClearItems |
Removes all elements from the CollectionT.
(Overrides ClearItems) |
| Contains(T1) |
Determines whether the ICollectionT contains a specific value.
(Inherited from ListCollectionT) |
| CopyTo(T1[], Int32) |
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ListCollectionT) |
| Dispose | Releases all the resources used by the AdapterCollectionBaseT object. |
| Dispose(Boolean) | Releases the unmanaged resources used by the AdapterCollectionBaseT object and optionally releases the managed resources. |
| DisposeItem | Un-wires events and disposes of IAdapter implementation. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize |
Releases the unmanaged resources before the AdapterCollectionBaseT object is reclaimed by GC.
(Overrides ObjectFinalize) |
| GetEnumerator |
Returns an enumerator that iterates through the CollectionT.
(Inherited from ListCollectionT) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetShortStatus | Gets a short one-line status of this AdapterCollectionBaseT. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf(T1) |
Determines the index of a specific item in the IListT.
(Inherited from ListCollectionT) |
| Initialize | Loads all IAdapter implementations defined in DataSource. |
| InitializeItem | Wires events and initializes new IAdapter implementation. |
| Insert(Int32, T1) |
Inserts an item to the IListT at the specified index.
(Inherited from ListCollectionT) |
| InsertItem |
Inserts an element into the CollectionT the specified index.
(Overrides InsertItem(Int32, T1)) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OnConfigurationChanged | Raises ConfigurationChanged event. |
| OnInputMeasurementKeysUpdated | Raises InputMeasurementKeysUpdated event. |
| OnOutputMeasurementsUpdated | Raises OutputMeasurementsUpdated event. |
| OnProcessException | Raises the ProcessException event. |
| OnStatusMessage | Raises the StatusMessage event and sends this data to the Logger. |
| Remove(T1) |
Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ListCollectionT) |
| RemoveAt(Int32) |
Removes the element at the specified index of the CollectionT.
(Inherited from ListCollectionT) |
| RemoveItem |
Removes the element at the specified index of the CollectionT.
(Overrides RemoveItem(Int32)) |
| ResetStatistics | Resets the statistics of this collection. |
| SetItem |
Assigns a new element to the CollectionT at the specified index.
(Overrides SetItem(Int32, T1)) |
| SetTemporalConstraint | Defines a temporal processing constraint for the adapter collection and applies this constraint to each adapter. |
| Start | Starts, or restarts, each IAdapter implementation in this AdapterCollectionBaseT. |
| Stop | Stops each IAdapter implementation in this AdapterCollectionBaseT. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryCreateAdapter | Attempts to create an IAdapter from the specified DataRow. |
| TryGetAdapterTValue | Attempts to get the adapter with the specified value given testItem function. |
| TryGetAdapterByID | Attempts to get the adapter with the specified id. |
| TryGetAdapterByName | Attempts to get the adapter with the specified name. |
| TryInitializeAdapterByID | Attempts to initialize (or reinitialize) an individual IAdapter based on its ID. |
| ConfigurationChanged | Event is raised when adapter is aware of a configuration change. |
| Disposed | Event is raised when this AdapterCollectionBaseT is disposed or an IAdapter in the collection is disposed. |
| InputMeasurementKeysUpdated | Event is raised when InputMeasurementKeys are updated. |
| OutputMeasurementsUpdated | Event is raised when OutputMeasurements are updated. |
| ProcessException | Event is raised when there is an exception encountered while processing. |
| StatusMessage | Provides status messages to consumer. |
| InputMeasurementKeys |
Returns the MeasurementKey values of the IAdapter input measurements.
(Defined by IAdapterExtensions) |
| InputMeasurementKeysIAdapter |
Gets a distinct list of input measurement keys for all of the provided adapters.
(Defined by IAdapterExtensions) |
| OutputMeasurementKeys |
Returns the MeasurementKey values of the IAdapter output measurements.
(Defined by IAdapterExtensions) |
| OutputMeasurementKeysIAdapter |
Gets a distinct list of output measurement keys for all of the provided adapters.
(Defined by IAdapterExtensions) |
| TemporalConstraintIsDefined |
Returns true if IAdapter has a temporal constraint defined, i.e., either
StartTimeConstraint or StopTimeConstraint is not
set to its default value.
(Defined by IAdapterExtensions) |