![]() |
VR-Forces 4.0.4 Class Documentation
|
An Attribute Group Template. More...

An Attribute Group Template.
DtSdcAttributeGroupTemplateObject represents a template that defines a type of Attribute Group: Specifically the name that will be used for all attribute groups based on the template and the list of associated attribute templates that make up a group instance.
| DtSdcAttributeGroupTemplateObject::DtSdcAttributeGroupTemplateObject | ( | DtExerciseConn * | exConn, |
| unsigned | id, | ||
| const DtString & | name | ||
| ) |
Construct the Attribute Group Template.
| id | Passed to DtSdcObject base (see) |
| name | The name of the attribute group template (this is displayed at the top of each attribute group instance) |
| virtual DtSdcAttributeGroupTemplateObject::~DtSdcAttributeGroupTemplateObject | ( | ) | [virtual] |
Default constructor.
Private and not implemented - you must supply id and name parameters to construct the attribute group template
| DtSdcAttributeGroupTemplateObject::DtSdcAttributeGroupTemplateObject | ( | const DtSdcAttributeGroupTemplateObject & | orig | ) | [private] |
Copy constructor.
Private and not implemented - not copyable.
| DtSdcAttributeGroupTemplateObject& DtSdcAttributeGroupTemplateObject::operator= | ( | const DtSdcAttributeGroupTemplateObject & | rhs | ) | [private] |
Assignment operator.
Private and not implemented - not copyable.
| virtual const DtString& DtSdcAttributeGroupTemplateObject::name | ( | ) | const [virtual] |
name accessor
Get the attribute group template's name
| virtual DtSdcAttributeTemplateObject* DtSdcAttributeGroupTemplateObject::createAttributeTemplate | ( | const DtString & | name, |
| DtSdcAttributeTemplateObject::DtSdcAttributeType | attType | ||
| ) | [virtual] |
Create an Attribute Template.
| id | Passed to DtSdcObject base (see) |
| name | The name of the attribute template (this is displayed on the left-hand side of the attribute when displaying the attribute group instance) |
| type | The type of attribute this template represents. This method should NOT be used to create ValueBar attribute templates; use the alternate method that takes min and max range values instead. |
| virtual DtSdcAttributeTemplateObject* DtSdcAttributeGroupTemplateObject::createAttributeTemplate | ( | const DtString & | name, |
| double | minRange, | ||
| double | maxRange | ||
| ) | [virtual] |
Create a Bar Value Attribute Template.
| id | Passed to DtSdcObject base (see) |
| name | The name of the attribute template (this is displayed on the left-hand side of the attribute when displaying the attribute group instance) |
| minRange | The minimum value for the range this attribute represents |
| maxRange | The maximum value for the range this attribute represents |
| virtual DtSdcAttributeTemplateList& DtSdcAttributeGroupTemplateObject::attributeTemplates | ( | ) | [virtual] |
Attribute template list accessor.
Get the list of attribute templates created for this template
| virtual DtSdcAttributeTemplateObject* DtSdcAttributeGroupTemplateObject::attributeTemplate | ( | const DtString & | name | ) | [virtual] |
Attribute Template Accessor.
Find the attribute template with the specified it
| attribute | template id |
| virtual void DtSdcAttributeGroupTemplateObject::update | ( | ) | [virtual] |
update the internal pdu
This function is a no-op for the attribute group template, as all fields of the pdu are set at construction time and can't be changed.
Implements DtSdcObject.
DtString DtSdcAttributeGroupTemplateObject::myName [protected] |