![]() |
VR-Forces Developer's Guide
|
Requests radar 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.

Public Member Functions | |
| DtRemoteControlRadarModeRequestor (DtScenarioManager &=DtScenarioManager::NullManager()) | |
| virtual | ~DtRemoteControlRadarModeRequestor () override |
| virtual void | requestModes (const DtUUID &entity) override |
Public Member Functions inherited from DtRemoteControlEmitterModesRequestor | |
| DtRemoteControlEmitterModesRequestor (DtScenarioManager &=DtScenarioManager::NullManager()) | |
| virtual | ~DtRemoteControlEmitterModesRequestor () |
| virtual std::string | currentModeFor (const DtUUID &entity, int emitterId) const |
| virtual std::string | emitterNameFor (const DtUUID &entity, int emitterId) const |
| virtual std::vector< int > | emitterIdsFor (const DtUUID &entity) const |
| virtual std::vector< std::string > | modesFor (const DtUUID &entity, int emitterId) const |
| virtual bool | hasModesFor (const DtUUID &entity) const |
| virtual bool | hasEmitterFor (const DtUUID &entity, int id) const |
| virtual EmitterModes | groupIdsAndModes (std::vector< DtUUID > entities) |
| virtual int | groupModes (std::vector< DtUUID > entities, int emitterId, std::vector< std::string > &returnModes) |
| virtual void | removeModeFor (const DtUUID &) |
Public Member Functions inherited from DtVrfSingleton | |
| DtVrfSingleton () | |
| virtual | ~DtVrfSingleton () |
| virtual std::string | className () const =0 |
| virtual void | cleanup () |
Static Public Member Functions | |
| static DtRemoteControlRadarModeRequestor & | Instance (DtScenarioManager &) |
Protected Member Functions | |
| virtual void | processRadarModes (const DtVrfObjectMessage *msg) |
Protected Member Functions inherited from DtRemoteControlEmitterModesRequestor | |
| virtual void | sendMessage (const DtAdminMessage &) |
| virtual void | processModes (const DtUUID &, const DtRadarModesAdmin &) |
Static Protected Member Functions | |
| static void | RadarModesCallback (const DtVrfObjectMessage *msg, void *) |
Additional Inherited Members | |
Public Types inherited from DtRemoteControlEmitterModesRequestor | |
| typedef std::map< int, EmitterInfo > | EmitterModes |
Public Attributes inherited from DtRemoteControlEmitterModesRequestor | |
| boost::signals2::signal< void(DtUUID, int)> | signal_modesReceived |
Protected Attributes inherited from DtRemoteControlEmitterModesRequestor | |
| DtScenarioManager & | myScenarioManager |
| std::map< DtUUID, DtEmitterModeDataRecord > | myEntitiesTable |
| DtRemoteControlRadarModeRequestor::DtRemoteControlRadarModeRequestor | ( | DtScenarioManager & | = DtScenarioManager::NullManager() | ) |
CTOR.
|
overridevirtual |
Destructor.
|
static |
Returns instance of the DtRadarModeRequestor.
|
overridevirtual |
Request an update to the cached data from the sim for a specific entity.
Implements DtRemoteControlEmitterModesRequestor.
|
staticprotected |
|
protectedvirtual |
Handles radar mode updates.