![]() |
VR-Forces Developer's Guide
|
A Value Bar Attribute Template.
DtBarAttributeTemplateObject 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.

Protected Attributes | |
| double | myMinRange |
| double | myMaxRange |
Protected Attributes inherited from vrvControlToolkit::DtAttributeTemplateObject | |
| DtGlobalObjectDesignator | myTemplateId |
| DtString | myName |
| DtVdcAttributeType | myAttributeType |
| DtAttributeTemplateStateRecord | myAttributeTemplateRecord |
Private Member Functions | |
| DtBarAttributeTemplateObject () | |
Additional Inherited Members | |
Public Types inherited from vrvControlToolkit::DtAttributeTemplateObject | |
| enum | DtVdcAttributeType { DtVdcAttributeTypeNoValue = 0, DtVdcAttributeTypeValueNumeric = 1, DtVdcAttributeTypeValueBar = 2, DtVdcAttributeTypeValueGraph = 3, DtVdcAttributeTypeBitmap = 4 } |
| vrvControlToolkit::DtBarAttributeTemplateObject::DtBarAttributeTemplateObject | ( | 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 |
| vrvControlToolkit::DtBarAttributeTemplateObject::DtBarAttributeTemplateObject | ( | const DtBarAttributeTemplateObject & | orig | ) |
Copy constructor.
|
private |
Default constructor.
Private and not implemented - you must supply all parameters to create a value bar attribute template
| DtBarAttributeTemplateObject& vrvControlToolkit::DtBarAttributeTemplateObject::operator= | ( | const DtBarAttributeTemplateObject & | 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 |