![]() |
VR-Forces 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 } |
| using | DtSensorRequestMap = std::map< int, DtSensorRequestData > |
Public Member Functions | |
| virtual | ~DtSensorResponder () |
| virtual void | processSensorRequests () |
| virtual void | generateSensorResponse (DtSensorResponseData &response) |
| virtual void | reset () |
| DtSensorResponder ()=delete | |
| DtSensorResponder (const DtSensorResponder &)=delete | |
| DtSensorResponder (DtSensorResponder &&)=delete | |
| DtSensorResponder & | operator= (const DtSensorResponder &)=delete |
| DtSensorResponder & | operator= (DtSensorResponder &&)=delete |
Public Attributes | |
| vrvSignalsLib::signal< void(DtSensorRequestData *)> | signal_sensorControllerRequest |
| vrvSignalsLib::signal< void(DtSensorRequestData *)> | signal_sensorViewControllerRequest |
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 |
| DtSignalConnectionManager | myConnections |
Friends | |
| class | DtSensorResponderCreator |
| using makVrv::DtSensorResponder::DtSensorRequestMap = std::map<int, DtSensorRequestData> |
|
virtual |
Destructor.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
protected |
Constructor.
|
virtual |
Ticked by DtCigiConnection() Raises signals for the DtCigiViewCOntroller() & DtCigiSensorController to catch.
|
virtual |
Passes the response to the DtCigiConnection() and then onto the DtCigiNetworkIO()
|
virtual |
Reset the internal containers when the CIGI connection is reset via IGMode reset.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
protected |
Takes in CIGI base packet and passes to version processing.
|
protected |
V3 Processes Sensor Control Packet.
|
protected |
V4 Processes Sensor Control Packet.
|
friend |
| vrvSignalsLib::signal<void( DtSensorRequestData* )> makVrv::DtSensorResponder::signal_sensorControllerRequest |
Signal to the Sensor Controller for processing of Sensor data, processing tracking signal_sensorControlReceived are SignalProcessor -> Responder signal_sensorControllerRequest is Responder -> SensorController.
| vrvSignalsLib::signal<void( DtSensorRequestData* )> makVrv::DtSensorResponder::signal_sensorViewControllerRequest |
Signal to the View Controller for processing of Sensor data, changes sensor views signal_sensorControlReceived are SignalProcessor -> Responder signal_sensorViewControllerRequest is Responder -> ViewController.
|
protected |
|
protected |
|
protected |