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
DtUnderwaterAcousticsEmissionRepository Class Reference

Instances of DtUnderwaterAcousticsEmissionStateRepository are used to store state data for EmbeddedSystem.UnderwaterAcousticsEmission objects. More...

+ Inheritance diagram for DtUnderwaterAcousticsEmissionRepository:
+ Collaboration diagram for DtUnderwaterAcousticsEmissionRepository:

Public Member Functions

 DtUnderwaterAcousticsEmissionRepository ()
 Constructor.
virtual ~DtUnderwaterAcousticsEmissionRepository ()
 Destructor.
 DtUnderwaterAcousticsEmissionRepository (const DtUnderwaterAcousticsEmissionRepository &orig)
 Copy Constructor.
DtUnderwaterAcousticsEmissionRepositoryoperator= (const DtUnderwaterAcousticsEmissionRepository &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 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
DtUnderwaterAcousticsEmissionRepository
create ()
 Create a DtUnderwaterAcousticsEmissionStateRepository.

Protected Attributes

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

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

Constructor & Destructor Documentation

DtUnderwaterAcousticsEmissionRepository::DtUnderwaterAcousticsEmissionRepository ( )

Constructor.

virtual DtUnderwaterAcousticsEmissionRepository::~DtUnderwaterAcousticsEmissionRepository ( )
virtual

Destructor.

DtUnderwaterAcousticsEmissionRepository::DtUnderwaterAcousticsEmissionRepository ( const DtUnderwaterAcousticsEmissionRepository orig)

Copy Constructor.

Member Function Documentation

virtual DtStateRepository* DtUnderwaterAcousticsEmissionRepository::clone ( bool  copy) const
virtual
static DtUnderwaterAcousticsEmissionRepository* DtUnderwaterAcousticsEmissionRepository::create ( )
static
virtual const DtEventId& DtUnderwaterAcousticsEmissionRepository::eventIdentifier ( ) const
virtual

Get the EventIdentifier.

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

Assignment Operator.

virtual void DtUnderwaterAcousticsEmissionRepository::printData ( ) const
virtual
virtual void DtUnderwaterAcousticsEmissionRepository::printDataToStream ( std::ostream &  stream) const
virtual
virtual void DtUnderwaterAcousticsEmissionRepository::setEventIdentifier ( const DtEventId val)
virtual

Set the EventIdentifier.

Reimplemented in DtUnderwaterAcousticsStateRepository.

Member Data Documentation

DtEventId DtUnderwaterAcousticsEmissionRepository::myEventIdentifier
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)