DataFieldIdentifier provide the basis to identify data field within a distributed ArmarX scenario.
More...
#include <ArmarXCore/observers/variant/DataFieldIdentifier.h>
DataFieldIdentifier provide the basis to identify data field within a distributed ArmarX scenario.
Data fields are provided by observers which again are fed by SensorActor units. An Observer allows defining several condition checks on data fields that generate the events necessary for the robot program (Operation) logic.
◆ DataFieldIdentifier() [1/3]
◆ DataFieldIdentifier() [2/3]
Creates a DataFieldIdentifier from string.
- Parameters
-
| dataFieldIdentifierStr | string in the format "observername.channelname.datafieldname" |
◆ DataFieldIdentifier() [3/3]
| DataFieldIdentifier |
( |
std::string | observerName, |
|
|
std::string | channelName, |
|
|
std::string | datafieldName ) |
Creates a DataFieldIdentifier from string.
- Parameters
-
| observerName | name of the observer |
| channelName | name of the channel |
| datafieldName | name of the datafield |
◆ beginsWith()
Test if one DataFieldIdentifier contains the other.
- Parameters
-
| dataFieldIdentifier | identifier to check for standing at the beginning |
- Returns
- beginsWith
◆ equals()
Test two DataFieldIdentifier for equality.
- Parameters
-
| dataFieldIdentifier | identifier to test for equality |
- Returns
- equality
◆ getChannelName()
| std::string getChannelName |
( |
| ) |
const |
|
inline |
Retrieve channel name.
- Returns
- name of the channel
◆ getDataFieldName()
| std::string getDataFieldName |
( |
| ) |
const |
|
inline |
Retrieve datafield name.
- Returns
- name of the datafield
◆ getIdentifierStr()
| std::string getIdentifierStr |
( |
| ) |
const |
Retrieve data field identifier string.
- Returns
- string which identifies the datafield
◆ getObserverName()
| std::string getObserverName |
( |
| ) |
const |
|
inline |
Retrieve observer name.
- Returns
- name of the observer
◆ operator<< [1/2]
◆ operator<< [2/2]
The documentation for this class was generated from the following files: