Public Member Functions | Protected Member Functions | Protected Attributes
MAKLogger::DtHlaLogger Class Reference

DtHlaLogger is a Hla interface for creating a logger. More...

+ Inheritance diagram for MAKLogger::DtHlaLogger:
+ Collaboration diagram for MAKLogger::DtHlaLogger:

List of all members.

Public Member Functions

virtual ~DtHlaLogger ()
 Creates a Hla Logger and optionally initializes it.
virtual void init ()
 Init the Hla Logger.
void connect (DtExerciseConnInitializer &exConnInit)
 Tell the logger to connect using an Exercise Connection Initializer.
virtual bool tick ()
 Tick the logger once, function is non-blocking.

Protected Member Functions

 DtHlaLogger ()
 Protected CTOR.

Protected Attributes

DtLgrHlaSimInterfacemySimInterface

Detailed Description

DtHlaLogger is a Hla interface for creating a logger.

Automatically registers the Hla protocol with the logger and provides helper functions.


Constructor & Destructor Documentation

virtual MAKLogger::DtHlaLogger::~DtHlaLogger ( ) [virtual]

Creates a Hla Logger and optionally initializes it.

After initialization no additional drivers may be added. Destructor for the logger.

MAKLogger::DtHlaLogger::DtHlaLogger ( ) [protected]

Protected CTOR.

Exceptions:
DtCorruptedStateis thrown when unable to construct logger.

Member Function Documentation

virtual void MAKLogger::DtHlaLogger::init ( ) [virtual]

Init the Hla Logger.

Calls base init, then creates sim interface.

Exceptions:
DtCorruptedState

Reimplemented from MAKLogger::DtLogger.

virtual bool MAKLogger::DtHlaLogger::tick ( ) [virtual]

Tick the logger once, function is non-blocking.

This causes the logger to tick for one round of execution. Typically an application will have a loop where it ticks the logger.

Returns:
Returns whether the logger should continue to be ticked.
Return values:
trueThe logger can still tick.
falseThe logger should exit.

Reimplemented from MAKLogger::DtLogger.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)