MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrCore
lgrCommandThread.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2016 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#pragma once
10
11
#include <
lgrCore/lgrCore.h
>
12
#include <
lgrCore/lgrDriver.h
>
13
14
#include <vlutil/vlRunnable.h>
15
#include <vlutil/vlString.h>
16
#include <vlutil/vlTime.h>
17
18
namespace
MAKLogger
19
{
20
26
class
DT_DLL_LGRCORE
DtLgrCommandThread
:
public
DtRunnable
27
{
28
public
:
33
DtLgrCommandThread
(
DtLgrCommandHandler
* commandHandler,
const
DtString
& nameOfOperation,
34
int
frameRateValue=-1);
35
37
virtual
~
DtLgrCommandThread
();
38
40
virtual
void
run();
41
43
virtual
void
commandOperation() = 0;
44
46
virtual
const
DtString
& operationName()
const
;
47
49
50
virtual
int
frameRate()
const
;
51
virtual
void
setFrameRate(
int
rate);
53
55
virtual
double
timeSlice()
const
;
56
59
virtual
DtTime startTime();
60
64
virtual
DtTime sleepRemainingTime(DtTime startTime=-1.0);
65
66
protected
:
67
69
DtCommandDispatcherSP
myDispatcher
;
70
72
DtString
myOperationName
;
73
75
DtClock
myClock
;
76
78
DtTime
myStartTime
;
79
83
double
myTimeSlice
;
84
85
};
86
87
88
}
89
Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (
www.mak.com
)