VR-Link API Documentation for DIS
Public Member Functions | Protected Member Functions | Protected Attributes
DtStateRepository Class Reference

DtStateRepository is an abstract base class for maintaining state for an object. More...

+ Inheritance diagram for DtStateRepository:
+ Collaboration diagram for DtStateRepository:

List of all members.

Public Member Functions

virtual ~DtStateRepository ()
 destructor
DtStateRepositoryoperator= (const DtStateRepository &orig)
 assignment operator
virtual DtStateRepositoryclone (bool copy=false) const =0
 Return a copy/empty object of the same type as this.
virtual void printData () const =0
 Print State Data to the DtInfo Stream.
virtual void printDataToStream (std::ostream &stream) const
 Prints the State Data to the stream specified.
virtual void setGlobalId (const DtGlobalObjectDesignator &id)
 Get/Set global identifier, or name.
virtual const
DtGlobalObjectDesignator
globalId () const

Protected Member Functions

 DtStateRepository ()
 Constructors are protected since this is an abstract base class.
 DtStateRepository (const DtStateRepository &orig)
 copy constructor

Protected Attributes

DtGlobalObjectDesignator myGlobalId

Detailed Description

DtStateRepository is an abstract base class for maintaining state for an object.

Instances of DtStateRepository subclasses are used to store state for specific object types, such as vehicles or lifeforms.


Constructor & Destructor Documentation

destructor

Constructors are protected since this is an abstract base class.

default constructor

copy constructor


Member Function Documentation

virtual DtStateRepository* DtStateRepository::clone ( bool  copy = false) const [pure virtual]
virtual const DtGlobalObjectDesignator& DtStateRepository::globalId ( ) const [virtual]
DtStateRepository& DtStateRepository::operator= ( const DtStateRepository orig)

assignment operator

virtual void DtStateRepository::printData ( ) const [pure virtual]
virtual void DtStateRepository::printDataToStream ( std::ostream &  stream) const [virtual]
virtual void DtStateRepository::setGlobalId ( const DtGlobalObjectDesignator id) [virtual]

Get/Set global identifier, or name.

Set by VR-Link for reflected objects. Not necessary to set for local objects.


Member Data Documentation


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)