VR-Forces 4.1 Class Documentation
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"
16 #include "vrftasks/radioMsgTypes.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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)