![]() |
VR-Forces 5.0.2 Developer's Guide
|
The DtTacticalGraphicElementManager is used to create DtTacticalGraphicElements. It maintains a map of all those elements, indexed by their element IDs. It also listens for signals from the DtSharedSettingsSignaler that specify a specific element or elements (by id). It can look those up, and then pass the information to the element's TacticalGraphic state listener.

Public Types | |
| typedef boost::unordered_map < DtElementID, DtTacticalGraphicElement * > | TacticalGraphicElementMap |
Public Member Functions | |
| DtTacticalGraphicElementManager (DtBaseConnection &conn) | |
| virtual | ~DtTacticalGraphicElementManager () |
| DtTacticalGraphicElementManager ()=delete | |
| DtTacticalGraphicElementManager (const DtTacticalGraphicElementManager &)=delete | |
| DtTacticalGraphicElementManager & | operator= (const DtTacticalGraphicElementManager &)=delete |
| virtual DtTacticalGraphicElement * | findElement (DtElementID elementId) |
| virtual void | addElement (DtTacticalGraphicElement *element) |
| virtual void | destroyElement (DtElementID elementID) |
| virtual void | createElement (DtTacticalGraphicStateListener &listener, DtElementEntry::ElementType type, std::vector< DtUnicode > definitions) |
| virtual double | visualizerCreationProcessingTime () const |
| virtual DtBaseConnection & | connection () |
| const TacticalGraphicElementMap & | tacticalGraphicElements () const |
| TacticalGraphicElementMap & | tacticalGraphicElements () |
Public Attributes | |
| boost::signalslib::signal < void(DtTacticalGraphicElement *)> | signal_elementCreated |
| boost::signalslib::signal < void(DtTacticalGraphicElement *)> | signal_elementAboutToBeDestroyed |
Protected Attributes | |
| DtBaseConnection & | myConnection |
| DtSignalConnectionManager | myConnections |
| TacticalGraphicElementMap | myTacticalGraphicElements |
| double | myVisualizerCreationProcessingTime |
| typedef boost::unordered_map<DtElementID, DtTacticalGraphicElement*> makVrv::DtTacticalGraphicElementManager::TacticalGraphicElementMap |
Accessor for full map of element visualizers.
| makVrv::DtTacticalGraphicElementManager::DtTacticalGraphicElementManager | ( | DtBaseConnection & | conn | ) |
Constructor takes the connection the processor will use.
|
virtual |
Destructor.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
virtual |
Find an element visualizer by its element ID.
|
virtual |
Add an element visualizer by its element ID.
|
virtual |
Process a to be destroyed TacticalGraphic.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkTacticalGraphicElementManager.
|
virtual |
Create and initialize a DtTacticalGraphicElement that will represent a TacticalGraphic. We pass type in as a network connection will map the network environment type to DtElementEntry::ElementType.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkTacticalGraphicElementManager.
|
virtual |
When delayed creation is supported, this tracks the supported processing time (from Shared TacticalGraphic Display Settings)
|
protectedvirtual |
Toggle the label pinned state for some set of TGs.
|
protectedvirtual |
SelectionChange the selection state for some sets of entities.
|
protected |
Change the selection state of a vertex (shapes only)
|
protected |
Change the selection state of a vertex (shapes only)
|
protected |
Change the hovered state for an TacticalGraphic.
|
protectedvirtual |
Amount of time to spend creating visualizers for queued objects. -1 means create all queued objects.
|
protectedvirtual |
Called when a model set visualization state changes. Either will create or destroy a visual model set.
|
protectedvirtual |
process a reported element attribute change
|
protectedvirtual |
|
protectedvirtual |
Process the element attribute change request.
|
protectedvirtual |
Handle a signal from the the Visualizer Creation Settings manager that a visualizers of the given type and model set should be created.
|
protectedvirtual |
Handle a signal from the the Visualizer Creation Settings manager that a visualizers of the given type and model set should NOT be created.
|
virtual |
Get the connection object.
|
inline |
|
inline |
| boost::signalslib::signal<void( DtTacticalGraphicElement* )> makVrv::DtTacticalGraphicElementManager::signal_elementCreated |
| boost::signalslib::signal<void( DtTacticalGraphicElement* )> makVrv::DtTacticalGraphicElementManager::signal_elementAboutToBeDestroyed |
|
protected |
|
protected |
|
protected |
|
protected |