![]() |
VR-Forces Developer's Guide
|
vrvCore RadioCommLine Element

Classes | |
| struct | DtRadioCommLineModelSetData |
Public Types | |
| using | ModelSetDataArray = std::array< DtRadioCommLineModelSetData, MAX_MODEL_SETS > |
Public Types inherited from makVrv::DtElement | |
| using | ModelSetToSceneObjectIdMap = boost::unordered_map< DtModelSetId, DtUniqueID > |
Static Public Member Functions | |
| static const DtElementEntry::ElementType | theElementType () |
Protected Member Functions | |
| virtual void | slot_visibilityChanged (bool vis) |
Protected Member Functions inherited from makVrv::DtElement | |
| void | slot_updateOverlayNameRaw (const char *text) |
| void | slot_updateConnectionObjectID (const std::string &id) |
| void | slot_updateConnectionObjectType (const std::string &type) |
| void | slot_updateDisplayName (const std::string &text) |
| void | slot_updateOverlayName (const std::string &pname) |
| void | slot_updateDamageState (EntityStateListener::DamageState state) |
| virtual void | getDefinitions (std::vector< DtUnicode > &definitions) |
| virtual void | warnVisualizationFailed (const std::string &file, int line, const std::string &function, DtVisualizerSet *visSet, DtSceneObjectAgent *sceneObject, DtModelSetId modelSet, DtException ex) |
| virtual void | reportElementCreated () |
| virtual void | reportDisplayName () |
| virtual void | reportConnectionObjectID () |
| virtual void | reportConnectionObjectType () |
| virtual void | reportOverlayNameChanged () |
| virtual void | reportVisibility () |
| virtual void | reportDamageStateChanged () |
| virtual void | reportDriverType () |
| virtual void | reportElementSubtype () |
| virtual void | reportElementDefinitionName () |
| virtual void | reportDisplayUnitCollectionName () |
| virtual bool | distribute () const |
| virtual void | setDistribute (const bool distribute) |
Protected Attributes | |
| DtRadioCommLineListener * | myRadioCommLineListener |
| DtSignalConnectionManager | myConnections |
| ModelSetDataArray | myModelSetDataArray |
Protected Attributes inherited from makVrv::DtElement | |
| DtAgentManagerInterface & | mySceneInterface |
| DtSharedSettingsManager & | mySettingsManager |
| const DtVisualizerCreationSettings::VisualTypeVisualizerCreationMap & | myVisualTypeVisualizerCreationMap |
| DtBaseConnection & | myBaseConnection |
| DtElementID | myElementId |
| DtUnicode | myElementDefinitionName |
| const DtElementDefinition * | myElementDefinition |
| std::string | myDisplayUnitCollectionName |
| std::string | myConnectionObjectID |
| std::string | myConnectionObjectType |
| std::string | myDisplayName |
| std::string | myElementOverlayName |
| std::string | myDriverType |
| DtElementAttributes::ElementSubtypes | myElementSubtype |
| EntityStateListener::DamageState | myDamageState |
| bool | myElementVisible |
| bool | myElementReported |
| bool | myDistribute |
| ModelSetToSceneObjectIdMap | myModelSetToSceneObjectIdMap |
| using makVrv::DtRadioCommLineElement::ModelSetDataArray = std::array<DtRadioCommLineModelSetData, MAX_MODEL_SETS> |
MAX_MODEL_SETS is defined in DtModelSetEnums.h.
| makVrv::DtRadioCommLineElement::DtRadioCommLineElement | ( | DtBaseConnection & | conn, |
| DtStateListener & | listener | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
overridevirtual |
Returns the element type, in this case RadioCommLine.
Implements makVrv::DtElement.
|
static |
|
virtual |
Visualize the element.
Reimplemented from makVrv::DtElement.
|
overridevirtual |
Sets the particular model set up. Does nothing if it already exists. This method does a large portion of element creation. It creates the sceneObject agent, the visualizer set. If the model set is disabled it will delete the pointers and the stuct in myModelSetToEntityObjectMap.
Implements makVrv::DtElement.
|
virtual |
|
virtual |
|
virtual |
Get the current model set array.
| void makVrv::DtRadioCommLineElement::createVisualizersByModelSetAndType | ( | DtModelSetId | modelSet, |
| int | visualType | ||
| ) |
Add the visualizer(s) to the visualSet for the modelSet indicated that have the given visual type.
| void makVrv::DtRadioCommLineElement::destroyVisualizersByModelSetAndType | ( | DtModelSetId | modelSet, |
| int | visualType | ||
| ) |
Remove the visualizer(s) from the visualSet for the modelSet indicated that have the given visual type.
| DtRadioCommLineVisualizerSet* makVrv::DtRadioCommLineElement::findVisualizerSetForModelSet | ( | DtModelSetId | modelSet | ) | const |
Attempt to find the visualizer set for the given model set, can return nullpr.
| void makVrv::DtRadioCommLineElement::findVisualizers | ( | std::vector< VisualizerClass * > & | visualizers | ) |
References myModelSetDataArray.
|
protectedvirtual |
Called when the listener indicates the element has become visible or not Calls DtElement::setVisible( vis ); to report element attribute visibility change.
|
protected |
|
protected |
|
protected |
Referenced by findVisualizers().