VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
commModelManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: commModelManager.h,v $ $Revision: 1.4 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef commModelManager_h
15 #define commModelManager_h
16 
18 #include <map>
19 #include <vlutil/vlString.h>
20 
21 class DtSimManager;
23 class DtCommModel;
24 class DtFilename;
25 
30 {
31 private:
33 
36  DtCommModelManager& operator=(const DtCommModelManager& orig);
38 
39 protected:
41  DtCommModelManager(DtSimManager* simManager);
43  virtual bool init();
44 
45 public:
49  static DtCommModelManager* create(DtSimManager* simManager);
50 
51  virtual ~DtCommModelManager();
52 
55  virtual void reset();
56 
60  virtual bool initializeForScenario(const DtFilename& paramsFile);
61 
67  virtual bool loadCommModelFile(const DtFilename& paramsFile);
68 
70  virtual bool setupCommModels();
71 
74  virtual DtCommModel* lookupCommModel(const DtString& networkName);
75 
78  static void tickCallback(void* usr);
79 
81  virtual void tick();
82 
83 protected:
85  virtual bool setupCommModels(const DtCommModelDescriptorList& descList);
86 
88  void clearCommModels();
89 
90 protected:
92  typedef std::map<DtString, DtCommModel*> DtCommModelMap;
95 };
96 
97 #endif

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)