VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtMode4StateRepository Class Reference

Instances of DtMode4StateRepository are used to store state data for IFFData.Mode4 objects. More...

+ Inheritance diagram for DtMode4StateRepository:
+ Collaboration diagram for DtMode4StateRepository:

Public Member Functions

 DtMode4StateRepository ()
 Constructor. More...
 
virtual ~DtMode4StateRepository ()
 Destructor. More...
 
 DtMode4StateRepository (const DtMode4StateRepository &orig)
 Copy Constructor. More...
 
DtMode4StateRepositoryoperator= (const DtMode4StateRepository &orig)
 Assignment Operator. More...
 
virtual DtStateRepositoryclone (bool copy) const
 Return a copy/empty object of the same type as this. More...
 
virtual void printData () const
 Print data to the DtInfo stream. More...
 
virtual void printDataToStream (std::ostream &stream) const
 Print data to the specified stream. More...
 
virtual void setPseudoCryptoCodeAAvailable (bool val)
 Set the PseudoCryptoCodeAAvailable. More...
 
virtual bool pseudoCryptoCodeAAvailable () const
 Get the PseudoCryptoCodeAAvailable. More...
 
virtual void setPseudoCryptoCodeA (DtU16 val)
 Set the PseudoCryptoCodeA. More...
 
virtual DtU16 pseudoCryptoCodeA () const
 Get the PseudoCryptoCodeA. More...
 
virtual void setPseudoCryptoCodeBAvailable (bool val)
 Set the PseudoCryptoCodeBAvailable. More...
 
virtual bool pseudoCryptoCodeBAvailable () const
 Get the PseudoCryptoCodeBAvailable. More...
 
virtual void setPseudoCryptoCodeB (DtU16 val)
 Set the PseudoCryptoCodeB. More...
 
virtual DtU16 pseudoCryptoCodeB () const
 Get the PseudoCryptoCodeB. More...
 
virtual void setPseudoCryptoCodeActive (const DtIFFMode4CodeActiveEnum8 &val)
 Set the PseudoCryptoCodeActive. More...
 
virtual const
DtIFFMode4CodeActiveEnum8
pseudoCryptoCodeActive () const
 Get the PseudoCryptoCodeActive. More...
 
Mode4 Transponder-Specific Attributes

Set the Reply attribute

Parameters
valReply from the Mode 4 Interrogator as Valid, Invalid, No Response, or Unable to Verify
virtual void setReply (const DtIffAlternateMode4Enum8 &val)
 Get the Reply attribute. More...
 
virtual const
DtIffAlternateMode4Enum8
reply () const
 Get the Reply attribute. More...
 
Mode4 Interrogator-Specific Attributes

Set the Challenge attribute

Parameters
valIndicates the validity of a Mode 4 interrogation as Valid or Invalid
virtual void setChallenge (const DtIffAlternateMode4Enum8 &val)
 Get the Challenge attribute. More...
 
virtual const
DtIffAlternateMode4Enum8
challenge () const
 Get the Challenge attribute. More...
 
RPR 2.0 NatoIFF-Specific Attributes

Set/Get the attribute named "AlternateMode4"

Parameters
useMode4IFF Alternate Mode 4
virtual void setAlternateMode4 (DtIffAtcNavaidsAltParm4 useMode4)
 Set/Get NatoIFF mode4PseudoCrypto. More...
 
virtual DtIffAtcNavaidsAltParm4 alternateMode4 () const
 Set/Get NatoIFF mode4PseudoCrypto. More...
 
virtual void setMode4PseudoCrypto (DtU16 val)
 Set/Get NatoIFF mode4PseudoCrypto. More...
 
virtual DtU16 mode4PseudoCrypto () const
 Set/Get NatoIFF mode4PseudoCrypto. More...
 
virtual bool mode4PseudoCryptoAvailable () const
 Get NatoIFF mode4PseudoCryptoAvailable no set as it is determined by the value of Mode 4 Code part of record. More...
 
virtual void setMode4PseudoCryptoAvailable (DtU8 val)
 Set/Get NatoIFF mode4PseudoCrypto. More...
 
- Public Member Functions inherited from DtIFFDataStateRepository
 DtIFFDataStateRepository (DtIffDataMode mode=DtIffModeUnk)
 Constructor. More...
 
virtual ~DtIFFDataStateRepository ()
 Destructor. More...
 
 DtIFFDataStateRepository (const DtIFFDataStateRepository &orig)
 Copy Constructor. More...
 
DtIFFDataStateRepositoryoperator= (const DtIFFDataStateRepository &orig)
 Assignment Operator. More...
 
virtual void setIsOn (bool val)
 Set the IsOn attribute. More...
 
virtual bool isOn () const
 Get the IsOn attribute. More...
 
virtual void setIsDamaged (bool val)
 Set the IsDamaged attribute. More...
 
virtual bool isDamaged () const
 Get the IsDamaged attribute. More...
 
virtual void setIsMalfunctioning (bool val)
 Set the IsMalfunctioning attribute. More...
 
virtual bool isMalfunctioning () const
 Get the IsMalfunctioning attribute. More...
 
virtual void setIFFSystemIdentifier (const DtGlobalObjectDesignator &val)
 Set the IFFSystemIdentifier. More...
 
virtual const
DtGlobalObjectDesignator
IFFSystemIdentifier () const
 Get the IFFSystemIdentifier. More...
 
virtual void setIFFData (const DtIFFDataVariantStructArray &val)
 Set the SupplementalData. More...
 
virtual const
DtIFFDataVariantStructArray
IFFData () const
 Get the IFFSystemIdentifier. More...
 
virtual void setReportingSimulation (const DtFederateIdentifierStruct &val)
 Set the ReportingSimulation attribute. More...
 
virtual const
DtFederateIdentifierStruct
reportingSimulation () const
 Get the ReportingSimulation. More...
 
virtual void setIffStateRepository (const DtIffStateRepository *sr)
 
virtual const
DtIffStateRepository
isr () const
 
- Public Member Functions inherited from DtStateRepository
 DtStateRepository ()
 default constructor More...
 
 DtStateRepository (const DtStateRepository &orig)
 copy constructor More...
 
virtual ~DtStateRepository ()
 destructor More...
 
DtStateRepositoryoperator= (const DtStateRepository &orig)
 assignment operator More...
 
virtual void setGlobalId (const DtString &id)
 Get/Set global identifier, or name. More...
 
virtual const DtStringglobalId () const
 
virtual void setLocalId (const DtObjectId &id)
 Get/Set local identifier, or handle. More...
 
virtual const DtObjectIdlocalId () const
 
virtual bool publishesAttribute (const RTI::AttributeHandle &val) const
 Returns true if the attribute is published. More...
 
virtual void setAttributeByHandle (const RTI::AttributeHandle &attrHdl, const char *attrValue, unsigned size)
 Set the attribute with the given handle. More...
 
virtual const char * getAttributeByHandle (const RTI::AttributeHandle &attrHdl, unsigned &size) const
 Get a pointer to attribute value for the attribute with the given handle. More...
 
virtual void setAttributeByName (const DtString &attrName, const char *attrValue, unsigned size, DtHlaObject *hlaObj)
 Set the attribute with the given name. Note that in order to do this you must provide a DtHlaObject. More...
 
virtual const char * getAttributeByName (const DtString &attrName, unsigned &size, DtHlaObject *hlaObj) const
 Get a pointer to attribute value for the attribute with the given name. More...
 
virtual const char * getAttributeByHandleIfUpdated (const RTI::AttributeHandle &attrHdl, unsigned &size) const
 Get a pointer to attribute value for the attribute with the given handle, but only if it's been updated since the last time we read it. 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< DtStringstateRepositoryExtensionNames () 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 DtMode4StateRepositorycreate ()
 Create a DtMode4StateRepository. More...
 
- Static Public Member Functions inherited from DtIFFDataStateRepository
static DtIFFDataStateRepositorycreate ()
 Create a DtIFFDataStateRepository. 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 Attributes

bool myPseudoCryptoCodeAAvailable
 
DtU16 myPseudoCryptoCodeA
 
bool myPseudoCryptoCodeBAvailable
 
DtU16 myPseudoCryptoCodeB
 
DtIFFMode4CodeActiveEnum8 myPseudoCryptoCodeActive
 
DtIffAlternateMode4Enum8 myReply
 
DtIffAlternateMode4Enum8 myChallenge
 
DtIffAtcNavaidsAltParm4 myAlternateMode4
 
DtU16 myMode4PseudoCrypto
 
- Protected Attributes inherited from DtIFFDataStateRepository
DtGlobalObjectDesignator myIFFSystemIdentifier
 
DtIFFDataVariantStructArray myIffSupplementalData
 
DtFederateIdentifierStruct myReportingSimulation
 
DtIffDataMode myMode
 
const DtIffStateRepositorymyIffSR
 
bool myIsOn
 
bool myIsDamaged
 
bool myIsMalfunctioning
 

Additional Inherited Members

- Public Types inherited from DtStateRepository
typedef std::map< DtString,
DtStateRepositoryExtension * > 
DtStateRepositoryExtensionMap
 
- Public Attributes inherited from DtStateRepository
DtString myGlobalId
 
DtObjectId myLocalId
 
std::map< RTI::AttributeHandle,
DtGenericAttributeInfo * > 
myAttributesByHandle
 Attributes by handle. More...
 
DtStateRepositoryExtensionMap myStateRepositoryExtensionMap
 
- Static Public Attributes inherited from DtStateRepository
static std::map< DtString,
DtSrExtCreatorFnc
theStateRepositoryExtensionCreatorMap
 

Detailed Description

Instances of DtMode4StateRepository are used to store state data for IFFData.Mode4 objects.

Constructor & Destructor Documentation

DtMode4StateRepository::DtMode4StateRepository ( )

Constructor.

virtual DtMode4StateRepository::~DtMode4StateRepository ( )
virtual

Destructor.

DtMode4StateRepository::DtMode4StateRepository ( const DtMode4StateRepository orig)

Copy Constructor.

Member Function Documentation

virtual DtIffAtcNavaidsAltParm4 DtMode4StateRepository::alternateMode4 ( ) const
virtual

Set/Get NatoIFF mode4PseudoCrypto.

Parameters
valMode 4 Pseudo-Crypto value (0-4094)
virtual const DtIffAlternateMode4Enum8& DtMode4StateRepository::challenge ( ) const
virtual

Get the Challenge attribute.

Returns
Indicates the validity of a Mode 4 interrogation
virtual DtStateRepository* DtMode4StateRepository::clone ( bool  copy) const
virtual

Return a copy/empty object of the same type as this.

Reimplemented from DtIFFDataStateRepository.

static DtMode4StateRepository* DtMode4StateRepository::create ( )
static
virtual DtU16 DtMode4StateRepository::mode4PseudoCrypto ( ) const
virtual

Set/Get NatoIFF mode4PseudoCrypto.

Parameters
valMode 4 Pseudo-Crypto value (0-4094)
virtual bool DtMode4StateRepository::mode4PseudoCryptoAvailable ( ) const
virtual

Get NatoIFF mode4PseudoCryptoAvailable no set as it is determined by the value of Mode 4 Code part of record.

Returns
Specifies whether or not Mode 4 pseudo-crypto value is available
DtMode4StateRepository& DtMode4StateRepository::operator= ( const DtMode4StateRepository orig)

Assignment Operator.

virtual void DtMode4StateRepository::printData ( ) const
virtual

Print data to the DtInfo stream.

Reimplemented from DtIFFDataStateRepository.

virtual void DtMode4StateRepository::printDataToStream ( std::ostream &  stream) const
virtual

Print data to the specified stream.

Reimplemented from DtIFFDataStateRepository.

virtual DtU16 DtMode4StateRepository::pseudoCryptoCodeA ( ) const
virtual

Get the PseudoCryptoCodeA.

virtual bool DtMode4StateRepository::pseudoCryptoCodeAAvailable ( ) const
virtual

Get the PseudoCryptoCodeAAvailable.

virtual const DtIFFMode4CodeActiveEnum8& DtMode4StateRepository::pseudoCryptoCodeActive ( ) const
virtual

Get the PseudoCryptoCodeActive.

virtual DtU16 DtMode4StateRepository::pseudoCryptoCodeB ( ) const
virtual

Get the PseudoCryptoCodeB.

virtual bool DtMode4StateRepository::pseudoCryptoCodeBAvailable ( ) const
virtual

Get the PseudoCryptoCodeBAvailable.

virtual const DtIffAlternateMode4Enum8& DtMode4StateRepository::reply ( ) const
virtual

Get the Reply attribute.

Returns
Reply received from the Mode 4 Interrogator
virtual void DtMode4StateRepository::setAlternateMode4 ( DtIffAtcNavaidsAltParm4  useMode4)
virtual

Set/Get NatoIFF mode4PseudoCrypto.

Parameters
valMode 4 Pseudo-Crypto value (0-4094)
virtual void DtMode4StateRepository::setChallenge ( const DtIffAlternateMode4Enum8 val)
virtual

Get the Challenge attribute.

Returns
Indicates the validity of a Mode 4 interrogation
virtual void DtMode4StateRepository::setMode4PseudoCrypto ( DtU16  val)
virtual

Set/Get NatoIFF mode4PseudoCrypto.

Parameters
valMode 4 Pseudo-Crypto value (0-4094)
virtual void DtMode4StateRepository::setMode4PseudoCryptoAvailable ( DtU8  val)
inlinevirtual

Set/Get NatoIFF mode4PseudoCrypto.

Parameters
valMode 4 Pseudo-Crypto value (0-4094)
virtual void DtMode4StateRepository::setPseudoCryptoCodeA ( DtU16  val)
virtual

Set the PseudoCryptoCodeA.

Parameters
valMode 4 pseudo crypto code (A) in the range 0 to 4094 decimal
virtual void DtMode4StateRepository::setPseudoCryptoCodeAAvailable ( bool  val)
virtual

Set the PseudoCryptoCodeAAvailable.

Parameters
valIndicates whether a Mode 4 pseudo crypto code (A) value is available in the attribute PseudoCryptoCodeA or that Challenge or Reply is to be used instead. If also a code B is available, the attribute PseudoCryptoCodeActive indicates which code is to be used
virtual void DtMode4StateRepository::setPseudoCryptoCodeActive ( const DtIFFMode4CodeActiveEnum8 val)
virtual

Set the PseudoCryptoCodeActive.

Parameters
valIndicates whether Mode 4 Code A or Code B is active, or neither
virtual void DtMode4StateRepository::setPseudoCryptoCodeB ( DtU16  val)
virtual

Set the PseudoCryptoCodeB.

Parameters
valMode 4 pseudo crypto code B in the range 0 to 4094 decimal
virtual void DtMode4StateRepository::setPseudoCryptoCodeBAvailable ( bool  val)
virtual

Set the PseudoCryptoCodeBAvailable.

Parameters
valIndicates whether or not a Mode 4 pseudo crypto code B value is available in the attribute PseudoCryptoCodeB. If available, PseudoCryptoCodeA must also be set to a valid value, PseudoCryptoCodeAAvailable to True, and PseudoCryptoCodeActive to indicate which code is to be used. If not, the PseudoCryptoCodeA is to be used, if available, or the Challenge or Reply attribute.
virtual void DtMode4StateRepository::setReply ( const DtIffAlternateMode4Enum8 val)
virtual

Get the Reply attribute.

Returns
Reply received from the Mode 4 Interrogator

Member Data Documentation

DtIffAtcNavaidsAltParm4 DtMode4StateRepository::myAlternateMode4
protected
DtIffAlternateMode4Enum8 DtMode4StateRepository::myChallenge
protected
DtU16 DtMode4StateRepository::myMode4PseudoCrypto
protected
DtU16 DtMode4StateRepository::myPseudoCryptoCodeA
protected
bool DtMode4StateRepository::myPseudoCryptoCodeAAvailable
protected
DtIFFMode4CodeActiveEnum8 DtMode4StateRepository::myPseudoCryptoCodeActive
protected
DtU16 DtMode4StateRepository::myPseudoCryptoCodeB
protected
bool DtMode4StateRepository::myPseudoCryptoCodeBAvailable
protected
DtIffAlternateMode4Enum8 DtMode4StateRepository::myReply
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)