![]() |
VR-Link API Documentation for DIS
|
class DtEmitterBeamRepository: More...
Inheritance diagram for DtEmitterBeamRepository:
Collaboration diagram for DtEmitterBeamRepository:Public Member Functions | |
| DtEmitterBeamRepository () | |
| default constructor More... | |
| virtual | ~DtEmitterBeamRepository () |
| destructor More... | |
| DtEmitterBeamRepository (const DtEmitterBeamRepository &orig) | |
| copy constructor More... | |
| DtEmitterBeamRepository & | operator= (const DtEmitterBeamRepository &orig) |
| assignment operator More... | |
| virtual DtStateRepository * | clone (bool copy=false) const |
| Return a copy/empty object of the same type as this. More... | |
| virtual void | setAzimuthCenter (DtFloat32 center) |
| Set/Get Azimuth Center. More... | |
| virtual DtFloat32 | azimuthCenter () const |
| virtual void | setAzimuthSweep (DtFloat32 sweep) |
| Set/Get Azimuth Sweep. More... | |
| virtual DtFloat32 | azimuthSweep () const |
| virtual void | setBeamFunction (DtBeamFunc func) |
| Set/Get Beam Function. More... | |
| virtual DtBeamFunc | beamFunction () const |
| virtual void | setBeamStatus (DtU8 func) |
| Set/Get Beam Function. More... | |
| virtual DtU8 | beamStatus () const |
| virtual void | setBeamId (DtU8 id) |
| Set/Get Beam Id. More... | |
| virtual DtU8 | beamId () const |
| virtual void | setBeamParameterIndex (DtU16 index) |
| Set/Get Beam Parameter Index. More... | |
| virtual DtU16 | beamParameterIndex () const |
| virtual void | setElevationCenter (DtFloat32 center) |
| Set/Get Elevation Center. More... | |
| virtual DtFloat32 | elevationCenter () const |
| virtual void | setElevationSweep (DtFloat32 sweep) |
| Set/Get Elevation Sweep. More... | |
| virtual DtFloat32 | elevationSweep () const |
| virtual void | setEmittingSystemId (int id) |
| Set/Get Emitting System Id. More... | |
| virtual int | emittingSystemId () const |
| virtual void | setERP (DtFloat32 erp) |
| Set/Get Effective Radiated Power (ERP) More... | |
| virtual DtFloat32 | ERP () const |
| virtual void | setEntityId (const DtEntityIdentifier &id) |
| Set/Get Entity Id RPR - not used after RPR 0.5. More... | |
| virtual const DtEntityIdentifier & | entityId () const |
| virtual void | setEventId (const DtEventId &id) |
| Set/Get Event Id - not used until RPR 0.7. More... | |
| virtual const DtEventId & | eventId () const |
| virtual void | setFrequency (DtFloat32 freq) |
| Set/Get Frequency. More... | |
| virtual DtFloat32 | frequency () const |
| virtual void | setFrequencyRange (DtFloat32 freq) |
| Set/Get Frequency Range. More... | |
| virtual DtFloat32 | frequencyRange () const |
| virtual void | setPRF (DtFloat32 prf) |
| Set/Get Pulse Repetition Frequency (PRF) More... | |
| virtual DtFloat32 | PRF () const |
| virtual void | setPulseWidth (DtFloat32 width) |
| Set/Get Pulse Width. More... | |
| virtual DtFloat32 | pulseWidth () const |
| virtual void | setSweepSync (DtFloat32 sync) |
| Set/Get Sweep Sync. More... | |
| virtual DtFloat32 | sweepSync () const |
| virtual void | setBeamType (DtBeamType flag) |
| Set/Get beam type - track, jam or neither. More... | |
| virtual DtBeamType | beamType () const |
| virtual void | setJammingModeSequence (DtU32 sequence) |
| The next two accessors should only be called if the beam type is DtTrackBeam or DtJamBeam. More... | |
| virtual DtU32 | jammingModeSequence () const |
| virtual const DtTrackJamDesignatorList & | trackJamTargets () const |
| Get set of track jam targets. More... | |
| virtual DtTrackJamDesignatorList * | trackJamTargets () |
| virtual void | setHighDensity (bool val) |
| Set/Get the high density track/jam flag. More... | |
| virtual bool | highDensity () const |
| virtual void | printData () const |
| Prints data to DtInfo stream. More... | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Prints data to the specified stream. More... | |
| virtual void | setAzimuthThreshold (double threshold) |
| Set the azimuth threshold (Default: 1 degree). More... | |
| virtual double | azimuthThreshold () const |
| Returns the azimuth threshold (in radians). More... | |
| virtual void | setElevationThreshold (double threshold) |
| Set the elevation threshold (Default: 1 degree). More... | |
| virtual double | elevationThreshold () const |
| Returns the elevation threshold (in radians). More... | |
| virtual void | setFrequencyThreshold (double threshold) |
| Set the frequency threshold (Default: 0). More... | |
| virtual double | frequencyThreshold () const |
| Returns the frequency threshold (in radians). More... | |
| virtual void | setFrequencyRangeThreshold (double threshold) |
| Set the frequency range threshold (Default: 0). More... | |
| virtual double | frequencyRangeThreshold () const |
| Returns the frequency threshold (in radians). More... | |
| virtual void | setPRFThreshold (double threshold) |
| Set the PRF threshold (Default: 0). More... | |
| virtual double | PRFThreshold () const |
| Returns the PRF threshold (in radians). More... | |
| virtual void | setPulseWidthThreshold (double threshold) |
| Set the pulse width threshold (Default: 0). More... | |
| virtual double | pulseWidthThreshold () const |
| Returns the PRF threshold (in radians). More... | |
Public Member Functions inherited from DtStateRepository | |
| DtStateRepository () | |
| default constructor More... | |
| DtStateRepository (const DtStateRepository &orig) | |
| copy constructor More... | |
| virtual | ~DtStateRepository () |
| destructor More... | |
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| assignment operator More... | |
| virtual void | setGlobalId (const DtGlobalObjectDesignator &id) |
| Get/Set global identifier, or name. More... | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| virtual unsigned int | numberOfAttributeRecords () const |
| virtual void | setAttributeRecords (const DtAttributeRecordSet &records) |
| The following functions are related to the extendability part of DIS 7. More... | |
| virtual void | setAttributeRecords (const DtStandardVariableRecordPtrVector &records) |
| Replace the attribute record set with the records in the given vector. More... | |
| virtual const DtAttributeRecordSet & | attributeRecordSet () const |
| Return the attribute record set. More... | |
| virtual DtAttributeRecordSet & | attributeRecordSet () |
| Return the attribute record set. More... | |
| virtual const DtStandardVariableRecordPtrVector & | attributeRecords () const |
| Return the attribute records Any changes to the returned record(s) will modify the records in the recordSet. More... | |
| virtual const DtStandardVariableRecordPtrVector & | attributeRecords (unsigned int recordType) const |
| Return the attribute records of the given type (all records if type is 0) Any changes to the returned record(s) will modify the records in the recordSet. More... | |
| virtual DtStandardVariableRecord * | attributeRecord (unsigned int recordType) const |
| Return the (first) attribute record of the given type (first record if type is 0) Any changes to the returned record will modify the record in the recordSet. More... | |
| virtual int | removeAttributeRecord (unsigned int recordType, bool removeAll=true) |
| Remove and discard the first record of the given record type (if there is one) or all them. More... | |
| virtual DtStandardVariableRecordPtrVector & | getAttributeRecords (unsigned int recordType, DtStandardVariableRecordPtrVector &vec) const |
| Get the attribute records of the given type (all if type is 0) Any changes to the returned record(s) will modify the records in the recordSet. More... | |
| virtual DtStandardVariableRecordPtrVector & | getAttributeRecords (DtStandardVariableRecordPtrVector &vec) const |
| Get the attribute records Any changes to the returned record(s) will modify the records in the recordSet. More... | |
| virtual void | addAttributeRecord (DtStandardVariableRecord *record) |
| Add a clone of given record to the attribute record set. More... | |
| virtual void | addAttributeRecord (std::auto_ptr< DtStandardVariableRecord > record) |
| Add the given record to the attribute record set. More... | |
| virtual void | clearAttributeRecords () |
| Clear all records. More... | |
| virtual DtStateRepositoryExtension * | stateRepositoryExtension (DtString srExtName) const |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
| virtual std::vector< DtString > | stateRepositoryExtensionNames () const |
| Returns a set of the registered state repository extension names. More... | |
| virtual void | setStateRepositoryExtensions (std::map< DtString, DtStateRepositoryExtension * > extensions) |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
| virtual const std::map < DtString, DtStateRepositoryExtension * > | stateRepositoryExtensions () const |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
Static Public Member Functions | |
| static DtEmitterBeamRepository * | create () |
| Creator Function. More... | |
Static Public Member Functions inherited from DtStateRepository | |
| static bool | addStateRepositoryExtension (DtString srExtName, DtSrExtCreatorFnc fnc) |
| The following functions are for extending state repositories through State Repository Extension classes. More... | |
Protected Member Functions | |
| virtual void | printTrackJam (std::ostream &stream) const |
| Prints track/jam target information. More... | |
Additional Inherited Members | |
Public Types inherited from DtStateRepository | |
| typedef std::map< DtString, DtStateRepositoryExtension * > | DtStateRepositoryExtensionMap |
Public Attributes inherited from DtStateRepository | |
| DtGlobalObjectDesignator | myGlobalId |
| DtAttributeRecordSet | myAttributeRecords |
| DtStandardVariableRecordPtrVector | myReturnedRecords |
| DtStateRepositoryExtensionMap | myStateRepositoryExtensionMap |
Static Public Attributes inherited from DtStateRepository | |
| static std::map< DtString, DtSrExtCreatorFnc > | theStateRepositoryExtensionCreatorMap |
class DtEmitterBeamRepository:
Instances of DtEmitterBeamRepository are used to store state information for emitter beam objects in both HLA and DIS environments.
| DtEmitterBeamRepository::DtEmitterBeamRepository | ( | ) |
default constructor
|
virtual |
destructor
| DtEmitterBeamRepository::DtEmitterBeamRepository | ( | const DtEmitterBeamRepository & | orig | ) |
copy constructor
|
virtual |
|
virtual |
|
virtual |
Returns the azimuth threshold (in radians).
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Return a copy/empty object of the same type as this.
Reimplemented from DtStateRepository.
|
static |
Creator Function.
|
virtual |
|
virtual |
|
virtual |
Returns the elevation threshold (in radians).
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns the frequency threshold (in radians).
|
virtual |
Returns the frequency threshold (in radians).
|
virtual |
|
virtual |
| DtEmitterBeamRepository& DtEmitterBeamRepository::operator= | ( | const DtEmitterBeamRepository & | orig | ) |
assignment operator
|
virtual |
|
virtual |
Returns the PRF threshold (in radians).
|
virtual |
Prints data to DtInfo stream.
Reimplemented from DtStateRepository.
|
virtual |
Prints data to the specified stream.
Reimplemented from DtStateRepository.
|
protectedvirtual |
Prints track/jam target information.
|
virtual |
|
virtual |
Returns the PRF threshold (in radians).
|
virtual |
Set/Get Azimuth Center.
|
virtual |
Set/Get Azimuth Sweep.
|
virtual |
Set the azimuth threshold (Default: 1 degree).
threshold Threshold in radians.
|
virtual |
Set/Get Beam Function.
|
virtual |
Set/Get Beam Id.
|
virtual |
Set/Get Beam Parameter Index.
|
virtual |
Set/Get Beam Function.
|
virtual |
Set/Get beam type - track, jam or neither.
|
virtual |
Set/Get Elevation Center.
|
virtual |
Set/Get Elevation Sweep.
|
virtual |
Set the elevation threshold (Default: 1 degree).
threshold Threshold in radians.
|
virtual |
Set/Get Emitting System Id.
On DIS, the EmittingSystemID is the EmitterSystem Number. This is NOT stored in the PDU, But is filled in for reflected objects. For Outgoing PDUs VR_Link only publishes one EmittingSystem per PDU. Incoming may receive PDUs with multiple systems.
|
virtual |
Set/Get Entity Id RPR - not used after RPR 0.5.
DIS - This is filled in for receiving PDUS, but has no real point for published beams.
|
virtual |
Set/Get Effective Radiated Power (ERP)
|
virtual |
Set/Get Event Id - not used until RPR 0.7.
|
virtual |
Set/Get Frequency.
|
virtual |
Set/Get Frequency Range.
|
virtual |
Set the frequency range threshold (Default: 0).
threshold Threshold in Hz.
|
virtual |
Set the frequency threshold (Default: 0).
threshold Threshold in Hz.
|
virtual |
Set/Get the high density track/jam flag.
|
virtual |
The next two accessors should only be called if the beam type is DtTrackBeam or DtJamBeam.
Set/Get Jamming Mode Sequence.
|
virtual |
Set/Get Pulse Repetition Frequency (PRF)
|
virtual |
Set the PRF threshold (Default: 0).
threshold Threshold in Hz.
|
virtual |
Set/Get Pulse Width.
|
virtual |
Set the pulse width threshold (Default: 0).
threshold Threshold in Hz.
|
virtual |
Set/Get Sweep Sync.
|
virtual |
|
virtual |
Get set of track jam targets.
Returns pointer to internal object. Do not delete. It will be deleted when the SR is deleted.
|
virtual |
|
protected |
Common to emitter beams and track jam beams.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
For Track Jam Beams.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |