VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simCommandExecutorFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <map>
15 #include "vlutil/vlString.h"
17 
19 class DtSimManager;
20 
21 typedef DtSimCommandExecutor * (*DtSimCommandExecutorCreatorFcn)(DtSimManager*);
22 
25 {
26 public:
27 
30 
32  virtual ~DtSimCommandExecutorFactory();
33 
38  virtual void addCreatorFcn(const DtSimCommandMessageType& type, DtSimCommandExecutorCreatorFcn fcn);
39 
41  virtual void removeCreatorFcn(const DtSimCommandMessageType& type, DtSimCommandExecutorCreatorFcn fcn);
42 
44  virtual DtSimCommandExecutor* createSimCommandExecutor(const DtSimCommandMessageType& type,
45  DtSimManager* simManager) const;
46 
47  static DtSimCommandExecutorFactory* create();
48 
49 private:
52 
55 
56 protected:
57 
58  typedef std::map<DtSimCommandMessageType, DtSimCommandExecutorCreatorFcn> DtCreatorMap;
60 };

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)