![]() |
MAK Data Logger API Documentation for HLA
|
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 DtString & | operationName () 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 DtString & | insertTapeFilePath (DtString &pipelineConfiguration, const DtString &tapeFilePath) const |
| Insert truncated Logger tape file path into pipeline configuration if it contains the s placeholder. | |
Protected Attributes | |
| DtLgrPlaybackDriver * | myDriver |
| The playback driver. | |
| DtLgrPlaybackInterface * | myInterface |
| 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. | |
Basic playback operation with driver and interface.
| MAKLogger::DtLgrPlaybackOperation::DtLgrPlaybackOperation | ( | DtLogger & | logger, |
| DtLgrPlaybackDriver * | driver, | ||
| const DtString & | operationName | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
Insert truncated Logger tape file path into pipeline configuration if it contains the s placeholder.
Return the provided pipeline configuration.
|
protected |
The playback driver.
|
protected |
The playback interface.
|
static |
Default frame rate = 100.