![]() |
VR-Forces 4.3 Class Documentation
|
The class that is the interface between the GUI and the back-end. More...

Classes | |
| struct | DtRadarModeDataRecord |
| Data structure used by this class to store entity data. More... | |
Public Member Functions | |
| virtual | ~DtRadarModeRequestor () |
| Destructor. | |
| virtual std::string | currentModeFor (std::string entityName, int emitterId) const |
| Gets the cached current mode for an entity given an emitter id for that entity. | |
| virtual std::vector< int > | emitterIdsFor (std::string entityName) const |
| Gets the cached emitter ids for all emitters on an entity. | |
| virtual std::vector< std::string > | radarModesFor (std::string entityName, int emitterId) const |
| Gets all the cached radar modes for an entity given an emitter id for that entity. | |
| virtual bool | hasRadarModesFor (std::string entityName) const |
| Checks to see if there are radar modes in the cache for an entity. | |
| virtual int | groupIdsAndModes (std::vector< std::string > entities, std::vector< int > &returnIds, std::vector< std::string > &returnModes) |
| Given a list of entities, gets the intersection of emitter ids and those id's modes and returns them in single lists. | |
| virtual int | groupModes (std::vector< std::string > entities, int emitterId, std::vector< std::string > &returnModes) |
| Given a list of entities, gets the intersection of the specified id's modes and returns them in a single list. | |
| virtual void | updateRadarModes (std::string entityName) |
| Request an update to the cached data from the sim for a specific entity. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtRadarModeRequestor & | instance (makVrv::DtDe &de) |
| Returns instance of the DtRadarModeRequestor. | |
| static void | registerInstance (makVrv::DtDe &de, DtRadarModeRequestor *object) |
| Register a subclass version of this class. | |
Public Attributes | |
| boost::signal< void(std::string, int)> | signal_radarModesReceived |
| Signal sent when new data has arrived for a particular entity and its emitter id. | |
Protected Member Functions | |
| DtRadarModeRequestor (makVrv::DtDe &) | |
| Class constructor is protected, use instance function instead. | |
| virtual void | slot_onSimDataRemoved (makVrv::DtSimObjectEntry &) |
| Handles the removal of the cache data when an entity is removed. | |
| virtual void | processRadarModes (const DtVrfObjectMessage *msg) |
| Handles radar mode updates either requested by updateRadarModes() or from general state updates occuring from the sim. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| std::map< std::string, DtRadarModeDataRecord > | myEntitiesTable |
The class that is the interface between the GUI and the back-end.
|
virtual |
Destructor.
|
protected |
Class constructor is protected, use instance function instead.
|
static |
Returns instance of the DtRadarModeRequestor.
|
static |
Register a subclass version of this class.
the instance() function will return the newly registered version once this has been called.
|
virtual |
Gets the cached current mode for an entity given an emitter id for that entity.
|
virtual |
Gets the cached emitter ids for all emitters on an entity.
|
virtual |
Gets all the cached radar modes for an entity given an emitter id for that entity.
|
virtual |
Checks to see if there are radar modes in the cache for an entity.
|
virtual |
Given a list of entities, gets the intersection of emitter ids and those id's modes and returns them in single lists.
Intersection meaning commonality between the entities in cache.
|
virtual |
Given a list of entities, gets the intersection of the specified id's modes and returns them in a single list.
Intersection meaning commonality between the entities in cache.
|
virtual |
Request an update to the cached data from the sim for a specific entity.
|
protectedvirtual |
Handles the removal of the cache data when an entity is removed.
|
protectedvirtual |
Handles radar mode updates either requested by updateRadarModes() or from general state updates occuring from the sim.
| boost::signal<void (std::string, int)> makVrf::DtRadarModeRequestor::signal_radarModesReceived |
Signal sent when new data has arrived for a particular entity and its emitter id.
|
protected |
|
protected |