14 #include <vlutil/vlRunnable.h>
15 #include <vlutil/vlString.h>
16 #include <vlutil/vlTime.h>
34 int frameRateValue=-1);
43 virtual void commandOperation() = 0;
46 virtual const DtString& operationName()
const;
50 virtual int frameRate()
const;
51 virtual void setFrameRate(
int rate);
55 virtual double timeSlice()
const;
59 virtual DtTime startTime();
64 virtual DtTime sleepRemainingTime(DtTime startTime=-1.0);
DtClock myClock
Timer to help control processing.
Definition: lgrCommandThread.h:75
DtString myOperationName
Name of this operation.
Definition: lgrCommandThread.h:72
This class provides the base interface for DtLgrCommandHandler.
Definition: lgrDriver.h:35
std::shared_ptr< DtCommandDispatcher > DtCommandDispatcherSP
Definition: lgrCommandDispatcher.h:101
/brief Base class for defining command operations that run in a separate thread.
Definition: lgrCommandThread.h:26
DtCommandDispatcherSP myDispatcher
Used to dispatch the FinishCommandThread and any others that are needed.
Definition: lgrCommandThread.h:69
double myTimeSlice
1/frameRate provides time slice available for each processing cycle.
Definition: lgrCommandThread.h:83
#define DT_DLL_LGRCORE
Definition: lgrCore.h:19
Contains MAKLogger::DtLgrCommandHandler class.
DtTime myStartTime
Holds the start time for a processing cycle.
Definition: lgrCommandThread.h:78
Contains lgrCore library definitions.