VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtSimEntryUpdater.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtSimEntryUpdater.h,v $ $Revision: 1.12 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtSimEntryUpdater_H_
14
#define DtSimEntryUpdater_H_
15
16
#include <
vrvCore/vrvCore.h
>
17
#include <
vrvUtil/DtVirtualBaseClass.h
>
18
#include <
vrvCore/DtUniqueID.h
>
19
20
21
namespace
makVrv
22
{
23
class
DtDe;
24
29
class
DT_DLL_VRVCORE
DtSimEntryUpdater
:
public
DtVirtualBaseClass
30
{
31
32
public
:
33
34
enum
UpdateRate
35
{
36
NoUpdates = 0x00,
37
38
//---
39
At8s = 0x01,
40
At4s = 0x02,
41
At2s = 0x04,
42
43
At1Hz = 0x08,
44
At2Hz = 0x10,
45
At4Hz = 0x20,
46
At8Hz = 0x40,
47
At16Hz = 0x80,
48
At32Hz = 0x100,
49
At64Hz = 0x200,
50
51
AnyUpdates= 0xFFF
52
53
};
54
56
virtual
~
DtSimEntryUpdater
();
57
59
static
DtSimEntryUpdater
& instance(
DtDe
& de);
60
62
static
void
registerInstance(
DtDe
& de,
DtSimEntryUpdater
* instance);
63
68
virtual
void
setUpdateRate(
DtUniqueID
id
, UpdateRate rate);
69
71
virtual
void
forceUpdate(
DtUniqueID
id
);
72
73
protected
:
74
76
DtSimEntryUpdater
(
DtDe
& de);
77
78
protected
:
79
80
DtDe
&
myDe
;
81
82
};
83
}
84
85
#endif
86
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)