Provides access to private methods for managing the Device's connection statuses.
More...
Inherits ObjectPtr< IConnectionStatusContainerPrivate >.
Provides access to private methods for managing the Device's connection statuses.
Enables adding, removing, and updating statuses stored in the connection status container. Statuses are identified by unique connection strings and can be accessed via IComponentStatusContainer using name aliases. A configuration status, accessible via alias "ConfigurationStatus", is unique per container and cannot be removed if added.
On the other hand, multiple streaming statuses are supported, one per each streaming source attached to the device. Aliases for these follow the pattern "StreamingStatus_n," with optional protocol-based prefixes (e.g., "OpenDAQNativeStreamingStatus_1", "OpenDAQLTStreamingStatus_2", "StreamingStatus_3" etc.).
"ConnectionStatusChanged" Core events are triggered whenever there is a change in the connection status of the openDAQ Device, including parameters such as status name alias, value, protocol type, connection string, and streaming object (nullptr for configuration statuses). Removing streaming statuses also triggers said Core event with "Removed" as the value and nullptr for the streaming object parameters.
|
void | addConfigurationConnectionStatus (const daq::StringPtr &connectionString, const daq::EnumerationPtr &initialValue) const |
| Adds a new configuration connection status with the specified connection string and initial value. More...
|
|
void | addStreamingConnectionStatus (const daq::StringPtr &connectionString, const daq::EnumerationPtr &initialValue, const daq::StreamingPtr &streamingObject) const |
| Adds a new streaming connection status with the specified connection string, initial value, and streaming object. More...
|
|
void | removeStreamingConnectionStatus (const daq::StringPtr &connectionString) const |
| Removes a streaming connection status associated with the specified connection string. More...
|
|
void | updateConnectionStatus (const daq::StringPtr &connectionString, const daq::EnumerationPtr &value, const daq::StreamingPtr &streamingObject) const |
| Updates the value of an existing connection status. More...
|
|
void | updateConnectionStatusWithMessage (const daq::StringPtr &connectionString, const daq::EnumerationPtr &value, const daq::StreamingPtr &streamingObject, const daq::StringPtr &message) const |
| Updates the value of an existing connection status with a message. More...
|
|