VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtSimEntryUpdater.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSimEntryUpdater.h,v $ $Revision: 1.12 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtSimEntryUpdater_H_
00014 #define DtSimEntryUpdater_H_
00015 
00016 #include <vrvCore/vrvCore.h>
00017 #include <vrvUtil/DtVirtualBaseClass.h>
00018 #include <vrvCore/DtUniqueID.h>
00019 
00020 
00021 namespace makVrv
00022 {
00023    class DtDe;
00024 
00029    class DT_DLL_VRVCORE DtSimEntryUpdater : public DtVirtualBaseClass
00030    {
00031 
00032    public:
00033 
00034       enum UpdateRate
00035       {
00036          NoUpdates = 0x00, 
00037 
00038          //---
00039          At8s      = 0x01, 
00040          At4s      = 0x02, 
00041          At2s      = 0x04, 
00042 
00043          At1Hz     = 0x08, 
00044          At2Hz     = 0x10, 
00045          At4Hz     = 0x20, 
00046          At8Hz     = 0x40, 
00047          At16Hz    = 0x80, 
00048          At32Hz    = 0x100, 
00049          At64Hz    = 0x200, 
00050 
00051          AnyUpdates= 0xFFF 
00052 
00053       };
00054 
00056       virtual ~DtSimEntryUpdater();
00057 
00059       static DtSimEntryUpdater& instance(DtDe& de);
00060 
00062       static void registerInstance(DtDe& de, DtSimEntryUpdater* instance);
00063 
00068       virtual void setUpdateRate(DtUniqueID id, UpdateRate rate);
00069 
00071       virtual void forceUpdate(DtUniqueID id);
00072 
00073    protected:
00074 
00076       DtSimEntryUpdater(DtDe& de);
00077 
00078    protected:
00079 
00080       DtDe& myDe;
00081 
00082    };
00083 }
00084 
00085 #endif
00086 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)