VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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 Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)