VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Friends
makVrv::DtHatHotResponder Class Reference

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
 
DtHatHotResponderoperator= (const DtHatHotResponder &)=delete
 
DtHatHotResponderoperator= (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
 
DtCigiConnectionmyConnection
 
DtSignalConnectionManager myConnections
 

Friends

class DtHatHotResponderCreator
 

Member Typedef Documentation

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.

Member Enumeration Documentation

Enum for the HATHOT Response Type.

Enumerator
Hat 
Hot 
Extended 

Constructor & Destructor Documentation

virtual makVrv::DtHatHotResponder::~DtHatHotResponder ( )
virtual

Destructor.

makVrv::DtHatHotResponder::DtHatHotResponder ( )
delete

Not allowed.

makVrv::DtHatHotResponder::DtHatHotResponder ( const DtHatHotResponder )
delete

Not allowed.

makVrv::DtHatHotResponder::DtHatHotResponder ( DtHatHotResponder &&  )
delete

Not allowed.

makVrv::DtHatHotResponder::DtHatHotResponder ( DtCigiConnection connection)
protected

Constructor.

Member Function Documentation

virtual void makVrv::DtHatHotResponder::processHatHotRequests ( )
virtual

Iterates through periodic requests and sends a response if needed.

virtual void makVrv::DtHatHotResponder::reset ( )
virtual

Reset the internal containers when the CIGI connection is reset via IGMode reset.

DtHatHotResponder& makVrv::DtHatHotResponder::operator= ( const DtHatHotResponder )
delete

Not allowed.

DtHatHotResponder& makVrv::DtHatHotResponder::operator= ( DtHatHotResponder &&  )
delete

Not allowed.

void makVrv::DtHatHotResponder::processHatHotRequest ( CigiBaseHatHotReq &  hatHotReq)
protected

Takes the CIGI packet, extracts the data, and either sends a response or adds a periodic request.

void makVrv::DtHatHotResponder::processHatHotV3 ( CigiHatHotReqV3_2 &  hatHotReq)
protected

V3.3 Processing for version specific packets.

void makVrv::DtHatHotResponder::processHatHotV4 ( CigiHatHotReqV4 &  hatHotReq)
protected

V4 Processing for version specific packets.

virtual void makVrv::DtHatHotResponder::sendHatHotRequest ( DtHatHotRequestData request)
protectedvirtual

Signals to the intersection handler that we want to initiate a HAT/HOT request.

Friends And Related Function Documentation

friend class DtHatHotResponderCreator
friend

Member Data Documentation

vrvSignalsLib::signal<void ( const DtHatHotRequestData& )> makVrv::DtHatHotResponder::signal_hatHotRequested

Signal caught by the intersection handler.

HatHotRequestMap makVrv::DtHatHotResponder::myHatHotRequests
protected
DtCigiConnection& makVrv::DtHatHotResponder::myConnection
protected
DtSignalConnectionManager makVrv::DtHatHotResponder::myConnections
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)