VR-Forces 4.10 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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
9
10
#ifndef DtSimEntryUpdater_H_
11
#define DtSimEntryUpdater_H_
12
13
#include <
vrvCore/vrvCore.h
>
14
#include <
vrvUtil/DtVirtualBaseClass.h
>
15
#include <
vrvCore/DtUniqueID.h
>
16
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
26
class
DT_DLL_VRVCORE
DtSimEntryUpdater
:
public
DtVirtualBaseClass
27
{
28
29
public
:
30
31
enum
UpdateRate
32
{
33
NoUpdates = 0x0000,
34
35
//---
36
At8s = 0x0001,
37
At4s = 0x0002,
38
At2s = 0x0004,
39
40
At1Hz = 0x0008,
41
At2Hz = 0x0010,
42
At4Hz = 0x0020,
43
At8Hz = 0x0040,
44
At16Hz = 0x0080,
45
At32Hz = 0x0100,
46
At64Hz = 0x0200,
47
At128Hz = 0x0400,
48
At256Hz = 0x0800,
49
At512Hz = 0x1000,
50
51
AnyUpdates= 0xFFFF
52
};
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
makVrv::DtVirtualBaseClass
Virtual base class.
Definition:
DtVirtualBaseClass.h:19
makVrv::DtSimEntryUpdater::UpdateRate
UpdateRate
Definition:
DtSimEntryUpdater.h:31
DtVirtualBaseClass.h
Contains makVrv::DtVirtualBaseClass class.
DT_DLL_VRVCORE
#define DT_DLL_VRVCORE
Definition:
vrvCore.h:20
makVrv::DtUniqueID
unsigned long long DtUniqueID
Definition:
DtUniqueID.h:19
makVrv::DtSimEntryUpdater
The DtSimEntryUpdater is responsible for setting the update rate of each DtSimEnty.
Definition:
DtSimEntryUpdater.h:26
makVrv::DtSimEntryUpdater::myDe
DtDe & myDe
Definition:
DtSimEntryUpdater.h:80
DtUniqueID.h
Contains makVrv::DtUniqueID type.
makVrv::DtDe
The DtDe is the core component of any VR-Vantage application.
Definition:
DtDe.h:69
vrvCore.h
Contains DLL export macros.
Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)