VR-Forces 4.8 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 /******************************************************************************
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>
18 #include <vrvCore/DtUniqueID.h>
19 
20 
21 namespace makVrv
22 {
23  class DtDe;
24 
30  {
31 
32  public:
33 
35  {
36  NoUpdates = 0x0000,
37 
38  //---
39  At8s = 0x0001,
40  At4s = 0x0002,
41  At2s = 0x0004,
42 
43  At1Hz = 0x0008,
44  At2Hz = 0x0010,
45  At4Hz = 0x0020,
46  At8Hz = 0x0040,
47  At16Hz = 0x0080,
48  At32Hz = 0x0100,
49  At64Hz = 0x0200,
50  At128Hz = 0x0400,
51  At256Hz = 0x0800,
52  At512Hz = 0x1000,
53 
54  AnyUpdates= 0xFFFF
55  };
57 
59  virtual ~DtSimEntryUpdater();
60 
62  static DtSimEntryUpdater& instance(DtDe& de);
63 
65  static void registerInstance(DtDe& de, DtSimEntryUpdater* instance);
66 
71  virtual void setUpdateRate(DtUniqueID id, UpdateRate rate);
72 
74  virtual void forceUpdate(DtUniqueID id);
75 
76  protected:
77 
80 
81  protected:
82 
84 
85  };
86 }
87 
88 #endif
89 
Virtual base class.
Definition: DtVirtualBaseClass.h:22
UpdateRate
Definition: DtSimEntryUpdater.h:34
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
The DtSimEntryUpdater is responsible for setting the update rate of each DtSimEnty.
Definition: DtSimEntryUpdater.h:29
DtDe & myDe
Definition: DtSimEntryUpdater.h:83
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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)