VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlutil
vlRunnable.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
8
#pragma once
9
#include "
vlMachineTypes.h
"
10
11
#ifdef DtUSE_UTILITIES_NAMESPACE
12
namespace
DtUSE_UTILITIES_NAMESPACE
13
{
14
#endif
15
16
17
28
class
DT_DLL_VLUTIL
DtRunnable
29
{
30
public
:
31
33
DtRunnable
();
34
36
virtual
~
DtRunnable
();
37
39
virtual
void
run() = 0;
40
43
virtual
void
stop();
44
46
bool
timeToStop();
47
48
protected
:
49
friend
class
DtThreadStart
;
50
52
void
execute
(
volatile
bool
* stopFlag);
53
54
protected
:
56
volatile
bool
*
myStopFlag
;
57
};
58
59
#ifdef DtUSE_UTILITIES_NAMESPACE
60
}
61
#endif
62
63
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)