VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makArchives::DtSensorRecord Class Reference

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.
DtSensorRecordoperator= (const DtSensorRecord &rhs)
 Assignment operator.
const AttributesIntattributesInt () const
 Get the integer attributes.
const AttributesFloatattributesFloat () const
 Get the float attributes.
const AttributesBoolattributesBool () const
 Get the boolean attributes.
const AttributesStringattributesString () 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

Detailed Description

Record for a sensor definition.

Member Typedef Documentation

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

Constructor & Destructor Documentation

makArchives::DtSensorRecord::DtSensorRecord ( )

CTOR.

makArchives::DtSensorRecord::DtSensorRecord ( const DtSensorRecord obj)

Copy CTOR.

Member Function Documentation

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.

template<class Archive >
void makArchives::DtSensorRecord::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprotected

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation

Utf8String makArchives::DtSensorRecord::myName
protected
Utf8String makArchives::DtSensorRecord::myModuleName
protected
AttributesInt makArchives::DtSensorRecord::myAttributesInt
protected
AttributesFloat makArchives::DtSensorRecord::myAttributesFloat
protected
AttributesString makArchives::DtSensorRecord::myAttributesString
protected
AttributesBool makArchives::DtSensorRecord::myAttributesBool
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)