VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfcore
scheduler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: scheduler.h,v $ $Revision: 1.8 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtScheduler_H_
13
#define DtScheduler_H_
14
15
#include <vlutil/vlList.h>
16
#include <
vrfutil/vlClock.h
>
17
18
class
DtTimer
;
19
class
DtSimManager
;
20
29
#include "
vrfcore/vrfcoreDefines.h
"
30
class
DT_DLL_vrfcore
DtScheduler
:
public
DtIntrusiveList
31
{
32
public
:
33
36
DtScheduler
();
37
DtScheduler
(
DtSimManager
* simManager);
38
40
DtScheduler
(
const
DtScheduler
& orig);
41
43
DtScheduler
& operator=(
const
DtScheduler
& orig);
44
46
virtual
~
DtScheduler
();
47
55
virtual
void
tick();
56
59
63
virtual
void
addTimer(
DtTimer
*timer);
64
67
virtual
void
removeTimer (
DtTimer
*timer);
68
71
virtual
void
reset(
bool
clearAll =
false
);
72
75
void
reSort(
DtTimer
*timer);
76
77
protected
:
78
80
void
doPendingResorts();
81
84
void
moveToEnd(
DtTimer
*timer);
85
89
bool
myInTick
;
90
91
DtSimManager
*
mySimManager
;
92
};
93
94
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)