![]() |
VR-Forces 4.6 Class Documentation
|
Requests jamming modes from back-end for given entities and caches the data. More...

Public Member Functions | |
| DtJammingModeRequestor (makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtJammingModeRequestor () |
| Destructor. | |
| virtual void | requestModes (const DtUUID &entity) |
| Request an update to the cached data from the sim for a specific entity. | |
Public Member Functions inherited from makVrf::DtEmitterModesRequestor | |
| DtEmitterModesRequestor (makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtEmitterModesRequestor () |
| Destructor. | |
| virtual std::string | currentModeFor (const DtUUID &entity, int emitterId) const |
| Gets the cached current mode for an entity given an emitter id for that entity. | |
| virtual std::string | emitterNameFor (const DtUUID &entity, int emitterId) const |
| Gets the cached emitter name for an entity given an emitter id for that entity. | |
| virtual std::vector< int > | emitterIdsFor (const DtUUID &entity) const |
| Gets the cached emitter ids for all emitters on an entity. | |
| virtual std::vector< std::string > | modesFor (const DtUUID &entity, int emitterId) const |
| Gets all the cached modes for an entity given an emitter id for that entity. | |
| virtual bool | hasModesFor (const DtUUID &entity) const |
| Checks to see if there are modes in the cache for an entity. | |
| virtual bool | hasEmitterFor (const DtUUID &entity, int id) const |
| Checks to see if the emitter id exists for this entity. | |
| virtual int | groupIdsAndModes (std::vector< DtUUID > 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< DtUUID > 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. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtJammingModeRequestor & | instance (makVrv::DtDe &de) |
| Returns instance of the DtJammingModeRequestor. | |
| static void | registerInstance (makVrv::DtDe &de, DtJammingModeRequestor *object) |
| Register a subclass version of this class. | |
Protected Member Functions | |
| virtual void | processJammingModes (const DtVrfObjectMessage *msg) |
| Handles jamming mode updates either requested by updateJammingModes() or from general state updates occuring from the sim. | |
Protected Member Functions inherited from makVrf::DtEmitterModesRequestor | |
| virtual void | slot_onSimDataRemoved (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *state) |
| Handles the removal of the cache data when an entity is removed. | |
| virtual void | processModes (const DtUUID &, const DtRadarModesAdmin &) |
| Processes the general contents of a radar mode admin messages, used by other mode requestors. | |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtEmitterModesRequestor | |
| boost::signal< void(DtUUID, int)> | signal_modesReceived |
| Signal sent when new data has arrived for a particular entity and its emitter id. | |
Protected Attributes inherited from makVrf::DtEmitterModesRequestor | |
| makVrv::DtDe & | myDe |
| std::map< DtUUID, DtEmitterModeDataRecord > | myEntitiesTable |
| makVrv::DtSignalConnectionManager | myConnections |
Requests jamming modes from back-end for given entities and caches the data.
The data should be updated by the sim when updates are either requested or data is updated due to other circumstances such as an entity deletion or state change.
| makVrf::DtJammingModeRequestor::DtJammingModeRequestor | ( | makVrv::DtDe & | ) |
CTOR.
|
virtual |
Destructor.
|
static |
Returns instance of the DtJammingModeRequestor.
|
static |
Register a subclass version of this class.
the instance() function will return the newly registered version once this has been called.
|
virtual |
Request an update to the cached data from the sim for a specific entity.
Implements makVrf::DtEmitterModesRequestor.
|
protectedvirtual |
Handles jamming mode updates either requested by updateJammingModes() or from general state updates occuring from the sim.