VR-Forces 4.8 Class Documentation
 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. More...

Classes

struct  DtHatHotRequestData
 Struct storage for the HatHotRequest Data Passed to the DtCigiIntersectionHandler for processing. More...
 
struct  DtHatHotResponseData
 Struct for HatHotResponseData. More...
 

Public Types

enum  HatHotType { Hat = 0, Hot = 1, Extended = 2 }
 Enum for the HATHOT Response Type. More...
 

Public Member Functions

virtual ~DtHatHotResponder ()
 Destructor. More...
 
virtual void processHatHotRequests ()
 Iterates through periodic requests and sends a response if needed. More...
 

Public Attributes

boost::signal< void(const
DtHatHotRequestData &)> 
signal_hatHotRequested
 Signal caught by the intersection handler. More...
 

Protected Types

typedef std::map< int,
DtHatHotRequestData
HatHotRequestMap
 Int key here is mapped to the HATHOT ID from packet. More...
 

Protected Member Functions

 DtHatHotResponder (DtCigiConnection &connection)
 Constructor. More...
 
void processHatHotRequest (CigiBaseHatHotReq &hatHotReq)
 Takes the CIGI packet, extracts the data, and either sends a response or adds a periodic request. More...
 
void processHatHotV3 (CigiHatHotReqV3_2 &hatHotReq)
 V3.3 Processing for version specific packets. More...
 
void processHatHotV4 (CigiHatHotReqV4 &hatHotReq)
 V4 Processing for version specific packets. More...
 
virtual void sendHatHotRequest (DtHatHotRequestData &request)
 Signals to the intersection handler that we want to initiate a HAT/HOT request. More...
 

Protected Attributes

HatHotRequestMap myHatHotRequests
 
DtCigiConnectionmyConnection
 

Friends

class DtHatHotResponderCreator
 

Detailed Description

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.

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 ( DtCigiConnection connection)
protected

Constructor.

Member Function Documentation

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

Iterates through periodic requests and sends a response if needed.

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

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

Signal caught by the intersection handler.

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

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)