VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends
makVrv::DtLosResponder Class Reference

A DtLosResponder processes CIGI LOS Segment Request and LOS Vector Request messages, and either immediately signals the DtCigiIntersectionHandler of a request or adds a periodic request to its queue. More...

Public Member Functions

virtual ~DtLosResponder ()
 Destructor. More...
 
virtual void generateLosBasicResponse (DtCigiLosBasicResponse *losResponse)
 Makes a call to the DtCigiConnection to send out a LOS basic response. More...
 
virtual void generateLosExtendedResponse (DtCigiLosExtendedResponse *losResponse)
 Makes a call to the DtCigiConnection to send out a LOS extended response. More...
 
virtual void processLosRequests ()
 Iterates through the periodic LOS requests and sends a request to the intersection handler if necessary. More...
 

Public Attributes

boost::signalslib::signal
< void(DtCigiLosRequest
*, bool takeOwnership)> 
signal_losCheckRequested
 Signal to the intersection handler of a request. More...
 

Protected Member Functions

 DtLosResponder (DtCigiConnection &connection)
 Constructor. More...
 
virtual void processLosSegmentRequest (CigiBaseLosSegReq &losSegReq)
 Process a CIGI Line of Sight Segment Request packet. More...
 
virtual void processLosVectorRequest (CigiBaseLosVectReq &losVectReq)
 Process a CIGI Line of Sight Vector Request packet. More...
 
virtual void processLosSegReqV3 (CigiLosSegReqV3_2 &losSegReq)
 V3.3. More...
 
virtual void processLosSegReqV4 (CigiLosSegReqV4 &losSegReq)
 V4. More...
 
virtual void processLosVectReqV3 (CigiLosVectReqV3_2 &losVectReq)
 V3.3. More...
 
virtual void processLosVectReqV4 (CigiLosVectReqV4 &losVectReq)
 V4. More...
 
virtual void setDatabaseCoordinateFromGeodetic (const DtGeodeticCoord &from, DtVector &to)
 Utility function sets a database coordinate from a geodetic coordinate. More...
 
virtual void addPeriodicLosRequest (DtCigiLosRequest *request)
 Adds a periodic LOS request. More...
 
virtual void sendLosRequest (DtCigiLosRequest *request, bool takeOwnership)
 Notifies the intersection handler that LOS is requested. More...
 

Protected Attributes

DtCigiConnectionmyConnection
 
std::map< int, DtCigiLosRequest * > myLosIdToRequestMap
 

Friends

class DtLosResponderCreator
 

Detailed Description

A DtLosResponder processes CIGI LOS Segment Request and LOS Vector Request messages, and either immediately signals the DtCigiIntersectionHandler of a request or adds a periodic request to its queue.

Constructor & Destructor Documentation

virtual makVrv::DtLosResponder::~DtLosResponder ( )
virtual

Destructor.

makVrv::DtLosResponder::DtLosResponder ( DtCigiConnection connection)
protected

Constructor.

Member Function Documentation

virtual void makVrv::DtLosResponder::generateLosBasicResponse ( DtCigiLosBasicResponse losResponse)
virtual

Makes a call to the DtCigiConnection to send out a LOS basic response.

virtual void makVrv::DtLosResponder::generateLosExtendedResponse ( DtCigiLosExtendedResponse losResponse)
virtual

Makes a call to the DtCigiConnection to send out a LOS extended response.

virtual void makVrv::DtLosResponder::processLosRequests ( )
virtual

Iterates through the periodic LOS requests and sends a request to the intersection handler if necessary.

virtual void makVrv::DtLosResponder::processLosSegmentRequest ( CigiBaseLosSegReq &  losSegReq)
protectedvirtual

Process a CIGI Line of Sight Segment Request packet.

Calls version specific method

virtual void makVrv::DtLosResponder::processLosVectorRequest ( CigiBaseLosVectReq &  losVectReq)
protectedvirtual

Process a CIGI Line of Sight Vector Request packet.

virtual void makVrv::DtLosResponder::processLosSegReqV3 ( CigiLosSegReqV3_2 &  losSegReq)
protectedvirtual

V3.3.

virtual void makVrv::DtLosResponder::processLosSegReqV4 ( CigiLosSegReqV4 &  losSegReq)
protectedvirtual

V4.

virtual void makVrv::DtLosResponder::processLosVectReqV3 ( CigiLosVectReqV3_2 &  losVectReq)
protectedvirtual

V3.3.

virtual void makVrv::DtLosResponder::processLosVectReqV4 ( CigiLosVectReqV4 &  losVectReq)
protectedvirtual

V4.

virtual void makVrv::DtLosResponder::setDatabaseCoordinateFromGeodetic ( const DtGeodeticCoord &  from,
DtVector to 
)
protectedvirtual

Utility function sets a database coordinate from a geodetic coordinate.

virtual void makVrv::DtLosResponder::addPeriodicLosRequest ( DtCigiLosRequest request)
protectedvirtual

Adds a periodic LOS request.

virtual void makVrv::DtLosResponder::sendLosRequest ( DtCigiLosRequest request,
bool  takeOwnership 
)
protectedvirtual

Notifies the intersection handler that LOS is requested.

Friends And Related Function Documentation

friend class DtLosResponderCreator
friend

Member Data Documentation

boost::signalslib::signal<void (DtCigiLosRequest*, bool takeOwnership)> makVrv::DtLosResponder::signal_losCheckRequested

Signal to the intersection handler of a request.

DtCigiConnection& makVrv::DtLosResponder::myConnection
protected
std::map<int, DtCigiLosRequest*> makVrv::DtLosResponder::myLosIdToRequestMap
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)