![]() |
VR-Forces 4.1 Class Documentation
|
A Value Bar Attribute Template. More...

Public Member Functions | |
| DtSdcBarAttributeTemplateObject (const DtGlobalObjectDesignator &templateId, const DtString &name, double minRange, double maxRange) | |
| Construct the Value Bar Attribute Group Template. | |
| virtual | ~DtSdcBarAttributeTemplateObject () |
| DtSdcBarAttributeTemplateObject (const DtSdcBarAttributeTemplateObject &orig) | |
| Copy constructor. | |
| DtSdcBarAttributeTemplateObject & | operator= (const DtSdcBarAttributeTemplateObject &rhs) |
| Assignment operator. | |
| virtual double | minRange () const |
| minRange accessor | |
| virtual double | maxRange () const |
| maxRange accessor | |
Public Member Functions inherited from DtSdcAttributeTemplateObject | |
| DtSdcAttributeTemplateObject (const DtGlobalObjectDesignator &templateId, const DtString &name, DtSdcAttributeType attributeType) | |
| Construct the Attribute Template. | |
| virtual | ~DtSdcAttributeTemplateObject () |
| DtSdcAttributeTemplateObject (const DtSdcAttributeTemplateObject &orig) | |
| Copy constructor. | |
| DtSdcAttributeTemplateObject & | operator= (const DtSdcAttributeTemplateObject &rhs) |
| Assignment operator. | |
| virtual const DtString & | name () const |
| name accessor | |
| virtual const DtGlobalObjectDesignator & | templateId () const |
| name accessor | |
| virtual DtSdcAttributeType | attributeType () const |
| attribute type accessor | |
| virtual const DtAttributeTemplateStateRecord & | attributeTemplateRecord () const |
Protected Attributes | |
| double | myMinRange |
| double | myMaxRange |
Protected Attributes inherited from DtSdcAttributeTemplateObject | |
| DtGlobalObjectDesignator | myTemplateId |
| DtString | myName |
| DtSdcAttributeType | myAttributeType |
| DtAttributeTemplateStateRecord | myAttributeTemplateRecord |
Private Member Functions | |
| DtSdcBarAttributeTemplateObject () | |
| Default constructor. | |
Additional Inherited Members | |
Public Types inherited from DtSdcAttributeTemplateObject | |
| enum | DtSdcAttributeType { DtSdcAttributeTypeNoValue = 0, DtSdcAttributeValueNumeric = 1, DtSdcAttributeTypeValueBar = 2, DtSdcAttributeTypeValueGraph = 3, DtSdcAttributeTypeBitmap = 4 } |
A Value Bar Attribute Template.
DtSdcBarAttributeTemplateObject represents a template that defines an attribute type in an Attribute Group that displays a horizontal value bar; a range (min and max) is specified, and then the bar is drawn showing what portion of the range is covered by the attribute value set.
| DtSdcBarAttributeTemplateObject::DtSdcBarAttributeTemplateObject | ( | const DtGlobalObjectDesignator & | templateId, |
| const DtString & | name, | ||
| double | minRange, | ||
| double | maxRange | ||
| ) |
Construct the Value Bar Attribute Group Template.
| id | Passed to DtSdcAtteibuteTemplate3Object base (see) |
| templateId | Passed to DtSdcAtteibuteTemplate3Object base (see) |
| name | |
| minRange | The minimum value for the range of values represented |
| maxRange | The maximum value for the range of values represented |
|
virtual |
| DtSdcBarAttributeTemplateObject::DtSdcBarAttributeTemplateObject | ( | const DtSdcBarAttributeTemplateObject & | orig | ) |
Copy constructor.
|
private |
Default constructor.
Private and not implemented - you must supply all parameters to create a value bar attribute template
| DtSdcBarAttributeTemplateObject& DtSdcBarAttributeTemplateObject::operator= | ( | const DtSdcBarAttributeTemplateObject & | rhs | ) |
Assignment operator.
|
virtual |
minRange accessor
Get the minimum value for the range represented
|
virtual |
maxRange accessor
Get the maximum value for the range represented
|
protected |
|
protected |