![]() |
VR-Forces Developer's Guide
|
A DtHatHotResponder receives HAT/HOT requests from CIGI and either initiates an immediate request or adds a periodic request. Contains the queue of responses used by the DtCigiConnection, and emits the signal caught by the DtCigiIntersectionHandler.
Classes | |
| struct | DtHatHotRequestData |
| struct | DtHatHotResponseData |
Public Types | |
| enum | HatHotType { Hat = 0, Hot = 1, Extended = 2 } |
Public Member Functions | |
| virtual | ~DtHatHotResponder () |
| virtual void | processHatHotRequests () |
| virtual void | reset () |
| DtHatHotResponder ()=delete | |
| DtHatHotResponder (const DtHatHotResponder &)=delete | |
| DtHatHotResponder (DtHatHotResponder &&)=delete | |
| DtHatHotResponder & | operator= (const DtHatHotResponder &)=delete |
| DtHatHotResponder & | operator= (DtHatHotResponder &&)=delete |
Public Attributes | |
| vrvSignalsLib::signal< void(const DtHatHotRequestData &)> | signal_hatHotRequested |
Protected Types | |
| using | HatHotRequestMap = std::map< int, DtHatHotRequestData > |
Protected Member Functions | |
| DtHatHotResponder (DtCigiConnection &connection) | |
| void | processHatHotRequest (CigiBaseHatHotReq &hatHotReq) |
| void | processHatHotV3 (CigiHatHotReqV3_2 &hatHotReq) |
| void | processHatHotV4 (CigiHatHotReqV4 &hatHotReq) |
| virtual void | sendHatHotRequest (DtHatHotRequestData &request) |
Protected Attributes | |
| HatHotRequestMap | myHatHotRequests |
| DtCigiConnection & | myConnection |
| DtSignalConnectionManager | myConnections |
Friends | |
| class | DtHatHotResponderCreator |
|
protected |
Int key here is mapped to the HATHOT ID from packet. Note this map is only used if the requests are continuous, requests are not stored for one shot requests.
|
virtual |
Destructor.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
protected |
Constructor.
|
virtual |
Iterates through periodic requests and sends a response if needed.
|
virtual |
Reset the internal containers when the CIGI connection is reset via IGMode reset.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
protected |
Takes the CIGI packet, extracts the data, and either sends a response or adds a periodic request.
|
protected |
V3.3 Processing for version specific packets.
|
protected |
V4 Processing for version specific packets.
|
protectedvirtual |
Signals to the intersection handler that we want to initiate a HAT/HOT request.
|
friend |
| vrvSignalsLib::signal<void ( const DtHatHotRequestData& )> makVrv::DtHatHotResponder::signal_hatHotRequested |
Signal caught by the intersection handler.
|
protected |
|
protected |
|
protected |