![]() |
VR-Forces 4.10 Class Documentation
|
The DtVrlinkElement class implements the common behavior of VR-Link simulation based elements added to the scene. More...

Public Member Functions | |
| DtVrlinkElement (DtBaseConnection &conn, DtElementID elementId) | |
| Construct an element with the base connection and the element id. More... | |
| virtual | ~DtVrlinkElement () |
| DtVrlinkElement ()=delete | |
| not allowed - default constructor More... | |
| DtVrlinkElement (const DtVrlinkElement &)=delete | |
| not allowed - copy constructor More... | |
| DtVrlinkElement & | operator= (const DtVrlinkElement &)=delete |
| not allowed - equals operator More... | |
| virtual void | reportDriverType () |
| Report that the element comes from a VR-Link connection. More... | |
Public Member Functions inherited from makVrv::DtElement | |
| DtElement (DtBaseConnection &conn, DtElementID elementId) | |
| Construct an element with the base connection and the element id. More... | |
| virtual | ~DtElement () |
| DTOR. More... | |
| DtElement ()=delete | |
| not allowed - default constructor More... | |
| DtElement (const DtElement &)=delete | |
| not allowed - copy constructor More... | |
| DtElement & | operator= (const DtElement &)=delete |
| not allowed - equals operator More... | |
| virtual void | visualize (const DtSharedModelSetSettings::ModelSetVisualizedMap &sets) |
| Visualize the element. More... | |
| virtual void | setVisible (bool visible) |
| Set the element to be visible. More... | |
| virtual bool | visible () const |
| Get whether the element is visible. More... | |
| DtElementID | elementID () const |
| Get the element ID of the element. More... | |
| virtual const DtUnicode & | definition () const |
| Accessor to get the visual definition. More... | |
| virtual DtElementEntry::ObjectType | elementType () const =0 |
| Virtual function for getting the element type. More... | |
| virtual void | changeElementAttribute (const DtElementAttribute *attr) |
| Request a change to the value of one of this element's attributes. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtElement | |
| virtual void | updateConnectionObjectType (const std::string &type) |
| Called by derived types Calls reportConnectionObjectType. More... | |
| virtual void | setElementSubtype (DtElementAttributes::ElementSubtypes subtype) |
| Set the member variable myElementSubtype. More... | |
| void | slot_updateOverlayNameRaw (const char *text) |
| Called when overlay name for the element has been changed - passed as raw. More... | |
| void | slot_updateConnectionObjectID (const std::string &id) |
| Called when the entity identifier is discovered. More... | |
| void | slot_updateDisplayName (const std::string &text) |
| Called when display name for the element has been changed. More... | |
| void | slot_updateOverlayName (const std::string &pname) |
| Called when overlay name for the element has been changed. More... | |
| void | slot_updateDamageState (DtEntityStateListener::DamageState state) |
| Called when damage state for the element has been changed. More... | |
| virtual void | getDefinitions (std::vector< DtUnicode > &definitions)=0 |
| virtual void | setModelSetEnabled (int modelSet, bool enabled)=0 |
| virtual void | reportElementCreated () |
| Reporting Methods. More... | |
| virtual void | reportDisplayName () |
| Report that an element display name has changed. More... | |
| virtual void | reportConnectionObjectID () |
| Report an element's ID. More... | |
| virtual void | reportConnectionObjectType () |
| Report an element's type. More... | |
| virtual void | reportOverlayNameChanged () |
| Report that an element parent overlay name has changed. More... | |
| virtual void | reportVisibility () |
| Report that an element visibility has changed. More... | |
| virtual void | reportDamageStateChanged () |
| Report that an element damage state has changed. More... | |
| virtual void | reportElementSubtype () |
| Report the element's subtype. More... | |
| virtual void | reportElementDefinitionName () |
| Report the element's element definition. More... | |
Protected Attributes inherited from makVrv::DtElement | |
| DtBaseConnection & | myBaseConnection |
| DtElementID | myElementId |
| DtUnicode | myElementDefinition |
| std::string | myConnectionObjectID |
| std::string | myConnectionObjectType |
| std::string | myDisplayName |
| std::string | myElementOverlayName |
| DtElementAttributes::ElementSubtypes | myElementSubtype |
| DtEntityStateListener::DamageState | myDamageState |
| bool | myElementVisible |
| bool | myElementReported |
The DtVrlinkElement class implements the common behavior of VR-Link simulation based elements added to the scene.
Examples of specific elements include Entities, and Tactical Graphics.
| makVrv::DtVrlinkElement::DtVrlinkElement | ( | DtBaseConnection & | conn, |
| DtElementID | elementId | ||
| ) |
Construct an element with the base connection and the element id.
|
virtual |
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
virtual |
Report that the element comes from a VR-Link connection.
Implements makVrv::DtElement.