MAK Data Logger API Documentation for DIS
List of all members | Signals | Public Member Functions | Protected Member Functions | Protected Attributes
DtObjectHistoryRepository Class Reference
+ Inheritance diagram for DtObjectHistoryRepository:
+ Collaboration diagram for DtObjectHistoryRepository:

Signals

void updatedObjectRepository (DtObjectHistory *)

Public Member Functions

 DtObjectHistoryRepository (DtDatatypeManager &dm)
 Constructor.
virtual ~DtObjectHistoryRepository ()
 Destructor.
virtual void init (DtExerciseConn *ex)
 Initialize.
virtual DtObjectHistorydiscoverObject (DtReflectedGenericObject *obj)
 Discover an object - create the history of the given object.
virtual void removeObject (DtReflectedGenericObject *obj)
 Remove the history of the given object.
virtual void reflectObjectUpdate (const DtStateMsg &msg, DtHlaObject *obj)
 Update the history of the given object with the given state update A new history is created if it does not already exist.
virtual DtObjectHistorygetObjectHistoryRepositoryRep (DtString objectName)
 Get the history for the given object name.

Protected Member Functions

 DtObjectHistoryRepository (DtObjectHistoryRepository &orig)
DtObjectHistoryRepositoryoperator= (DtObjectHistoryRepository &rhs)

Protected Attributes

std::map< DtString,
DtObjectHistory * > 
myObjectHistories
DtExerciseConnmyExerciseConn
DtDatatypeManagermyDatatypeManager

Constructor & Destructor Documentation

DtObjectHistoryRepository::DtObjectHistoryRepository ( DtDatatypeManager dm)

Constructor.

virtual DtObjectHistoryRepository::~DtObjectHistoryRepository ( )
virtual

Destructor.

DtObjectHistoryRepository::DtObjectHistoryRepository ( DtObjectHistoryRepository orig)
protected

Member Function Documentation

virtual DtObjectHistory* DtObjectHistoryRepository::discoverObject ( DtReflectedGenericObject *  obj)
virtual

Discover an object - create the history of the given object.

Return the new object history

virtual DtObjectHistory* DtObjectHistoryRepository::getObjectHistoryRepositoryRep ( DtString  objectName)
virtual

Get the history for the given object name.

virtual void DtObjectHistoryRepository::init ( DtExerciseConn ex)
virtual

Initialize.

DtObjectHistoryRepository& DtObjectHistoryRepository::operator= ( DtObjectHistoryRepository rhs)
protected
virtual void DtObjectHistoryRepository::reflectObjectUpdate ( const DtStateMsg &  msg,
DtHlaObject *  obj 
)
virtual

Update the history of the given object with the given state update A new history is created if it does not already exist.

virtual void DtObjectHistoryRepository::removeObject ( DtReflectedGenericObject *  obj)
virtual

Remove the history of the given object.

void DtObjectHistoryRepository::updatedObjectRepository ( DtObjectHistory )
signal

Member Data Documentation

DtDatatypeManager& DtObjectHistoryRepository::myDatatypeManager
protected
DtExerciseConn* DtObjectHistoryRepository::myExerciseConn
protected
std::map<DtString,DtObjectHistory*> DtObjectHistoryRepository::myObjectHistories
protected

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

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)