![]() |
VR-Link API Documentation for DIS
|
Defines a protocol independent repository of attributes for IFF objects. More...
Inheritance diagram for DtIffStateRepository:
Collaboration diagram for DtIffStateRepository:Public Member Functions | |||
| DtIffStateRepository () | |||
| Default constructor. More... | |||
| virtual | ~DtIffStateRepository () | ||
| Destructor. More... | |||
| DtIffStateRepository (const DtIffStateRepository &orig) | |||
| Copy constructor. More... | |||
| DtIffStateRepository & | operator= (const DtIffStateRepository &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 | printData () const | ||
| prints the data to DtInfo More... | |||
| virtual void | printDataToStream (std::ostream &stream) const | ||
| Prints the data to the specified stream. More... | |||
| virtual void | setSystemSpecificData (DtU8 b) | ||
| virtual DtU8 | systemSpecificData () const | ||
| virtual void | setReportingSimulation (DtSimulationAddress b) | ||
| Only used by Layers 3-5 in DIS. More... | |||
| virtual DtSimulationAddress | reportingSimulation () const | ||
| virtual void | setEnabledModesChanged (bool changed) | ||
| Flag to check if the enabled modes in this repository have changed. Used by the IFF System publisher. More... | |||
| virtual bool | enabledModesChanged () | ||
IFFSystem Object Attributes | |||
Set/Get the attribute named "SystemType"
| |||
| virtual void | setSystemType (DtIffAtcNavaidsSysType type) | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual DtIffAtcNavaidsSysType | systemType () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setSystemName (DtIffAtcNavaidsSysName name) | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual DtIffAtcNavaidsSysName | systemName () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setSystemDesignator (DtU8 designator) | ||
| Set/Get the attribute named "SystemDesignator". More... | |||
| virtual DtU8 | systemDesignator () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setInteractiveModeIsActive (bool isActive) | ||
| Set/Get the attribute named "InteractiveModeIsActive" If Interactive Mode is set to true, simulation mode is Interactive. More... | |||
| virtual bool | interactiveModeIsActive () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setEventId (const DtEventId &eventId) | ||
| Set/Get the attribute named "EventIdentifier". More... | |||
| virtual const DtEventId & | eventId () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setSystemIsOn (bool isOn) | ||
| Set/Get the attribute named "SystemIsOn". More... | |||
| virtual bool | systemIsOn () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setSystemMode (DtU8 mode) | ||
| Set/Get the attribute named "SystemMode". More... | |||
| virtual DtU8 | systemMode () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setOperationalStatus (DtOperationalStatusEnum8 status) | ||
| Set/Get the attribute named "OperationalStatus". More... | |||
| virtual DtOperationalStatusEnum8 | operationalStatus () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setTestModeIsOn (bool isOn) | ||
| Set/Get the attribute named "TestModeIsOn". More... | |||
| virtual bool | testModeIsOn () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setEmissionsDataAvailable (bool isAvailable) | ||
| Set/Get the attribute named "EmissionsDataAvailable". More... | |||
| virtual bool | emissionsDataAvailable () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setBeamAzimuthCenter (DtFloat32 val) | ||
| Set/Get BeamAzimuthCenter. More... | |||
| virtual DtFloat32 | beamAzimuthCenter () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setBeamAzimuthSweep (DtFloat32 val) | ||
| Set/Get BeamAzimuthSweep. More... | |||
| virtual DtFloat32 | beamAzimuthSweep () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setBeamElevationCenter (DtFloat32 val) | ||
| Set/Get BeamElevationCenter. More... | |||
| virtual DtFloat32 | beamElevationCenter () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setBeamElevationSweep (DtFloat32 val) | ||
| Set/Get beamElevationSweep. More... | |||
| virtual DtFloat32 | beamElevationSweep () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setBeamSweepSync (DtFloat32 val) | ||
| Set/Get beamSweepSync. More... | |||
| virtual DtFloat32 | beamSweepSync () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setFundamentalParameterData (DtFundamentalParameterDataStructArray val) | ||
| Set/Get FundamentalParameterData. More... | |||
| virtual DtFundamentalParameterDataStructArray | fundamentalParameterData () const | ||
| Set/Get the attribute named "SystemName". More... | |||
| virtual void | setSupplementalData (DtIFFDataVariantStructArray val) | ||
| Set/Get SupplementalData. More... | |||
| virtual DtIFFDataVariantStructArray | supplementalData () const | ||
| Set/Get the attribute named "SystemName". More... | |||
IFFSystem.Transponder Attributes | |||
Set/Get the attribute named "EmergencyOn"
| |||
| virtual void | setEmergencyOn (bool val) | ||
| Set/Get the attribute named "IdentSquawkFlashOn". More... | |||
| virtual bool | isEmergencyOn () const | ||
| Set/Get the attribute named "IdentSquawkFlashOn". More... | |||
| virtual void | setIdentSquawkFlashOn (bool val) | ||
| Set/Get the attribute named "IdentSquawkFlashOn". More... | |||
| virtual bool | isIdentSquawkFlashOn () const | ||
| Set/Get the attribute named "IdentSquawkFlashOn". More... | |||
| virtual void | setUnmannedAircraftOn (bool val) | ||
| Set/Get the attribute named "UnmannedAircraftOn". More... | |||
| virtual bool | isUnmannedAircraftOn () const | ||
| Set/Get the attribute named "IdentSquawkFlashOn". More... | |||
IFFData Object Attributes | |||
Set/Get the attribute named "SystemIdentifier"
| |||
| virtual void | setSystemId (const DtGlobalObjectDesignator &globalId) | ||
| virtual const DtGlobalObjectDesignator & | systemId () const | ||
IFFData Mode Object Accessors | |||
General use Mode Accessor | |||
| virtual bool | hasMode (DtModeType modeType) const | ||
| Mode 1 Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual void | enableMode (DtModeType modeType) const | ||
| Mode 1 Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtMode1StateRepository * | mode1 () const | ||
| Mode 1 Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtMode2StateRepository * | mode2 () const | ||
| Mode 2 Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtMode3AStateRepository * | mode3A () const | ||
| Mode 3A Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtMode3CStateRepository * | mode3C () const | ||
| Mode 3C Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtMode4StateRepository * | mode4 () const | ||
| Mode 4 Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtMode5StateRepository * | mode5 () const | ||
| Mode 5 Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtModeSStateRepository * | modeS () const | ||
| Mode S Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtTCASDataStateRepository * | tcasData () const | ||
| TCAS Data Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtSovietStateRepository * | soviet () const | ||
| Soviet Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
| virtual DtRRBStateRepository * | rrb () const | ||
| RRB Accessor If this mode has not been enabled, this will return a nullptr. More... | |||
NatoIFF Object Accessors | |||
| virtual void | setModeEnabled (DtModeType modeType, bool val) | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
| virtual bool | modeEnabled (DtModeType modeType) const | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
| virtual void | setModeIsMalfunctioning (DtModeType modeType, bool val) | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
| virtual bool | modeIsMalfunctioning (DtModeType modeType) const | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
| virtual void | setModeIsDamaged (DtModeType modeType, bool val) | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
| virtual bool | modeIsDamaged (DtModeType modeType) const | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
| virtual void | setModeIsOn (DtModeType modeType, bool val) | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
| virtual bool | modeIsOn (DtModeType modeType) const | ||
| General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn: More... | |||
RPR 2.0-Specific IFF Attributes | |||
Set/Get the attribute named "SystemIsOperational" RPR 3.0 uses attribute "OperationalStatus" with an enum param
| |||
| virtual void | setSystemIsOperational (bool isOperational) | ||
| virtual bool | systemIsOperational () const | ||
DIS Layer 1 IFF Attributes | |||
| virtual void | setIffSimulationMode (bool on) | ||
| Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation. More... | |||
| virtual bool | iffSimulationMode () const | ||
| Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation. More... | |||
| virtual void | setInteractiveCapable (bool on) | ||
| Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation. More... | |||
| virtual bool | interactiveCapable () const | ||
| Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation. More... | |||
| virtual void | setModeCode (DtModeType modeCodeNum, DtU16 val) | ||
| This stores the mode code exactly as specified by the DIS 1278.1a and RPR FOM 2.x standard. More... | |||
| virtual DtU16 | modeCode (DtModeType modeCodeNum) const | ||
| Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation. More... | |||
| virtual void | setStiOn (bool onOff) | ||
| Set/get Nato Transponder StiOn. More... | |||
| virtual bool | stiOn () const | ||
| Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation. More... | |||
DIS Layer 2 IFF Attributes (i.e. RPR 3.0 IFFSystem) | |||
The Following Attributes are only useful to Layer 2 Data | |||
| virtual void | setLayer2DataAvailable (bool b) | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
| virtual bool | layer2DataAvailable () const | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
| virtual void | setLayer2SpecificInfo (unsigned int val) | ||
| Set layer2 specific info - this is not well defined but needed by DIS. More... | |||
| virtual unsigned int | layer2SpecificInfo () const | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
| virtual void | setSecondaryOperationalDataParameter1 (DtIffOperationalParameter1 val) | ||
| set/Get SecondaryOperationalDataParameter1 More... | |||
| virtual DtIffOperationalParameter1 | secondaryOperationalDataParameter1 () const | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
| virtual void | setSecondaryOperationalDataParameter2 (DtIffOperationalParameter2 val) | ||
| set/Get SecondaryOperationalDataParameter2 More... | |||
| virtual DtIffOperationalParameter2 | secondaryOperationalDataParameter2 () const | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
| virtual int | numParameterSets () const | ||
| Set/Get operational parameters record. More... | |||
| virtual void | setNumParameterSets (int n) | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
| virtual bool | setParamData (int parmIndex, const DtIffAtcNavaidsParameter &init) | ||
| Set/Get the fundamental parameter data records for a selected layer. More... | |||
| virtual bool | getParamData (int parmIndex, DtIffAtcNavaidsParameter &record) const | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
| virtual DtIffAtcNavaidsParameter | paramData (int paramIndex, bool *valid=NULL) const | ||
| Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used. More... | |||
DIS Layer 3 Attributes (Mode 5) | |||
Set/Get iff variable data record. | |||
| virtual int | numIffRecords (int layer) const | ||
| virtual void | setNumIffRecords (int n, int layer) | ||
| virtual bool | setIffRecord (int parmIndex, const DtIffAtcNavaidsVariableRecord &init, int layer) | ||
| virtual DtIffAtcNavaidsVariableRecord * | getIffRecord (int parmIndex, int layer) const | ||
DIS Layers 3-5 Specific Info | |||
Set Layer3 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number | |||
| virtual void | setLayer3SpecificInfo (unsigned int val) | ||
| Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number. More... | |||
| virtual unsigned int | layer3SpecificInfo () const | ||
| Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number. More... | |||
| virtual void | setLayer4SpecificInfo (unsigned int val) | ||
| Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number. More... | |||
| virtual unsigned int | layer4SpecificInfo () const | ||
| Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number. More... | |||
| virtual void | setLayer5SpecificInfo (unsigned int val) | ||
| Set Layer5 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number. More... | |||
| virtual unsigned int | layer5SpecificInfo () const | ||
| Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number. More... | |||
DIS Layers 3-5 Available | |||
Set/Get LayerXDataAvailable- If set true, then layerX data will be sent, if false no layer X data will be used | |||
| virtual void | setLayer3DataAvailable (bool b) | ||
| virtual bool | layer3DataAvailable () const | ||
| virtual void | setLayer4DataAvailable (bool b) | ||
| virtual bool | layer4DataAvailable () const | ||
| virtual void | setLayer5DataAvailable (bool b) | ||
| virtual bool | layer5DataAvailable () const | ||
DIS Layer 5 Attributes (Data Communications) | |||
Only used by Layer 5 Set/Get availableLayers. | |||
| virtual void | setAvailableLayers (DtU8 value) | ||
| Set/Get dataCategory. More... | |||
| virtual DtU8 | availableLayers () const | ||
| Set/Get dataCategory. More... | |||
| virtual void | setDataCategory (DtIffAtcNavaidsDataCategory value) | ||
| Set/Get dataCategory. More... | |||
| virtual DtIffAtcNavaidsDataCategory | dataCategory () const | ||
| Set/Get dataCategory. More... | |||
IFF MODE State Repository Accessors | |||
| void | setMode1StateRepository (DtMode1StateRepository *r) const | ||
| DtMode1StateRepository * | mode1StateRepository () const | ||
| void | setMode2StateRepository (DtMode2StateRepository *r) const | ||
| DtMode2StateRepository * | mode2StateRepository () const | ||
| void | setMode3AStateRepository (DtMode3AStateRepository *r) const | ||
| DtMode3AStateRepository * | mode3AStateRepository () const | ||
| void | setMode3CStateRepository (DtMode3CStateRepository *r) const | ||
| DtMode3CStateRepository * | mode3CStateRepository () const | ||
| void | setMode4StateRepository (DtMode4StateRepository *r) const | ||
| DtMode4StateRepository * | mode4StateRepository () const | ||
| void | setMode5StateRepository (DtMode5StateRepository *r) const | ||
| DtMode5StateRepository * | mode5StateRepository () const | ||
| void | setModeSStateRepository (DtModeSStateRepository *r) const | ||
| DtModeSStateRepository * | modeSStateRepository () const | ||
| void | setTCASDataStateRepository (DtTCASDataStateRepository *r) const | ||
| DtTCASDataStateRepository * | tcasDataStateRepository () const | ||
| void | setSovietStateRepository (DtSovietStateRepository *r) const | ||
| DtSovietStateRepository * | sovietStateRepository () const | ||
| void | setRRBStateRepository (DtRRBStateRepository *r) const | ||
| DtRRBStateRepository * | rrbStateRepository () const | ||
Public Member Functions inherited from DtEmbeddedSystemRepository | |||
| DtEmbeddedSystemRepository () | |||
| default constructor More... | |||
| DtEmbeddedSystemRepository (const DtEmbeddedSystemRepository &orig) | |||
| copy constructor More... | |||
| virtual | ~DtEmbeddedSystemRepository () | ||
| destructor More... | |||
| DtEmbeddedSystemRepository & | operator= (const DtEmbeddedSystemRepository &orig) | ||
| assignment operator More... | |||
| virtual void | setEntityId (const DtEntityIdentifier &id) | ||
| Set the entity identifier. More... | |||
| virtual const DtEntityIdentifier & | entityId () const | ||
| Get the entity identifier. More... | |||
| virtual void | setHostId (const DtGlobalObjectDesignator &id) | ||
| Set the host identifier. More... | |||
| virtual const DtGlobalObjectDesignator & | hostId () const | ||
| Get the host identifier. More... | |||
| virtual void | setRelativePosition (const DtVector32 &position) | ||
| Set the position of the object relative to the entity. More... | |||
| virtual const DtVector32 & | relativePosition () const | ||
| Get the position of the object relative to the entity. 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::unique_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 DtIffStateRepository * | create () |
| Create and return a new DtIffStateRepository. More... | |
Static Public Member Functions inherited from DtEmbeddedSystemRepository | |
| static DtEmbeddedSystemRepository * | create () |
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... | |
Static Public Attributes | |
| static DtMode1StateRepository *(* | theMode1StateRepositoryCreator )() |
| static DtMode2StateRepository *(* | theMode2StateRepositoryCreator )() |
| static DtMode3AStateRepository *(* | theMode3AStateRepositoryCreator )() |
| static DtMode3CStateRepository *(* | theMode3CStateRepositoryCreator )() |
| static DtMode4StateRepository *(* | theMode4StateRepositoryCreator )() |
| static DtMode5StateRepository *(* | theMode5StateRepositoryCreator )() |
| static DtModeSStateRepository *(* | theModeSStateRepositoryCreator )() |
| static DtTCASDataStateRepository *(* | theTCASDataStateRepositoryCreator )() |
| static DtSovietStateRepository *(* | theSovietStateRepositoryCreator )() |
| static DtRRBStateRepository *(* | theRRBStateRepositoryCreator )() |
Static Public Attributes inherited from DtStateRepository | |
| static std::map< DtString, DtSrExtCreatorFnc > | theStateRepositoryExtensionCreatorMap |
Additional Inherited Members | |
Public Types inherited from DtStateRepository | |
| typedef std::map< DtString, DtStateRepositoryExtension * > | DtStateRepositoryExtensionMap |
Defines a protocol independent repository of attributes for IFF objects.
| DtIffStateRepository::DtIffStateRepository | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtIffStateRepository::DtIffStateRepository | ( | const DtIffStateRepository & | orig | ) |
Copy constructor.
|
virtual |
Set/Get dataCategory.
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Return a copy/empty object of the same type as this.
Reimplemented from DtEmbeddedSystemRepository.
|
static |
Create and return a new DtIffStateRepository.
|
virtual |
Set/Get dataCategory.
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
|
virtual |
Mode 1 Accessor If this mode has not been enabled, this will return a nullptr.
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
Mode 1 Accessor If this mode has not been enabled, this will return a nullptr.
|
virtual |
Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation.
|
virtual |
Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation.
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "IdentSquawkFlashOn".
| val | Set to True when the transponder has set the I/P to On. This is also referred to as the Special Process Indicator (SPI), "Squawk Flash" or "Squawk Ident" |
|
virtual |
Set/Get the attribute named "IdentSquawkFlashOn".
| val | Set to True when the transponder has set the I/P to On. This is also referred to as the Special Process Indicator (SPI), "Squawk Flash" or "Squawk Ident" |
|
virtual |
Set/Get the attribute named "IdentSquawkFlashOn".
| val | Set to True when the transponder has set the I/P to On. This is also referred to as the Special Process Indicator (SPI), "Squawk Flash" or "Squawk Ident" |
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
|
virtual |
Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number.
|
virtual |
|
virtual |
Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number.
|
virtual |
|
virtual |
Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number.
|
virtual |
Mode 1 Accessor If this mode has not been enabled, this will return a nullptr.
| DtMode1StateRepository* DtIffStateRepository::mode1StateRepository | ( | ) | const |
|
virtual |
Mode 2 Accessor If this mode has not been enabled, this will return a nullptr.
| DtMode2StateRepository* DtIffStateRepository::mode2StateRepository | ( | ) | const |
|
virtual |
Mode 3A Accessor If this mode has not been enabled, this will return a nullptr.
| DtMode3AStateRepository* DtIffStateRepository::mode3AStateRepository | ( | ) | const |
|
virtual |
Mode 3C Accessor If this mode has not been enabled, this will return a nullptr.
| DtMode3CStateRepository* DtIffStateRepository::mode3CStateRepository | ( | ) | const |
|
virtual |
Mode 4 Accessor If this mode has not been enabled, this will return a nullptr.
| DtMode4StateRepository* DtIffStateRepository::mode4StateRepository | ( | ) | const |
|
virtual |
Mode 5 Accessor If this mode has not been enabled, this will return a nullptr.
| DtMode5StateRepository* DtIffStateRepository::mode5StateRepository | ( | ) | const |
|
virtual |
Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation.
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
|
virtual |
Mode S Accessor If this mode has not been enabled, this will return a nullptr.
| DtModeSStateRepository* DtIffStateRepository::modeSStateRepository | ( | ) | const |
|
virtual |
Set/Get operational parameters record.
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
| DtIffStateRepository& DtIffStateRepository::operator= | ( | const DtIffStateRepository & | orig | ) |
Assignment operator.
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
prints the data to DtInfo
Reimplemented from DtEmbeddedSystemRepository.
|
virtual |
Prints the data to the specified stream.
Reimplemented from DtEmbeddedSystemRepository.
|
virtual |
|
virtual |
RRB Accessor If this mode has not been enabled, this will return a nullptr.
| DtRRBStateRepository* DtIffStateRepository::rrbStateRepository | ( | ) | const |
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
Set/Get dataCategory.
|
virtual |
Set/Get BeamAzimuthCenter.
| val | The azimuth center of the IFF/SSR beam's scan volume relative to the IFF/SSR system |
|
virtual |
Set/Get BeamAzimuthSweep.
| val | The azimuth half-angle of the IFF/SSR beam's scan volume relative to the IFF/SSR system |
|
virtual |
Set/Get BeamElevationCenter.
| val | The elevation center of the IFF/SSR beam's scan volume relative to the IFF/SSR system |
|
virtual |
Set/Get beamElevationSweep.
| val | The elevation half-angle of the IFF/SSR beam's scan volume relative to the IFF/SSR system |
|
virtual |
Set/Get beamSweepSync.
| val | The percentage of time a scan is through its pattern from its origin |
|
virtual |
Set/Get dataCategory.
|
virtual |
Set/Get the attribute named "IdentSquawkFlashOn".
| val | Set to True when the transponder has set the I/P to On. This is also referred to as the Special Process Indicator (SPI), "Squawk Flash" or "Squawk Ident" |
|
virtual |
Set/Get the attribute named "EmissionsDataAvailable".
| isAvailable | Specifies if emissions data (DIS IFF PDU layer 2) is available for this IFF/SSR system. When set to True, then the EmissionsDataSpecificInformation, BeamAzimuthCenter, BeamAzimuthSweep, BeamElevationCenter, BeamElevationSweep, BeamSweepSync, and FundamentalParameterData attributes shall be generated |
|
virtual |
Flag to check if the enabled modes in this repository have changed. Used by the IFF System publisher.
|
virtual |
Set/Get the attribute named "EventIdentifier".
| eventId | Used to associate related events |
|
virtual |
Set/Get FundamentalParameterData.
| val | The fundamental energy radiation characteristics of the IFF/SSR system |
|
virtual |
Set/Get the attribute named "IdentSquawkFlashOn".
| val | Set to True when the transponder has set the I/P to On. This is also referred to as the Special Process Indicator (SPI), "Squawk Flash" or "Squawk Ident" |
|
virtual |
|
virtual |
Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation.
|
virtual |
Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation.
|
virtual |
Set/Get the attribute named "InteractiveModeIsActive" If Interactive Mode is set to true, simulation mode is Interactive.
If Interactive Mode is set to false, simulation mode is Regeneration.
| isActive | Indicates whether or not the IFFSystem is currently operating in the Interactive Mode |
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
Set layer2 specific info - this is not well defined but needed by DIS.
|
virtual |
|
virtual |
Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number.
|
virtual |
|
virtual |
Set Layer4 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number.
|
virtual |
|
virtual |
Set Layer5 Layer-Specific Information This 8-bit enumerated field shall specify the layer-specific information that varies by System Type and Layer Number.
| void DtIffStateRepository::setMode1StateRepository | ( | DtMode1StateRepository * | r | ) | const |
| void DtIffStateRepository::setMode2StateRepository | ( | DtMode2StateRepository * | r | ) | const |
| void DtIffStateRepository::setMode3AStateRepository | ( | DtMode3AStateRepository * | r | ) | const |
| void DtIffStateRepository::setMode3CStateRepository | ( | DtMode3CStateRepository * | r | ) | const |
| void DtIffStateRepository::setMode4StateRepository | ( | DtMode4StateRepository * | r | ) | const |
| void DtIffStateRepository::setMode5StateRepository | ( | DtMode5StateRepository * | r | ) | const |
|
virtual |
This stores the mode code exactly as specified by the DIS 1278.1a and RPR FOM 2.x standard.
It is a packed octal value. For ModeCode1 there are 2 octal values with the right most value ranging from 0->3. None of these rules are enforced by the state rep. Please consult the correct standard what can be transmitted on the wire. Applicable to NatoIFF Modes 1,2,3A in RPR 2.0 Applicable to IFFData.Modes 1,2,3A in RPR 3.0
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
|
virtual |
General function calls for setting/getting mode or parameter values for Enabled, IsDamaged, IsMalfunctioning, or IsOn:
| type | The mode type as a DtModeType Enum |
| val | The boolean value set to the parameter kind |
| void DtIffStateRepository::setModeSStateRepository | ( | DtModeSStateRepository * | r | ) | const |
|
virtual |
Set/Get Layed2DataAvailable- If set true, then layer2 data will be sent, if false no layer 2 data will be used.
|
virtual |
Set/Get the attribute named "OperationalStatus".
| status | Whether the system is operational or whether it has experienced a system failure |
|
virtual |
Set/Get the fundamental parameter data records for a selected layer.
|
virtual |
Only used by Layers 3-5 in DIS.
| void DtIffStateRepository::setRRBStateRepository | ( | DtRRBStateRepository * | r | ) | const |
|
virtual |
set/Get SecondaryOperationalDataParameter1
|
virtual |
set/Get SecondaryOperationalDataParameter2
| void DtIffStateRepository::setSovietStateRepository | ( | DtSovietStateRepository * | r | ) | const |
|
virtual |
Set/get Nato Transponder StiOn.
Depreciated as of DIS 7
|
virtual |
Set/Get SupplementalData.
| val | Supplemental variable data related to the IFF system |
|
virtual |
Set/Get the attribute named "SystemDesignator".
| name | A unique decimal number assigned to this interrogator or transponder to distinguish it from multiple interrogators or transponders that are associated with the same entity. |
|
virtual |
|
virtual |
Set/Get the attribute named "SystemIsOn".
| isOn | Whether or not the system is on |
|
virtual |
|
virtual |
Set/Get the attribute named "SystemMode".
| mode | Mode of operation |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
| void DtIffStateRepository::setTCASDataStateRepository | ( | DtTCASDataStateRepository * | r | ) | const |
|
virtual |
Set/Get the attribute named "TestModeIsOn".
| isOn | Indicates whether the IFF/SSR system has been placed in the equipment test mode |
|
virtual |
Set/Get the attribute named "UnmannedAircraftOn".
| val | Set to True when the transponder has set the Unmanned Aircraft reply to On |
|
virtual |
Soviet Accessor If this mode has not been enabled, this will return a nullptr.
| DtSovietStateRepository* DtIffStateRepository::sovietStateRepository | ( | ) | const |
|
virtual |
Occupies bit 4 of PDU Status Record as 1-bit enum in the Layer 1 PDU Header Mode4, Mode5 Related to Interactive Mode4, Mode5 Interrogation.
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
virtual |
TCAS Data Accessor If this mode has not been enabled, this will return a nullptr.
| DtTCASDataStateRepository* DtIffStateRepository::tcasDataStateRepository | ( | ) | const |
|
virtual |
Set/Get the attribute named "SystemName".
| name | Particular named type of the IFF/SSR system in use |
|
protected |
System Type (enum U16)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| DtIffAtcNavaidsDataCategory DtIffStateRepository::myDataCategory |
|
protected |
System Type (enum U16)
| bool DtIffStateRepository::myEmergencyOn |
|
protected |
System Type (enum U16)
|
protected |
|
protected |
|
mutable |
|
protected |
System Type (enum U16)
|
protected |
| bool DtIffStateRepository::myIdentSquawkFlashOn |
|
protected |
|
protected |
|
protected |
System Type (enum U16)
|
protected |
|
protected |
| bool DtIffStateRepository::myLayer3DataAvailable |
| std::vector<DtIffAtcNavaidsVariableRecord*> DtIffStateRepository::myLayer3IffRecords |
| int DtIffStateRepository::myLayer3NumIffRecords |
Layer 3 (Mode 5)
| int DtIffStateRepository::myLayer3SpecificInfo |
| bool DtIffStateRepository::myLayer4DataAvailable |
| std::vector<DtIffAtcNavaidsVariableRecord*> DtIffStateRepository::myLayer4IffRecords |
| int DtIffStateRepository::myLayer4NumIffRecords |
Layer 4 (Mode S)
| int DtIffStateRepository::myLayer4SpecificInfo |
| bool DtIffStateRepository::myLayer5DataAvailable |
| std::vector<DtIffAtcNavaidsVariableRecord*> DtIffStateRepository::myLayer5IffRecords |
| int DtIffStateRepository::myLayer5NumIffRecords |
Layer 5 (Data Communications)
| int DtIffStateRepository::myLayer5SpecificInfo |
| DtU8 DtIffStateRepository::myLayers |
Layer 5 (Data Communications)
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |
System Type (enum U16)
|
protected |
|
protected |
System Type (enum U16)
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
protected |
| DtSimulationAddress DtIffStateRepository::myReportingSimulation |
Used for NatoIFF and SovietIFF mode and parameter values Used For Layers 3-5 (DIS Version 7)
|
mutableprotected |
|
protected |
|
protected |
|
mutableprotected |
| bool DtIffStateRepository::myStiOn |
|
protected |
System Type (enum U16)
|
protected |
System Name (enum U16)
|
protected |
|
protected |
System Type (enum U16)
|
protected |
|
protected |
System Type (enum U16)
|
protected |
|
mutableprotected |
|
protected |
System Type (enum U16)
|
protected |
System Type (enum U16)
| bool DtIffStateRepository::myUnmannedAircraftOn |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |