VR-Link API Documentation for HLA 1516
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:

List of all members.

Public Member Functions

 DtEmbeddedSystemRepository ()
 default constructor
 DtEmbeddedSystemRepository (const DtEmbeddedSystemRepository &orig)
 copy constructor
virtual ~DtEmbeddedSystemRepository ()
 destructor
DtEmbeddedSystemRepository & operator= (const DtEmbeddedSystemRepository &orig)
 assignment operator
virtual DtStateRepository * clone (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 DtEntityIdentifier & entityId () 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 DtVector & relativePosition () 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.

Static Public Member Functions

static DtEmbeddedSystemRepository * create ()

Protected Attributes

DtEntityIdentifier myEntityId
 Embedded system class attributes.
DtGlobalObjectDesignator myHostId
DtVector myRelativePosition

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

default constructor

copy constructor

destructor


Member Function Documentation

virtual DtStateRepository* DtEmbeddedSystemRepository::clone ( bool  copy) const [virtual]
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.

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.

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

virtual void DtEmbeddedSystemRepository::setRelativePosition ( const DtVector &  position) [virtual]

Set the position of the object relative to the entity.


Member Data Documentation

Embedded system class attributes.


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)