![]() |
VR-Forces Developer's Guide
|
The DtEntityElementManager is used to create DtEntityElements. 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 entity state listener.

Public Types | |
| typedef boost::unordered_map < DtElementID, DtEntityElement * > | EntityElementMap |
Public Member Functions | |
| DtEntityElementManager (DtBaseConnection &conn) | |
| virtual | ~DtEntityElementManager () |
| DtEntityElementManager ()=delete | |
| DtEntityElementManager (const DtEntityElementManager &)=delete | |
| DtEntityElementManager & | operator= (const DtEntityElementManager &)=delete |
| virtual DtEntityElement * | findElement (DtElementID elementId) |
| virtual void | addElement (DtEntityElement *element) |
| virtual void | destroyElement (DtElementID elementID) |
| virtual DtEntityElement * | createElement (DtEntityStateListener &) |
| virtual double | visualizerCreationProcessingTime () const |
| virtual DtBaseConnection & | connection () |
| virtual const EntityElementMap & | entityElements () const |
| virtual EntityElementMap & | entityElements () |
Static Public Member Functions | |
| static DtEntityElementManager * | findInstance (DtBaseConnection &conn) |
Public Attributes | |
| boost::signalslib::signal < void(DtEntityElement *)> | signal_elementAboutToBeDestroyed |
| boost::signalslib::signal < void(DtEntityElement *)> | signal_elementCreated |
| typedef boost::unordered_map<DtElementID, DtEntityElement*> makVrv::DtEntityElementManager::EntityElementMap |
Accessor for full map of element visualizers.
| makVrv::DtEntityElementManager::DtEntityElementManager | ( | 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
|
static |
Find an instance registered with a connection.
|
virtual |
Find an element visualizer by its element ID.
|
virtual |
Add an element visualizer by its element ID.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityElementManager.
|
virtual |
Process a to be destroyed entity.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityElementManager.
|
virtual |
Create and initialize a DtEntityElement that will represent an entity.
|
virtual |
When delayed creation is supported, this tracks the supported processing time (from Shared Entity Display Settings)
|
virtual |
Get the connection object.
|
virtual |
|
virtual |
|
protectedvirtual |
Set whether to make the occupants of a specific entity visible (i.e. Offset DiGuy visualizers on an entity with the 'attachedvisualelement' set to true) DtSharedEntityDisplaysSettings::setOccupantsVisible can be used to set the visibility of all occupants with 'attachedvisualelement' flag set to true)
|
protectedvirtual |
handle the entity track history color override signal from the shared signalar just passes the color value down to any track history visualizers attached to this entity
|
protectedvirtual |
handle the entity symbol decoration quadrant switch signal from the shared signalar determines which quadrant to switch to based on the current symbol decoration quadrant for the entity and passes the new quadrant down to any symbol decoration visualizers attached to this entity
|
protectedvirtual |
Toggle the label pinned state for some set of entities.
|
protectedvirtual |
Change the selection state for some sets of entities.
|
protected |
Change the hovered state for an entity.
|
protectedvirtual |
Amount of time to spend creating visualizers for queued objects. -1 means create all queued objects.
|
protectedvirtual |
removeFromHierachy will remove an element from the DtAggregateEchelonManager tracking this entities relationship to any aggregate element
|
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 |
Process the element attribute change request.
|
protectedvirtual |
Handle a signal from the the Visualizer Creation Settings that a visualizers of the given type and model set should be created.
|
protectedvirtual |
Handle a signal from the the Visualizer Creation Settings that a visualizers of the given type and model set should NOT be created.
|
protectedvirtual |
Called when echelon visibility has changed. This is principly the result of collapsing or expanding aggregates.
|
protectedvirtual |
Slot connected to the signal from the DtAggregateEchelonManager when the hierarchy changes in some way. Used to update the parentId of all the child elements.
| boost::signalslib::signal<void(DtEntityElement*)> makVrv::DtEntityElementManager::signal_elementAboutToBeDestroyed |
| boost::signalslib::signal<void(DtEntityElement*)> makVrv::DtEntityElementManager::signal_elementCreated |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |