![]() |
VR-Forces 4.1.1 Class Documentation
|
Record for a sensor definition. More...
Public Types | |
Map types for sensor attribute storage | |
| typedef std::map< std::string, int > | AttributesInt |
| typedef std::map< std::string, bool > | AttributesBool |
| typedef std::map< std::string, float > | AttributesFloat |
| typedef std::map< std::string, std::string > | AttributesString |
Public Member Functions | |
| DtSensorRecord () | |
| CTOR. | |
| DtSensorRecord (const DtSensorRecord &obj) | |
| Copy CTOR. | |
| DtSensorRecord & | operator= (const DtSensorRecord &rhs) |
| Assignment operator. | |
| const AttributesInt & | attributesInt () const |
| Get the integer attributes. | |
| const AttributesFloat & | attributesFloat () const |
| Get the float attributes. | |
| const AttributesBool & | attributesBool () const |
| Get the boolean attributes. | |
| const AttributesString & | attributesString () const |
| Get the string attributes. | |
| void | setAttributes (const AttributesInt &attributes) |
| Set the definition's name-value attributes. | |
| void | setAttributes (const AttributesBool &attributes) |
| Set the definition's name-value attributes. | |
| void | setAttributes (const AttributesFloat &attributes) |
| Set the definition's name-value attributes. | |
| void | setAttributes (const AttributesString &attributes) |
| Set the definition's name-value attributes. | |
| const std::string & | name () const |
| Get the sensor's name. | |
| void | setName (const std::string &name) |
| Set the sensor's name. | |
| const std::string & | module () const |
| Get the sensor's module name. | |
| void | setModule (const std::string &moduleName) |
| Set the sensor's module name. | |
Protected Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Protected Attributes | |
| Utf8String | myName |
| Utf8String | myModuleName |
| AttributesInt | myAttributesInt |
| AttributesFloat | myAttributesFloat |
| AttributesString | myAttributesString |
| AttributesBool | myAttributesBool |
Friends | |
| class | boost::serialization::access |
Record for a sensor definition.
| typedef std::map<std::string, int> makArchives::DtSensorRecord::AttributesInt |
| typedef std::map<std::string, bool> makArchives::DtSensorRecord::AttributesBool |
| typedef std::map<std::string, float> makArchives::DtSensorRecord::AttributesFloat |
| typedef std::map<std::string, std::string> makArchives::DtSensorRecord::AttributesString |
| makArchives::DtSensorRecord::DtSensorRecord | ( | ) |
CTOR.
| makArchives::DtSensorRecord::DtSensorRecord | ( | const DtSensorRecord & | obj | ) |
Copy CTOR.
| DtSensorRecord& makArchives::DtSensorRecord::operator= | ( | const DtSensorRecord & | rhs | ) |
Assignment operator.
| const AttributesInt& makArchives::DtSensorRecord::attributesInt | ( | ) | const |
Get the integer attributes.
| const AttributesFloat& makArchives::DtSensorRecord::attributesFloat | ( | ) | const |
Get the float attributes.
| const AttributesBool& makArchives::DtSensorRecord::attributesBool | ( | ) | const |
Get the boolean attributes.
| const AttributesString& makArchives::DtSensorRecord::attributesString | ( | ) | const |
Get the string attributes.
| void makArchives::DtSensorRecord::setAttributes | ( | const AttributesInt & | attributes | ) |
Set the definition's name-value attributes.
| void makArchives::DtSensorRecord::setAttributes | ( | const AttributesBool & | attributes | ) |
Set the definition's name-value attributes.
| void makArchives::DtSensorRecord::setAttributes | ( | const AttributesFloat & | attributes | ) |
Set the definition's name-value attributes.
| void makArchives::DtSensorRecord::setAttributes | ( | const AttributesString & | attributes | ) |
Set the definition's name-value attributes.
| const std::string& makArchives::DtSensorRecord::name | ( | ) | const |
Get the sensor's name.
| void makArchives::DtSensorRecord::setName | ( | const std::string & | name | ) |
Set the sensor's name.
| const std::string& makArchives::DtSensorRecord::module | ( | ) | const |
Get the sensor's module name.
| void makArchives::DtSensorRecord::setModule | ( | const std::string & | moduleName | ) |
Set the sensor's module name.
|
inlineprotected |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |