VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
vrvControlToolkit::DtAttributeGroupTemplateObject Class Reference

An Attribute Group Template.

DtAttributeGroupTemplateObject 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.

Inheritance diagram for vrvControlToolkit::DtAttributeGroupTemplateObject:
Inheritance graph
[legend]

Public Member Functions

 DtAttributeGroupTemplateObject (DtExerciseConn *exConn, unsigned id, const DtString &name)
 
virtual ~DtAttributeGroupTemplateObject ()
 
virtual const DtStringname () const
 
virtual DtAttributeTemplateObjectcreateAttributeTemplate (const DtString &name, DtAttributeTemplateObject::DtVdcAttributeType attType)
 
virtual DtAttributeTemplateObjectcreateAttributeTemplate (const DtString &name, double minRange, double maxRange)
 
virtual
DtVdcAttributeTemplateList
attributeTemplates ()
 
virtual DtAttributeTemplateObjectattributeTemplate (const DtString &name)
 
virtual void update ()
 
- Public Member Functions inherited from vrvControlToolkit::DtDrawControlObject
 DtDrawControlObject (DtExerciseConn *exConn, unsigned id, const DtString &objName)
 
virtual ~DtDrawControlObject ()
 
virtual unsigned id () const
 
virtual void setId (unsigned id)
 
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 DtVdcColorcolor () const
 
virtual void setColor (const DtVdcColor &color)
 
virtual void setRemoteGraphicSet (const std::string &setName)
 

Protected Attributes

DtString myName
 
DtVdcAttributeTemplateMap myAttributeTemplateMap
 
DtVdcAttributeTemplateList myAttributeTemplateList
 
- Protected Attributes inherited from vrvControlToolkit::DtDrawControlObject
unsigned myId
 
DtEnvironmentProcessPublishermyPublisher
 
bool myVisible
 
DtVdcColor myEmptyColor
 

Private Member Functions

 DtAttributeGroupTemplateObject ()
 
 DtAttributeGroupTemplateObject (const DtAttributeGroupTemplateObject &orig)
 
DtAttributeGroupTemplateObjectoperator= (const DtAttributeGroupTemplateObject &rhs)
 

Additional Inherited Members

- Static Public Member Functions inherited from vrvControlToolkit::DtDrawControlObject
static void setPublisherCreator (DtEnvironmentProcessPublisherCreator *creator)
 
- Static Protected Attributes inherited from vrvControlToolkit::DtDrawControlObject
static
DtEnvironmentProcessPublisherCreator
thePublisherCreator
 

Constructor & Destructor Documentation

vrvControlToolkit::DtAttributeGroupTemplateObject::DtAttributeGroupTemplateObject ( DtExerciseConn *  exConn,
unsigned  id,
const DtString name 
)

Construct the Attribute Group Template.

Parameters
idPassed to DtDrawControlObject base (see)
nameThe name of the attribute group template (this is displayed at the top of each attribute group instance)
virtual vrvControlToolkit::DtAttributeGroupTemplateObject::~DtAttributeGroupTemplateObject ( )
virtual
vrvControlToolkit::DtAttributeGroupTemplateObject::DtAttributeGroupTemplateObject ( )
private

Default constructor.

Private and not implemented - you must supply id and name parameters to construct the attribute group template

vrvControlToolkit::DtAttributeGroupTemplateObject::DtAttributeGroupTemplateObject ( const DtAttributeGroupTemplateObject orig)
private

Copy constructor.

Private and not implemented - not copyable.

Member Function Documentation

DtAttributeGroupTemplateObject& vrvControlToolkit::DtAttributeGroupTemplateObject::operator= ( const DtAttributeGroupTemplateObject rhs)
private

Assignment operator.

Private and not implemented - not copyable.

virtual const DtString& vrvControlToolkit::DtAttributeGroupTemplateObject::name ( ) const
virtual

name accessor

Get the attribute group template's name

Returns
DtString name
virtual DtAttributeTemplateObject* vrvControlToolkit::DtAttributeGroupTemplateObject::createAttributeTemplate ( const DtString name,
DtAttributeTemplateObject::DtVdcAttributeType  attType 
)
virtual

Create an Attribute Template.

Parameters
idPassed to DtDrawControlObject base (see)
nameThe name of the attribute template (this is displayed on the left-hand side of the attribute when displaying the attribute group instance)
typeThe 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 DtAttributeTemplateObject* vrvControlToolkit::DtAttributeGroupTemplateObject::createAttributeTemplate ( const DtString name,
double  minRange,
double  maxRange 
)
virtual

Create a Bar Value Attribute Template.

Parameters
idPassed to DtDrawControlObject base (see)
nameThe name of the attribute template (this is displayed on the left-hand side of the attribute when displaying the attribute group instance)
minRangeThe minimum value for the range this attribute represents
maxRangeThe maximum value for the range this attribute represents
virtual DtVdcAttributeTemplateList& vrvControlToolkit::DtAttributeGroupTemplateObject::attributeTemplates ( )
virtual

Attribute template list accessor.

Get the list of attribute templates created for this template

Returns
List of attribute templates
virtual DtAttributeTemplateObject* vrvControlToolkit::DtAttributeGroupTemplateObject::attributeTemplate ( const DtString name)
virtual

Attribute Template Accessor.

Find the attribute template with the specified it

Parameters
attributetemplate id
Returns
pointer to attribute template
virtual void vrvControlToolkit::DtAttributeGroupTemplateObject::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 vrvControlToolkit::DtDrawControlObject.

Member Data Documentation

DtString vrvControlToolkit::DtAttributeGroupTemplateObject::myName
protected
DtVdcAttributeTemplateMap vrvControlToolkit::DtAttributeGroupTemplateObject::myAttributeTemplateMap
protected
DtVdcAttributeTemplateList vrvControlToolkit::DtAttributeGroupTemplateObject::myAttributeTemplateList
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)