|
virtual
DtSensorFanWalker::IntersectionInformation | intersectionTest (const DtVector &start, const DtVector &end, bool altitudeMSL, double highResRadius) |
| | Called as part of radar coverage intersection test. More...
|
| |
| virtual void | processSimObjectAboutToBeRemoved (const DtVrfObject *msg) |
| |
| virtual void | getRadarGeometry (DtObjectSensorDescriptor *desc, RadarCoverage &radar) const |
| | Gets the radar information from the radar geometry. More...
|
| |
| virtual void | processRadarCoverage () |
| | Thread that is run to process current radar coverage requests. More...
|
| |
| virtual void | sendInitialRadarCoverage (RadarCoverage &coverage, int coverageType, int responseId=0) const |
| |
| virtual void | sendRadarCoverageResults (const RadarCoverageData &, const DtSensorFanWalker *, int coverageType, int responseId=0) const |
| |
| virtual DtVector | offsetPoint (const DtVector &point, const DtVector &offset) const |
| |
| virtual bool | processRadarCoverage (RadarCoverage &radar, DtSharedVrfObjectReference) |
| |
| virtual void | cancelRadarCoverage (RadarCoverage &radar, int coverageType, bool reset=true) |
| |
| virtual void | startRadarCoverageCalculations (RadarCoverage &radar, int coverageType) |
| |
| virtual bool | radarCoverageNeedsUpdate (RadarCoverage &radar, DtSharedVrfObjectReference) const |
| |
| virtual void | processSettingsConsumer (const DtSettingsObject *settingsObject) |
| |
| virtual PendingRadarCoverageRequest | initializeRadarCoverageCalculation2D (const RadarCoverageRequest &) |
| |
| virtual PendingRadarCoverageRequest | initializeRadarCoverageCalculation3D (const RadarCoverageRequest &) |
| |
| virtual void | removeRadarCoverageCalculation (const DtUUID &uuid, const DtString &radarName, int coverageType) |
| |
| virtual bool | processPendingIntersection (PendingRadarCoverageRequest &pending) |
| |
| virtual void | clearAllCalculations () |
| |
| virtual void | initializeAzimuthAndElevation (const RadarCoverageData &coverage, double &azimuthStart, double &azimuthEnd, double &elevationStart, double &elevationEnd) const |
| |
| virtual bool | coverageCancelled (const DtUUID &, int flag) |
| |
| DtRadarCoverageMonitor::DtRadarCoverageMonitor |
( |
| ) |
|
Default constructor; note that if this form is used and a sim manager is not set, reports will not be sent (but console output can still be generated.)
| virtual DtRadarCoverageMonitor::~DtRadarCoverageMonitor |
( |
| ) |
|
|
virtual |
| DtRadarCoverageMonitor::DtRadarCoverageMonitor |
( |
DtSimManager * |
simManager | ) |
|
copy constructor; report timer is currently not copied.
| virtual bool DtRadarCoverageMonitor::init |
( |
| ) |
|
|
virtual |
Calls register callbacks.
| void DtRadarCoverageMonitor::setSimManager |
( |
DtSimManager * |
simManager | ) |
|
|
inline |
If the default constructor was used, you can supply a sim manager later; however, if you do, you must also call registerInterfaceCallbacks().
| virtual void DtRadarCoverageMonitor::tick |
( |
| ) |
|
|
virtual |
Called to see if anything has been changed such that a radar coverage area that has been generated needs to be scheduled to be regenerated.
| virtual void DtRadarCoverageMonitor::startMonitoring |
( |
const DtUUID & |
, |
|
|
bool |
radarCoverage2D = true, |
|
|
bool |
radarCoverage3D = true, |
|
|
int |
responseId = 0 |
|
) |
| |
|
virtual |
Starts the process of monitoring the given object.
This will look up and cache all sensor information (as well as current object position and orientation) and send messages to the front-ends that the monitoring has begun.
| virtual void DtRadarCoverageMonitor::stopMonitoring |
( |
const DtUUID & |
| ) |
|
|
virtual |
Stops monitoring the particular object and will let front-ends know to remove any radar coverages objects associated with it.
| virtual void DtRadarCoverageMonitor::terrainClosed |
( |
| ) |
|
|
virtual |
Called when the current terrain is closed – clear out pending requests.
Called as part of radar coverage intersection test.
| static void DtRadarCoverageMonitor::simObjectAboutToBeRemoved |
( |
const DtVrfObject * |
msg, |
|
|
void * |
usr |
|
) |
| |
|
staticprotected |
Remove entity from radar coverage list.
| virtual void DtRadarCoverageMonitor::processSimObjectAboutToBeRemoved |
( |
const DtVrfObject * |
msg | ) |
|
|
protectedvirtual |
| static void DtRadarCoverageMonitor::radarCoverageInformationCallback |
( |
DtSimMessage * |
msg, |
|
|
void * |
usr |
|
) |
| |
|
staticprotected |
Callbacks to either stop, start or make a reference to an existing radar coverage operation.
Gets the radar information from the radar geometry.
| virtual void DtRadarCoverageMonitor::processRadarCoverage |
( |
| ) |
|
|
protectedvirtual |
Thread that is run to process current radar coverage requests.
| virtual void DtRadarCoverageMonitor::sendInitialRadarCoverage |
( |
RadarCoverage & |
coverage, |
|
|
int |
coverageType, |
|
|
int |
responseId = 0 |
|
) |
| const |
|
protectedvirtual |
| virtual void DtRadarCoverageMonitor::cancelRadarCoverage |
( |
RadarCoverage & |
radar, |
|
|
int |
coverageType, |
|
|
bool |
reset = true |
|
) |
| |
|
protectedvirtual |
| virtual void DtRadarCoverageMonitor::startRadarCoverageCalculations |
( |
RadarCoverage & |
radar, |
|
|
int |
coverageType |
|
) |
| |
|
protectedvirtual |
| static void DtRadarCoverageMonitor::settingConsumerCallback |
( |
const DtSettingsObject * |
settingsObject, |
|
|
void * |
usr |
|
) |
| |
|
staticprotected |
| virtual void DtRadarCoverageMonitor::processSettingsConsumer |
( |
const DtSettingsObject * |
settingsObject | ) |
|
|
protectedvirtual |
| virtual void DtRadarCoverageMonitor::removeRadarCoverageCalculation |
( |
const DtUUID & |
uuid, |
|
|
const DtString & |
radarName, |
|
|
int |
coverageType |
|
) |
| |
|
protectedvirtual |
| virtual void DtRadarCoverageMonitor::clearAllCalculations |
( |
| ) |
|
|
protectedvirtual |
| virtual bool DtRadarCoverageMonitor::coverageCancelled |
( |
const DtUUID & |
, |
|
|
int |
flag |
|
) |
| |
|
protectedvirtual |
assignment operator; see copy constructor above.
| std::auto_ptr<tbb::tbb_thread> DtRadarCoverageMonitor::myRadarCoverageThread |
|
protected |
Member variables used to interact with the radar coverage thread.
| Condition DtRadarCoverageMonitor::myRadarCoverageCondition |
|
mutableprotected |
| tbb::atomic<bool> DtRadarCoverageMonitor::myShutdownRadarCoverageThreadFlag |
|
protected |
| tbb::atomic<bool> DtRadarCoverageMonitor::myClearPendingIntersections |
|
protected |
| tbb::spin_mutex DtRadarCoverageMonitor::myRadarCoverageAdditionMutex |
|
protected |
| bool DtRadarCoverageMonitor::myAltitudeMSL |
|
protected |
| bool DtRadarCoverageMonitor::myReset2D |
|
protected |
| bool DtRadarCoverageMonitor::myReset3D |
|
protected |
The documentation for this class was generated from the following file: