VR-Link API Documentation for HLA 1.3
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtEmbeddedSystemRepository Class Reference

Instances of DtEmbeddedSystemRepository are used to store the state of embedded systems. More...

+ Inheritance diagram for DtEmbeddedSystemRepository:
+ Collaboration diagram for DtEmbeddedSystemRepository:

Public Member Functions

 DtEmbeddedSystemRepository ()
 default constructor
 DtEmbeddedSystemRepository (const DtEmbeddedSystemRepository &orig)
 copy constructor
virtual ~DtEmbeddedSystemRepository ()
 destructor
DtEmbeddedSystemRepositoryoperator= (const DtEmbeddedSystemRepository &orig)
 assignment operator
virtual DtStateRepositoryclone (bool copy) const
 Return a copy/empty object of the same type as this.
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 DtVector &position)
 Set the position of the object relative to the entity.
virtual const DtVectorrelativePosition () const
 Get the position of the object relative to the entity.
virtual void printData () const
 Print data to the DtInfo stream.
virtual void printDataToStream (std::ostream &stream) const
 Print state data to the specified stream.
- Public Member Functions inherited from DtStateRepository
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 void setLocalId (const DtObjectId &id)
 Get/Set local identifier, or handle.
virtual const DtObjectIdlocalId () const

Static Public Member Functions

static DtEmbeddedSystemRepositorycreate ()

Protected Attributes

DtEntityIdentifier myEntityId
 Embedded system class attributes.
DtGlobalObjectDesignator myHostId
DtVector myRelativePosition
- Protected Attributes inherited from DtStateRepository
DtGlobalObjectDesignator myGlobalId
DtObjectId myLocalId

Additional Inherited Members

- Protected Member Functions inherited from DtStateRepository
 DtStateRepository ()
 Constructors are protected since this is an abstract base class.
 DtStateRepository (const DtStateRepository &orig)
 copy constructor

Detailed Description

Instances of DtEmbeddedSystemRepository are used to store the state of embedded systems.

An embedded system is an object which is a component of an entity: for example, a radar unit on an aircraft.

Constructor & Destructor Documentation

DtEmbeddedSystemRepository::DtEmbeddedSystemRepository ( )

default constructor

DtEmbeddedSystemRepository::DtEmbeddedSystemRepository ( const DtEmbeddedSystemRepository orig)

copy constructor

virtual DtEmbeddedSystemRepository::~DtEmbeddedSystemRepository ( )
virtual

destructor

Member Function Documentation

virtual DtStateRepository* DtEmbeddedSystemRepository::clone ( bool  copy) const
virtual
static DtEmbeddedSystemRepository* DtEmbeddedSystemRepository::create ( )
static
virtual const DtEntityIdentifier& DtEmbeddedSystemRepository::entityId ( ) const
virtual

Get the entity identifier.

In DIS this is the same as the HostID, but may not be used in HLA.

virtual const DtGlobalObjectDesignator& DtEmbeddedSystemRepository::hostId ( ) const
virtual

Get the host identifier.

(corresponds to the emitting system ID) for DIS this is the SAME as EntityId

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

assignment operator

virtual void DtEmbeddedSystemRepository::printData ( ) const
virtual
virtual void DtEmbeddedSystemRepository::printDataToStream ( std::ostream &  stream) const
virtual
virtual const DtVector& DtEmbeddedSystemRepository::relativePosition ( ) const
virtual

Get the position of the object relative to the entity.

virtual void DtEmbeddedSystemRepository::setEntityId ( const DtEntityIdentifier id)
virtual

Set the entity identifier.

In DIS this is the same as the HostID, used by RPR FOM, but may not be present in all FOMS.

Reimplemented in DtUnderwaterAcousticsStateRepository.

virtual void DtEmbeddedSystemRepository::setHostId ( const DtGlobalObjectDesignator id)
virtual

Set the host identifier.

(corresponds to the emitting system ID) for DIS this is the SAME as EntityId

Reimplemented in DtUnderwaterAcousticsStateRepository.

virtual void DtEmbeddedSystemRepository::setRelativePosition ( const DtVector position)
virtual

Set the position of the object relative to the entity.

Member Data Documentation

DtEntityIdentifier DtEmbeddedSystemRepository::myEntityId
protected

Embedded system class attributes.

DtGlobalObjectDesignator DtEmbeddedSystemRepository::myHostId
protected
DtVector DtEmbeddedSystemRepository::myRelativePosition
protected

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

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)