Represents standard information about a server's capability to support various protocols. The Server Capability object functions as a Property Object, facilitating the inclusion of custom properties of String, Int, Bool, or Float types. This interface serves to store essential details regarding the supported protocol by a device. It adheres to a standardized set of properties, including methods to retrieve information such as the connection string, protocol name, protocol type, connection type, and core events enabled. Additional String, Int, Bool, or Float-type properties can be added using the appropriate Property Object "add property" method. However, other property types are considered invalid for this interface. The Server Capability object conforms to a standardized format, ensuring compatibility with communication standards. For instance, it provides methods to retrieve details like.
More...
template<typename InterfaceType>
class GenericServerCapabilityPtr< InterfaceType >
Represents standard information about a server's capability to support various protocols. The Server Capability object functions as a Property Object, facilitating the inclusion of custom properties of String, Int, Bool, or Float types. This interface serves to store essential details regarding the supported protocol by a device. It adheres to a standardized set of properties, including methods to retrieve information such as the connection string, protocol name, protocol type, connection type, and core events enabled. Additional String, Int, Bool, or Float-type properties can be added using the appropriate Property Object "add property" method. However, other property types are considered invalid for this interface. The Server Capability object conforms to a standardized format, ensuring compatibility with communication standards. For instance, it provides methods to retrieve details like.
- the connection string (URL),
- protocol name (e.g., "OpenDAQNativeStreaming", "OpenDAQOPCUA"),
- protocol type (e.g., "Configuration&Streaming", "Streaming"),
- connection type (e.g., IPv4, IPv6),
- core events enabled (indicating communication mode).
|
daq::StringPtr | getConnectionString () const |
| Gets the connection string of the device with the current protocol. More...
|
|
daq::ListPtr< daq::IString > | getConnectionStrings () const |
| Gets the connection string of the device with the current protocol. More...
|
|
daq::StringPtr | getProtocolName () const |
| Gets the name of the protocol supported by the device. More...
|
|
daq::StringPtr | getProtocolId () const |
| Gets the id of the protocol supported by the device. Should not contain spaces or special characters except for '_' and '-'. More...
|
|
daq::ProtocolType | getProtocolType () const |
| Gets the type of protocol supported by the device. More...
|
|
daq::StringPtr | getPrefix () const |
| Gets the prefix of the connection string (eg. "daq.nd" or "daq.opcua") More...
|
|
daq::StringPtr | getConnectionType () const |
| Gets the type of connection supported by the device. More...
|
|
daq::Bool | getCoreEventsEnabled () const |
| Gets the client update method supported by the device. More...
|
|
daq::ListPtr< daq::IString > | getAddresses () const |
| Gets the device's list of addresses with the current protocol. More...
|
|
daq::IntegerPtr | getPort () const |
| Gets the port of the device with the current protocol. More...
|
|
daq::ListPtr< daq::IAddressInfo > | getAddressInfo () const |
| Gets the list of address information objects. More...
|
|
daq::StringPtr | getProtocolVersion () const |
| Gets the protocol version supported by the device's protocol. More...
|
|
daq::StringPtr | getClassName () const |
| Gets the name of the class the Property object was constructed with. More...
|
|
void | setPropertyValue (const daq::StringPtr &propertyName, const daq::BaseObjectPtr &value) const |
| Sets the value of the Property with the given name. More...
|
|
daq::BaseObjectPtr | getPropertyValue (const daq::StringPtr &propertyName) const |
| Gets the value of the Property with the given name. More...
|
|
daq::BaseObjectPtr | getPropertySelectionValue (const daq::StringPtr &propertyName) const |
| Gets the selected value of the Property, if the Property is a Selection property. More...
|
|
void | clearPropertyValue (const daq::StringPtr &propertyName) const |
| Clears the Property value from the Property object. More...
|
|
daq::Bool | hasProperty (const daq::StringPtr &propertyName) const |
| Checks if the Property object contains a property named propertyName . More...
|
|
daq::PropertyPtr | getProperty (const daq::StringPtr &propertyName) const |
| Gets the Property with the given propertyName . More...
|
|
void | addProperty (const daq::PropertyPtr &property) const |
| Adds the property to the Property object. More...
|
|
void | removeProperty (const daq::StringPtr &propertyName) const |
| Removes the Property named propertyName from the Property object. More...
|
|
daq::Event< daq::PropertyObjectPtr, daq::PropertyValueEventArgsPtr > | getOnPropertyValueWrite (const daq::StringPtr &propertyName) const |
| Gets the Event that is triggered whenever a Property value is written to the Property named propertyName . More...
|
|
daq::Event< daq::PropertyObjectPtr, daq::PropertyValueEventArgsPtr > | getOnPropertyValueRead (const daq::StringPtr &propertyName) const |
| Gets the Event that is triggered whenever a Property value of a Property named propertyName is read. More...
|
|
daq::Event< daq::PropertyObjectPtr, daq::PropertyValueEventArgsPtr > | getOnAnyPropertyValueWrite () const |
| Gets the Event that is triggered whenever any Property value is written. The event is triggered after the specific Property event. More...
|
|
daq::Event< daq::PropertyObjectPtr, daq::PropertyValueEventArgsPtr > | getOnAnyPropertyValueRead () const |
| Gets the Event that is triggered whenever any Property value is read.The event is triggered after the specific Property event. More...
|
|
daq::ListPtr< daq::IProperty > | getVisibleProperties () const |
| Returns a list of visible properties contained in the Property object. More...
|
|
daq::ListPtr< daq::IProperty > | getAllProperties () const |
| Returns a list of all properties contained in the Property object. More...
|
|
void | setPropertyOrder (const daq::ListPtr< daq::IString > &orderedPropertyNames) const |
| Sets a custom order of properties as defined in the list of property names. More...
|
|
void | beginUpdate () const |
| Begins batch configuration of the object. More...
|
|
void | endUpdate () const |
| Ends batch configuration of the object. More...
|
|
daq::Bool | getUpdating () const |
| Returns the state of batch configuration. More...
|
|
daq::Event< daq::PropertyObjectPtr, daq::EndUpdateEventArgsPtr > | getOnEndUpdate () const |
| Gets the Event that is triggered whenever the batch configuration is applied. More...
|
|
daq::PermissionManagerPtr | getPermissionManager () const |
| Gets the permission manager of property object. More...
|
|