VR-Link API Documentation for DIS
 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
DtPropulsionNoiseStateRepository Class Reference

class DtPropulsionNoiseStateRepository More...

+ Inheritance diagram for DtPropulsionNoiseStateRepository:
+ Collaboration diagram for DtPropulsionNoiseStateRepository:

Public Member Functions

 DtPropulsionNoiseStateRepository ()
 Constructor.
virtual ~DtPropulsionNoiseStateRepository ()
 Destructor.
 DtPropulsionNoiseStateRepository (const DtPropulsionNoiseStateRepository &orig)
 Copy Constructor.
DtPropulsionNoiseStateRepositoryoperator= (const DtPropulsionNoiseStateRepository &orig)
 Assignment Operator.
virtual DtStateRepositoryclone (bool copy) const
 Return a copy/empty object of the same type as this.
virtual void printData () const
 Print data to the DtInfo stream.
virtual void printDataToStream (std::ostream &stream) const
 Print data to the specified stream.
virtual void setHullMaskerOn (bool val)
 Set the HullMaskerOn.
virtual bool hullMaskerOn () const
 Get the HullMaskerOn.
virtual void setPassiveParameterIndex (DtU16 val)
 Set the PassiveParameterIndex.
virtual DtU16 passiveParameterIndex () const
 Get the PassiveParameterIndex.
virtual void setPropulsionPlantConfiguration (DtUnderwaterAcousticPropulsionPlantConfig val)
 Set the PropulsionPlantConfiguration.
virtual
DtUnderwaterAcousticPropulsionPlantConfig 
propulsionPlantConfiguration () const
 Get the PropulsionPlantConfiguration.
virtual void setShaftRateData (const std::vector< DtUnderwaterAcousticShaftSpeed > &val)
 Set the ShaftRateData.
virtual const std::vector
< DtUnderwaterAcousticShaftSpeed > & 
shaftRateData () const
 Get the ShaftRateData.
- Public Member Functions inherited from DtUnderwaterAcousticsEmissionRepository
 DtUnderwaterAcousticsEmissionRepository ()
 Constructor.
virtual ~DtUnderwaterAcousticsEmissionRepository ()
 Destructor.
 DtUnderwaterAcousticsEmissionRepository (const DtUnderwaterAcousticsEmissionRepository &orig)
 Copy Constructor.
DtUnderwaterAcousticsEmissionRepositoryoperator= (const DtUnderwaterAcousticsEmissionRepository &orig)
 Assignment Operator.
virtual void setEventIdentifier (const DtEventId &val)
 Set the EventIdentifier.
virtual const DtEventIdeventIdentifier () const
 Get the EventIdentifier.
- Public Member Functions inherited from DtEmbeddedSystemRepository
 DtEmbeddedSystemRepository ()
 default constructor
 DtEmbeddedSystemRepository (const DtEmbeddedSystemRepository &orig)
 copy constructor
virtual ~DtEmbeddedSystemRepository ()
 destructor
DtEmbeddedSystemRepositoryoperator= (const DtEmbeddedSystemRepository &orig)
 assignment operator
virtual void setEntityId (const DtEntityIdentifier &id)
 Set the entity identifier.
virtual const DtEntityIdentifierentityId () const
 Get the entity identifier.
virtual void setHostId (const DtGlobalObjectDesignator &id)
 Set the host identifier.
virtual const
DtGlobalObjectDesignator
hostId () const
 Get the host identifier.
virtual void setRelativePosition (const DtVector32 &position)
 Set the position of the object relative to the entity.
virtual const DtVector32relativePosition () const
 Get the position of the object relative to the entity.
- Public Member Functions inherited from DtStateRepository
 DtStateRepository ()
 default constructor
 DtStateRepository (const DtStateRepository &orig)
 copy constructor
virtual ~DtStateRepository ()
 destructor
DtStateRepositoryoperator= (const DtStateRepository &orig)
 assignment operator
virtual void setGlobalId (const DtGlobalObjectDesignator &id)
 Get/Set global identifier, or name.
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.
virtual void setAttributeRecords (const DtStandardVariableRecordPtrVector &records)
 Replace the attribute record set with the records in the given vector.
virtual const
DtAttributeRecordSet
attributeRecordSet () const
 Return the attribute record set.
virtual DtAttributeRecordSetattributeRecordSet ()
 Return the attribute record set.
virtual const
DtStandardVariableRecordPtrVector
attributeRecords () const
 Return the attribute records Any changes to the returned record(s) will modify the records in the recordSet.
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.
virtual DtStandardVariableRecordattributeRecord (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.
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.
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.
virtual
DtStandardVariableRecordPtrVector
getAttributeRecords (DtStandardVariableRecordPtrVector &vec) const
 Get the attribute records Any changes to the returned record(s) will modify the records in the recordSet.
virtual void addAttributeRecord (DtStandardVariableRecord *record)
 Add a clone of given record to the attribute record set.
virtual void addAttributeRecord (std::auto_ptr< DtStandardVariableRecord > record)
 Add the given record to the attribute record set.
virtual void clearAttributeRecords ()
 Clear all records.
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.
virtual std::vector< DtStringstateRepositoryExtensionNames () const
 Returns a set of the registered state repository extension names.
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.
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.

Static Public Member Functions

static
DtPropulsionNoiseStateRepository
create ()
 Create a DtPropulsionNoiseStateRepository.

Protected Attributes

bool myHullMaskerOn
DtU16 myPassiveParameterIndex
DtUnderwaterAcousticPropulsionPlantConfig myPropulsionPlantConfiguration
std::vector
< DtUnderwaterAcousticShaftSpeed
myShaftRateData
- Protected Attributes inherited from DtUnderwaterAcousticsEmissionRepository
DtEventId myEventIdentifier
- Protected Attributes inherited from DtEmbeddedSystemRepository
DtEntityIdentifier myEntityId
DtVector32 myRelativePosition

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

Detailed Description

class DtPropulsionNoiseStateRepository

Instances of DtPropulsionNoiseStateRepository are used to store state data for EmbeddedSystem.UnderwaterAcousticsEmission.PropulsionNoise objects.

Constructor & Destructor Documentation

DtPropulsionNoiseStateRepository::DtPropulsionNoiseStateRepository ( )

Constructor.

virtual DtPropulsionNoiseStateRepository::~DtPropulsionNoiseStateRepository ( )
virtual

Destructor.

DtPropulsionNoiseStateRepository::DtPropulsionNoiseStateRepository ( const DtPropulsionNoiseStateRepository orig)

Copy Constructor.

Member Function Documentation

virtual DtStateRepository* DtPropulsionNoiseStateRepository::clone ( bool  copy) const
virtual

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

Reimplemented from DtUnderwaterAcousticsEmissionRepository.

static DtPropulsionNoiseStateRepository* DtPropulsionNoiseStateRepository::create ( )
static
virtual bool DtPropulsionNoiseStateRepository::hullMaskerOn ( ) const
virtual

Get the HullMaskerOn.

DtPropulsionNoiseStateRepository& DtPropulsionNoiseStateRepository::operator= ( const DtPropulsionNoiseStateRepository orig)

Assignment Operator.

virtual DtU16 DtPropulsionNoiseStateRepository::passiveParameterIndex ( ) const
virtual

Get the PassiveParameterIndex.

virtual void DtPropulsionNoiseStateRepository::printData ( ) const
virtual

Print data to the DtInfo stream.

Reimplemented from DtUnderwaterAcousticsEmissionRepository.

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

Print data to the specified stream.

Reimplemented from DtUnderwaterAcousticsEmissionRepository.

virtual DtUnderwaterAcousticPropulsionPlantConfig DtPropulsionNoiseStateRepository::propulsionPlantConfiguration ( ) const
virtual

Get the PropulsionPlantConfiguration.

virtual void DtPropulsionNoiseStateRepository::setHullMaskerOn ( bool  val)
virtual

Set the HullMaskerOn.

virtual void DtPropulsionNoiseStateRepository::setPassiveParameterIndex ( DtU16  val)
virtual

Set the PassiveParameterIndex.

virtual void DtPropulsionNoiseStateRepository::setPropulsionPlantConfiguration ( DtUnderwaterAcousticPropulsionPlantConfig  val)
virtual

Set the PropulsionPlantConfiguration.

virtual void DtPropulsionNoiseStateRepository::setShaftRateData ( const std::vector< DtUnderwaterAcousticShaftSpeed > &  val)
virtual

Set the ShaftRateData.

virtual const std::vector<DtUnderwaterAcousticShaftSpeed>& DtPropulsionNoiseStateRepository::shaftRateData ( ) const
virtual

Get the ShaftRateData.

Member Data Documentation

bool DtPropulsionNoiseStateRepository::myHullMaskerOn
protected
DtU16 DtPropulsionNoiseStateRepository::myPassiveParameterIndex
protected
DtUnderwaterAcousticPropulsionPlantConfig DtPropulsionNoiseStateRepository::myPropulsionPlantConfiguration
protected
std::vector<DtUnderwaterAcousticShaftSpeed> DtPropulsionNoiseStateRepository::myShaftRateData
protected

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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)