![]() |
VR-Forces 5.0.1 Developer's Guide
|
The DtAggregateElementManager is used to create DtAggregateElements. It maintains a map of all those elements, indexed by their element IDs. It also listens for signals from the DtSharedAggregateSettingsSignaler that specify a specific element or elements (by id). It can look those up, and then pass the information to the element's aggregate state listener. (Much of what is in this class was moved here from DtAggregateElementProcessor)

Public Types | |
| typedef boost::unordered_map < DtElementID, DtAggregateElement * > | AggregateElementMap |
Public Member Functions | |
| DtAggregateElementManager (DtBaseConnection &conn) | |
| virtual | ~DtAggregateElementManager () |
| DtAggregateElementManager ()=delete | |
| DtAggregateElementManager (const DtAggregateElementManager &)=delete | |
| DtAggregateElementManager & | operator= (const DtAggregateElementManager &)=delete |
| virtual DtBaseConnection & | connection () |
| virtual DtAggregateStateListener * | findListener (DtElementID elementId) |
| virtual DtAggregateElement * | findElement (DtElementID elementId) |
| virtual void | addElement (DtAggregateElement *element) |
| virtual void | destroyElement (DtElementID elementID) |
| virtual void | createElement (DtAggregateStateListener &) |
| virtual double | visualizerCreationProcessingTime () const |
| virtual const AggregateElementMap & | aggregateElements () const |
| virtual AggregateElementMap & | aggregateElements () |
Public Attributes | |
| boost::signalslib::signal < void(DtAggregateElement *)> | signal_elementAboutToBeDestroyed |
| boost::signalslib::signal < void(DtAggregateElement *)> | signal_elementCreated |
| typedef boost::unordered_map<DtElementID, DtAggregateElement*> makVrv::DtAggregateElementManager::AggregateElementMap |
Type definition for the element map.
| makVrv::DtAggregateElementManager::DtAggregateElementManager | ( | 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 |
Get the connection object.
|
virtual |
Accessor for full map of elements.
|
virtual |
Accessor for full map of elements.
|
virtual |
Find a listener by it's scene object id.
|
virtual |
Find an element visualizer by its element ID.
|
virtual |
Add an element visualizer by its element ID.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateElementManager.
|
virtual |
Process a to be destroyed entity.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateElementManager.
|
virtual |
Create and initialize a DtEntityElement that will represent an entity.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateElementManager.
|
virtual |
When delayed creation is supported, this tracks the supported processing time (from Shared Entity Display Settings)
|
protectedvirtual |
Called when a hierarchy item is modified, will send element attribute update to that effect.
|
protectedvirtual |
Change the selection state for some sets of entities.
|
protected |
Change the hovered state for an entity.
|
protectedvirtual |
Shows/hides elements (or ghosts) based on display state.
Called when echelon visibility has changed. This is principly the result of collapsing or expanding aggregates
|
protectedvirtual |
Called when aggregate destroyed state has changed, look up listener and set the destroyed state.
|
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 |
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 |
| boost::signalslib::signal<void(DtAggregateElement*)> makVrv::DtAggregateElementManager::signal_elementAboutToBeDestroyed |
| boost::signalslib::signal<void(DtAggregateElement*)> makVrv::DtAggregateElementManager::signal_elementCreated |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |