VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtUpdaterManager.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2009 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtUpdaterManager.h,v $ $Revision: 1.9 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008  
00012  
00013 #pragma once
00014 #include <vrvCore/vrvCore.h> 
00015 #include <vrvCore/DtUniqueID.h>
00016 #include <vector>
00017 #include <boost/unordered_map.hpp>
00018 
00019 namespace makVrv 
00020 { 
00021    class DtUpdater;
00022    class DtDe;
00023    class DtRenderer;
00024 
00030    class DT_DLL_VRVCORE DtUpdaterManager
00031    { 
00032    public:
00033 
00034       DtUpdaterManager(DtDe& de);
00035 
00036       virtual ~DtUpdaterManager();
00037 
00039       virtual void update( double simTime );
00040 
00042       virtual void addUpdater(DtUpdater& updater);      
00043 
00045       virtual void removeUpdater(DtUpdater& updater);
00046       
00047    protected:
00048 
00049       typedef std::vector<DtUpdater*> Updaters;
00050       
00051       DtDe& myDe;
00052       bool myInUpdateFlag;
00053       Updaters myUpdaters;
00054    };
00055 } 

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)