MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
MAKLogger::DtLgrPlaybackOperation Class Reference

Basic playback operation with driver and interface. More...

+ Inheritance diagram for MAKLogger::DtLgrPlaybackOperation:
+ Collaboration diagram for MAKLogger::DtLgrPlaybackOperation:

Public Member Functions

 DtLgrPlaybackOperation (DtLogger &logger, DtLgrPlaybackDriver *driver, const DtString &operationName)
 CTOR.
virtual ~DtLgrPlaybackOperation ()
 DTOR.
- Public Member Functions inherited from MAKLogger::DtLgrCommandThread
 DtLgrCommandThread (DtLgrCommandHandler *commandHandler, const DtString &nameOfOperation, int frameRateValue=-1)
 CTOR.
virtual ~DtLgrCommandThread ()
 DTOR.
virtual void run ()
 Run the command operation and generate the FinishCommandThread command on completion.
virtual void commandOperation ()=0
 The actual operation to run.
virtual const DtStringoperationName () const
 Return the operation name.
virtual double timeSlice () const
 Get the time slice in seconds = 1/frameRate.
virtual DtTime startTime ()
 Using the clock, set time for the start of a processing cycle Return the start time.
virtual DtTime sleepRemainingTime (DtTime startTime=-1.0)
 Given start time, check and sleep for time remaining in time slice Uses myStartTime if time is negative Return the total time taken since start through end of sleep.
virtual int frameRate () const
 Get/Set frame rate (operation cycles per second)
virtual void setFrameRate (int rate)
 Get/Set frame rate (operation cycles per second)

Static Public Attributes

static int theDefaultFrameRate
 Default frame rate = 100.

Protected Member Functions

virtual DtStringinsertTapeFilePath (DtString &pipelineConfiguration, const DtString &tapeFilePath) const
 Insert truncated Logger tape file path into pipeline configuration if it contains the s placeholder.

Protected Attributes

DtLgrPlaybackDrivermyDriver
 The playback driver.
DtLgrPlaybackInterfacemyInterface
 The playback interface.
- Protected Attributes inherited from MAKLogger::DtLgrCommandThread
DtCommandDispatcherSP myDispatcher
 Used to dispatch the FinishCommandThread and any others that are needed.
DtString myOperationName
 Name of this operation.
DtClock myClock
 Timer to help control processing.
DtTime myStartTime
 Holds the start time for a processing cycle.
double myTimeSlice
 1/frameRate provides time slice available for each processing cycle.

Detailed Description

Basic playback operation with driver and interface.

Constructor & Destructor Documentation

MAKLogger::DtLgrPlaybackOperation::DtLgrPlaybackOperation ( DtLogger logger,
DtLgrPlaybackDriver driver,
const DtString operationName 
)

CTOR.

virtual MAKLogger::DtLgrPlaybackOperation::~DtLgrPlaybackOperation ( )
virtual

DTOR.

Member Function Documentation

virtual DtString& MAKLogger::DtLgrPlaybackOperation::insertTapeFilePath ( DtString pipelineConfiguration,
const DtString tapeFilePath 
) const
protectedvirtual

Insert truncated Logger tape file path into pipeline configuration if it contains the s placeholder.

Return the provided pipeline configuration.

Member Data Documentation

DtLgrPlaybackDriver* MAKLogger::DtLgrPlaybackOperation::myDriver
protected

The playback driver.

DtLgrPlaybackInterface* MAKLogger::DtLgrPlaybackOperation::myInterface
protected

The playback interface.

int MAKLogger::DtLgrPlaybackOperation::theDefaultFrameRate
static

Default frame rate = 100.


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

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)