VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
15 #include <vrvCore/DtUniqueID.h>
16 
17 
18 namespace makVrv
19 {
20  class DtDe;
21 
27  {
28 
29  public:
30 
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 
77 
78  protected:
79 
81 
82  };
83 }
84 
85 #endif
86 
Virtual base class.
Definition: DtVirtualBaseClass.h:19
UpdateRate
Definition: DtSimEntryUpdater.h:31
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
The DtSimEntryUpdater is responsible for setting the update rate of each DtSimEnty.
Definition: DtSimEntryUpdater.h:26
DtDe & myDe
Definition: DtSimEntryUpdater.h:80
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
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)