|
DataFieldIdentifier provide the basis to identify data field within a distributed ArmarX scenario. More...
#include <ArmarXCore/observers/variant/DataFieldIdentifier.h>
Public Member Functions | |
bool | beginsWith (const DataFieldIdentifier &dataFieldIdentifier) |
Test if one DataFieldIdentifier contains the other. More... | |
DataFieldIdentifier () | |
Creates an empty DataFieldIdentifier. More... | |
DataFieldIdentifier (std::string dataFieldIdentifierStr) | |
Creates a DataFieldIdentifier from string. More... | |
DataFieldIdentifier (std::string observerName, std::string channelName, std::string datafieldName) | |
Creates a DataFieldIdentifier from string. More... | |
bool | equals (const DataFieldIdentifier &dataFieldIdentifier) |
Test two DataFieldIdentifier for equality. More... | |
std::string | getChannelName () const |
Retrieve channel name. More... | |
std::string | getDataFieldName () const |
Retrieve datafield name. More... | |
std::string | getIdentifierStr () const |
Retrieve data field identifier string. More... | |
std::string | getObserverName () const |
Retrieve observer name. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const DataFieldIdentifier &rhs) |
stream operator for DataFieldIdentifier More... | |
std::ostream & | operator<< (std::ostream &stream, const DataFieldIdentifierPtr &rhs) |
stream operator for Ice shared pointer of DataFieldIdentifier More... | |
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.
Definition at line 48 of file DataFieldIdentifier.h.
|
inline |
Creates an empty DataFieldIdentifier.
Required for Ice ObjectFactory
Definition at line 55 of file DataFieldIdentifier.h.
DataFieldIdentifier | ( | std::string | dataFieldIdentifierStr | ) |
Creates a DataFieldIdentifier from string.
dataFieldIdentifierStr | string in the format "observername.channelname.datafieldname" |
Definition at line 33 of file DataFieldIdentifier.cpp.
DataFieldIdentifier | ( | std::string | observerName, |
std::string | channelName, | ||
std::string | datafieldName | ||
) |
Creates a DataFieldIdentifier from string.
observerName | name of the observer |
channelName | name of the channel |
datafieldName | name of the datafield |
Definition at line 48 of file DataFieldIdentifier.cpp.
bool beginsWith | ( | const DataFieldIdentifier & | dataFieldIdentifier | ) |
Test if one DataFieldIdentifier contains the other.
dataFieldIdentifier | identifier to check for standing at the beginning |
Definition at line 69 of file DataFieldIdentifier.cpp.
bool equals | ( | const DataFieldIdentifier & | dataFieldIdentifier | ) |
Test two DataFieldIdentifier for equality.
dataFieldIdentifier | identifier to test for equality |
Definition at line 61 of file DataFieldIdentifier.cpp.
|
inline |
Retrieve channel name.
Definition at line 111 of file DataFieldIdentifier.h.
|
inline |
Retrieve datafield name.
Definition at line 121 of file DataFieldIdentifier.h.
std::string getIdentifierStr | ( | ) | const |
Retrieve data field identifier string.
Definition at line 56 of file DataFieldIdentifier.cpp.
|
inline |
Retrieve observer name.
Definition at line 101 of file DataFieldIdentifier.h.
|
friend |
stream operator for DataFieldIdentifier
Definition at line 129 of file DataFieldIdentifier.h.
|
friend |
stream operator for Ice shared pointer of DataFieldIdentifier
Definition at line 138 of file DataFieldIdentifier.h.