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...
Protected Member Functions |
| 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 (DtUniqueID sourceEntityId, const DtVector &sourcePoint, DtUniqueID destEntityId, const DtVector &destPoint, unsigned int updatePeriod, int losId) |
| | Adds a periodic LOS request.
|
| virtual void | sendLosRequest (DtUniqueID sourceId, const DtVector &sourcePoint, DtUniqueID destId, const DtVector &destPoint, int losId) |
| | Notifies the intersection handler that LOS is requested.
|
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 |
Member Function Documentation
| virtual void makVrv::DtLosResponder::generateLosResponse |
( |
int |
losId, |
|
|
DtUniqueID |
entityId, |
|
|
bool |
visible, |
|
|
double |
range, |
|
|
int |
responseCount, |
|
|
int |
hostFrame |
|
) |
| |
|
virtual |
| 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.
Adds a periodic LOS request.
Notifies the intersection handler that LOS is requested.
Member Data Documentation
Signal to the intersection handler of a request.
| std::map<int, LosData> makVrv::DtLosResponder::myLosIdToDataMap |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/include/vrvCigi/DtLosResponder.h