![]() |
VR-Forces 5.0.1 Developer's Guide
|
This class catches Sesnor Control signals from the Cigi Signal handler, and processes them into V3 and V4 specific methods. This class does not have access to the render engine, in keeping with the style of other responders. Both the DtCigiViewController() & DtCigiSensorController() catch the signals from this class. The DtCigiViewController() for sensor visualisation, and the DtCigiSensorController() for sensor tracking.
Classes | |
| struct | DtSensorRequestData |
| struct | DtSensorResponseData |
Public Types | |
| enum | DtTrackMode { TrackOff = 0, ForceCorrelate = 1, Scene = 2, Target = 3, Ship = 4, LOS = 5, TMDefB = 6, TMDefC = 7 } |
| enum | DtSensorStatus { SearchingForTarget = 0, TrackingTarget = 1, ImpendingBreaklock = 2, BreakLock = 3 } |
| typedef std::map< int, DtSensorRequestData > | DtSensorRequestMap |
Public Member Functions | |
| virtual | ~DtSensorResponder () |
| virtual void | processSensorRequests () |
| virtual void | generateSensorResponse (DtSensorResponseData &response) |
Public Attributes | |
| boost::signalslib::signal < void(DtSensorRequestData *)> | signal_sensorControlRequest |
Protected Member Functions | |
| DtSensorResponder (DtCigiConnection &connection) | |
| void | slot_processSensorControlRequest (CigiBaseSensorCtrl &packet) |
| void | processSensorControlV3 (CigiSensorCtrlV3 &packet) |
| void | processSensorControlV4 (CigiSensorCtrlV4 &packet) |
Protected Attributes | |
| DtCigiConnection & | myCigiConnection |
| DtSensorRequestMap | mySensorRequests |
Private Member Functions | |
| DtSensorResponder & | operator= (const DtSensorResponder &orig) |
| DtSensorResponder (const DtSensorResponder &orig) | |
Friends | |
| class | DtSensorResponderCreator |
| typedef std::map<int, DtSensorRequestData> makVrv::DtSensorResponder::DtSensorRequestMap |
|
virtual |
Destructor.
|
protected |
Constructor.
|
private |
(Unimplemented) COPY CTOR
|
virtual |
Ticked by DtCigiConnection() Raises signals for the DtCigiViewCOntroller() & DtCigiSensorController to catch.
|
virtual |
Passes the response to the DtCigiConnection() and then onto the DtCigiNetworkIO()
|
protected |
Takes in CIGI base packet and passes to version processing.
|
protected |
V3 Processes Sensor Control Packet.
|
protected |
V4 Processes Sensor Control Packet.
|
private |
(Unimplemented) Assignment Operator
|
friend |
| boost::signalslib::signal<void( DtSensorRequestData* )> makVrv::DtSensorResponder::signal_sensorControlRequest |
Signal to the View Controller / Sensor Controller for processing of Sensor data signal_sensorControlReceived are SignalProcessor -> Responder signal_sensorControlRequest are Responder -> ViewController & SensorController.
|
protected |
|
protected |