VR-Forces 4.7 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.
virtual void generateLosBasicResponse (DtCigiLosBasicResponse *losResponse)
 Makes a call to the DtCigiConnection to send out a LOS basic response.
virtual void generateLosExtendedResponse (DtCigiLosExtendedResponse *losResponse)
 Makes a call to the DtCigiConnection to send out a LOS extended response.
virtual void processLosRequests ()
 Iterates through the periodic LOS requests and sends a request to the intersection handler if necessary.

Public Attributes

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

Protected Member Functions

 DtLosResponder (DtCigiConnection &connection)
 Constructor.
virtual void processLosSegmentRequest (const CigiLosSegReqV3_2 &losSegReq)
 Process a CIGI Line of Sight Segment Request packet.
virtual void processLosVectorRequest (CigiLosVectReqV3_2 &losVecReq)
 Process a CIGI Line of Sight Vector Request packet.
virtual void setDatabaseCoordinateFromGeodetic (const DtGeodeticCoord &from, DtVector &to)
 Utility function sets a database coordinate from a geodetic coordinate.
virtual void addPeriodicLosRequest (DtCigiLosRequest *request)
 Adds a periodic LOS request.
virtual void sendLosRequest (DtCigiLosRequest *request, bool takeOwnership)
 Notifies the intersection handler that LOS is requested.

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 ( const CigiLosSegReqV3_2 &  losSegReq)
protectedvirtual

Process a CIGI Line of Sight Segment Request packet.

virtual void makVrv::DtLosResponder::processLosVectorRequest ( CigiLosVectReqV3_2 &  losVecReq)
protectedvirtual

Process a CIGI Line of Sight Vector Request packet.

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::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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)