![]() |
VR-Forces Developer's Guide
|
DtVrfEmitterSystem manages a VR-Link emitter system publisher, and sets all the values associated with an emitter system and its beams. This class encapsulates the concept of turning on and off the emitter system. When an emitter system is off, all the beam data is preserved, but is removed from the publisher. When turned back on, the beam data is restored to the publisher and is published once again.
Protected Types | |
| typedef std::map< DtUUID, boost::signals2::connection > | ObjectRemovedConnections |
Protected Member Functions | |
| virtual bool | initEmitterSystem () |
| virtual void | addTrackJamTarget (const DtUUID &globalId, const bool &isJamTarget) |
| virtual void | removeTrackJamTarget (const DtUUID &globalId, const bool &isJamTarget) |
| virtual void | clearTrackJamTargets (const bool &clearTracking, const bool &clearJamming) |
| virtual void | slot_simObjectRemoved (const DtSimObject *) |
| virtual int | nextSystemNumber () const |
Private Member Functions | |
| DtVrfEmitterSystem (const DtVrfEmitterSystem &orig) | |
| DtVrfEmitterSystem & | operator= (const DtVrfEmitterSystem &orig) |
| DtVrfEmitterSystem () | |
|
protected |
|
private |
Not implemented.
|
private |
Not implemented.
| DtVrfEmitterSystem::DtVrfEmitterSystem | ( | DtLocalObject * | hostEntity | ) |
|
virtual |
|
private |
Not implemented.
| bool DtVrfEmitterSystem::init | ( | ) |
Calls createPublisher.
|
virtual |
When true, EM Emissions PDUs are published as normal. Otherwise, the emitter system is still published, but without any beams. Any configured beams are stored when the system is off, and restored when the system is turned on again.
|
virtual |
|
virtual |
sets all emitter system attributes based on the data in the supplied DtEmitterSytemEntry.
|
virtual |
Accessors and mutators for properties of the beam and emitter system.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Note that setting High-Density mode to true will implicitly remove all specific track targets.
|
virtual |
|
virtual |
Note that setting High-Density mode to true will implicitly remove all specific jam targets.
|
virtual |
|
virtual |
All beams in the system which are tracking beams will have this entity added to their track/jam lists.
|
virtual |
All beams in the system which are tracking beams will have this entity removed from their track/jam lists.
|
virtual |
All beams in the system which are jamming beams will have this entity added to their track/jam lists.
|
virtual |
All beams in the system which are jamming beams will have this entity removed from their track/jam lists.
|
virtual |
Tracking beams will have their track target list emptied.
|
virtual |
Jamming beams will have their jam target list emptied.
|
virtual |
All beams will have their track/jam target lists emptied.
|
virtual |
Adds a new beam if the ID does not already exist and returns a pointer to the beam repository.
|
virtual |
Removes a beam from this system.
|
virtual |
Removes all beams from the system.
|
virtual |
Returns a pointer to the beam repository of this beam, of NULL if there is no beam of this id in the system.
|
virtual |
Returns total number of beams in this system.
| std::vector<makVrf::DtEmitterSystemBeamStateData>& DtVrfEmitterSystem::beamList | ( | ) |
Returns list to the beam repositories.
| const std::vector<makVrf::DtEmitterSystemBeamStateData>& DtVrfEmitterSystem::beamList | ( | ) | const |
|
virtual |
|
virtual |
The name of this emitter (descriptive)
|
virtual |
|
virtual |
Sets the radar mode and also calls setDataFromEmitterSystemEntry() to initialize This method implicitly empties the current track/jam target list.
|
virtual |
|
virtual |
Set a callback function which will be called before adding track/jam targets into each beam. If the function returns false, the target is not added, otherwise it is. If null, targets will always be added.
|
inline |
|
inline |
|
protectedvirtual |
Initializes the emitter system SR.
|
protectedvirtual |
Common code used by the addTrackTarget and addJamTarget.
|
protectedvirtual |
Common code used by the removeTrackTarget and removeJamTarget.
|
protectedvirtual |
Common code used by clearTrackTargets, clearJamTargets, and clearTrackJamTargets.
|
protectedvirtual |
|
protectedvirtual |
Return the next available system number.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |