VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtSdcAttributeValue Class Reference

An instance of an attribute group (and corresponding attribute values) More...

Public Member Functions

 DtSdcAttributeValue ()
 Default Constructor.
 ~DtSdcAttributeValue ()
 Destructor (non-virtual - this is a non-virtual class)
DtSdcAttributeValueoperator= (const DtSdcAttributeValue &rhs)
 Assignment Operator.
 DtSdcAttributeValue (const DtSdcAttributeValue &orig)
 Copy Constructor.
DtAttributeValueUpdate & attributeValueUpdate ()
 gets the record used to represent this attribute value on the network
const DtAttributeValueUpdate & attributeValueUpdate () const
const DtStringtextValue () const
void setTextValue (const DtString &textValue)
double xValue () const
void setXValue (double x)
double yValue () const
void setYValue (double y)
bool dirty () const
void setDirty (bool dirty)

Protected Attributes

DtString myTextValue
double myXValue
double myYValue
bool myDirty
DtAttributeValueUpdate myAttributeValueUpdate

Detailed Description

An instance of an attribute group (and corresponding attribute values)

The DtSdcAttributeValue class is a container for holding the different types of attribute values that attributes can assume. It also has a DtAttributeUpdatePdu, which is used by the DtStealthRemoteDrawer class to update the attribute value represented by an instance of this class.

Constructor & Destructor Documentation

DtSdcAttributeValue::DtSdcAttributeValue ( )

Default Constructor.

DtSdcAttributeValue::~DtSdcAttributeValue ( )

Destructor (non-virtual - this is a non-virtual class)

DtSdcAttributeValue::DtSdcAttributeValue ( const DtSdcAttributeValue orig)

Copy Constructor.

Member Function Documentation

DtSdcAttributeValue& DtSdcAttributeValue::operator= ( const DtSdcAttributeValue rhs)

Assignment Operator.

const DtString& DtSdcAttributeValue::textValue ( ) const

gets/sets a text attribute value (used for BMP attributes)

void DtSdcAttributeValue::setTextValue ( const DtString textValue)

gets/sets a text attribute value (used for BMP attributes)

double DtSdcAttributeValue::xValue ( ) const

gets/sets a numeric (x) attribute value (used for numeric, value bar, and graph attributes

void DtSdcAttributeValue::setXValue ( double  x)

gets/sets a numeric (x) attribute value (used for numeric, value bar, and graph attributes

double DtSdcAttributeValue::yValue ( ) const

gets/sets a numeric (y) attribute value (used for graph attributes)

void DtSdcAttributeValue::setYValue ( double  y)

gets/sets a numeric (x) attribute value (used for numeric, value bar, and graph attributes

bool DtSdcAttributeValue::dirty ( ) const

gets/sets a 'dirty' flag which indicates if the value has changed since the last time the group was updated to the network (used by DtStealthRemoteDrawer)

void DtSdcAttributeValue::setDirty ( bool  dirty)

gets/sets a 'dirty' flag which indicates if the value has changed since the last time the group was updated to the network (used by DtStealthRemoteDrawer)

DtAttributeValueUpdate& DtSdcAttributeValue::attributeValueUpdate ( )

gets the record used to represent this attribute value on the network

const DtAttributeValueUpdate& DtSdcAttributeValue::attributeValueUpdate ( ) const

Member Data Documentation

DtString DtSdcAttributeValue::myTextValue
protected
double DtSdcAttributeValue::myXValue
protected
double DtSdcAttributeValue::myYValue
protected
bool DtSdcAttributeValue::myDirty
protected
DtAttributeValueUpdate DtSdcAttributeValue::myAttributeValueUpdate
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)