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

Public Member Functions | |
| DtSdcAttributeGroupTemplateObject (DtExerciseConn *exConn, unsigned id, const DtString &name) | |
| Construct the Attribute Group Template. | |
| virtual | ~DtSdcAttributeGroupTemplateObject () |
| virtual const DtString & | name () const |
| name accessor | |
| virtual DtSdcAttributeTemplateObject * | createAttributeTemplate (const DtString &name, DtSdcAttributeTemplateObject::DtSdcAttributeType attType) |
| Create an Attribute Template. | |
| virtual DtSdcAttributeTemplateObject * | createAttributeTemplate (const DtString &name, double minRange, double maxRange) |
| Create a Bar Value Attribute Template. | |
| virtual DtSdcAttributeTemplateList & | attributeTemplates () |
| Attribute template list accessor. | |
| virtual DtSdcAttributeTemplateObject * | attributeTemplate (const DtString &name) |
| Attribute Template Accessor. | |
| virtual void | update () |
| update the internal pdu | |
Public Member Functions inherited from DtSdcObject | |
| DtSdcObject (DtExerciseConn *exConn, unsigned id, const DtString &objName) | |
| Parameterized constructor. | |
| virtual | ~DtSdcObject () |
| Virtual destructor. | |
| virtual unsigned | id () const |
| id accessor | |
| virtual void | setId (unsigned id) |
| id mutator | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| virtual void | setVisible (bool yesNo) |
| virtual bool | visible () const |
| virtual bool | flashing () const |
| virtual void | setFlashing (bool yesNo) |
| virtual const DtSdcColor & | color () const |
| virtual void | setColor (const DtSdcColor &color) |
| virtual void | setRemoteGraphicSet (const std::string &setName) |
Protected Attributes | |
| DtString | myName |
| DtSdcAttributeTemplateMap | myAttributeTemplateMap |
| DtSdcAttributeTemplateList | myAttributeTemplateList |
Protected Attributes inherited from DtSdcObject | |
| unsigned | myId |
| DtEnvironmentProcessPublisher | myPublisher |
| bool | myVisible |
| DtSdcColor | myEmptyColor |
Private Member Functions | |
| DtSdcAttributeGroupTemplateObject () | |
| Default constructor. | |
| DtSdcAttributeGroupTemplateObject (const DtSdcAttributeGroupTemplateObject &orig) | |
| Copy constructor. | |
| DtSdcAttributeGroupTemplateObject & | operator= (const DtSdcAttributeGroupTemplateObject &rhs) |
| Assignment operator. | |
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 |
|
private |
Default constructor.
Private and not implemented - you must supply id and name parameters to construct the attribute group template
|
private |
Copy constructor.
Private and not implemented - not copyable.
|
private |
Assignment operator.
Private and not implemented - not copyable.
|
virtual |
name accessor
Get the attribute group template's name
|
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 |
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 |
Attribute template list accessor.
Get the list of attribute templates created for this template
|
virtual |
Attribute Template Accessor.
Find the attribute template with the specified it
| attribute | template id |
|
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.
|
protected |
|
protected |
|
protected |