![]() |
VR-Forces 5.0.2 Developer's Guide
|
An Attribute Template.
DtAttributeTemplateObject represents a template that defines one type of attribute in an Attribute Group: Specifically the attribute name and type that will appear in a group instance (attribute values are supplied by the the group instance).

Public Types | |
| enum | DtVdcAttributeType { DtVdcAttributeTypeNoValue = 0, DtVdcAttributeTypeValueNumeric = 1, DtVdcAttributeTypeValueBar = 2, DtVdcAttributeTypeValueGraph = 3, DtVdcAttributeTypeBitmap = 4 } |
Public Member Functions | |
| DtAttributeTemplateObject (const DtGlobalObjectDesignator &templateId, const DtString &name, DtVdcAttributeType attributeType) | |
| virtual | ~DtAttributeTemplateObject () |
| DtAttributeTemplateObject (const DtAttributeTemplateObject &orig) | |
| DtAttributeTemplateObject & | operator= (const DtAttributeTemplateObject &rhs) |
| virtual const DtString & | name () const |
| virtual const DtGlobalObjectDesignator & | templateId () const |
| virtual DtVdcAttributeType | attributeType () const |
| virtual const DtAttributeTemplateStateRecord & | attributeTemplateRecord () const |
Protected Attributes | |
| DtGlobalObjectDesignator | myTemplateId |
| DtString | myName |
| DtVdcAttributeType | myAttributeType |
| DtAttributeTemplateStateRecord | myAttributeTemplateRecord |
Private Member Functions | |
| DtAttributeTemplateObject () | |
| vrvControlToolkit::DtAttributeTemplateObject::DtAttributeTemplateObject | ( | const DtGlobalObjectDesignator & | templateId, |
| const DtString & | name, | ||
| DtVdcAttributeType | attributeType | ||
| ) |
Construct the Attribute Template.
| id | Passed to DtDrawControlObject base (see) |
| templateId | Id of the attribute group template that this attribute template is to be part of |
| name | The name of the attribute template (this is displayed on the left-hand side of the attribute when displaying the attribute in a group instance |
| attributeType | The DtVdcAttributeType this template represents |
|
virtual |
| vrvControlToolkit::DtAttributeTemplateObject::DtAttributeTemplateObject | ( | const DtAttributeTemplateObject & | orig | ) |
Copy constructor.
|
private |
Default constructor.
Private and not implemented - you must supply all parameters to create an attribute template
| DtAttributeTemplateObject& vrvControlToolkit::DtAttributeTemplateObject::operator= | ( | const DtAttributeTemplateObject & | rhs | ) |
Assignment operator.
|
virtual |
name accessor
Get the attribute group template's name
|
virtual |
name accessor
Get the attribute group template's name
|
virtual |
attribute type accessor
Get the attribute template's type
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |