VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrvCommandFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: $ $Revision: 102052 $ $State: $
7 *******************************************************************************/
8 
11 
12 #pragma once
13 
15 
17 
18 #include <boost/function.hpp>
19 
20 namespace makVrv
21 {
22  class DtVrvCommand;
23 
27  {
28  public:
31 
33  virtual ~DtVrvCommandFactory();
34 
36  virtual void initialize(const DtSharedVrvCommandSettings::DtVrvCommandSeedMap& seeds,
37  boost::function<DtUniqueID (const std::string&)> func);
38 
40  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
41 
42  protected:
43  typedef std::map<vrvControlToolkit::DtVrvControlTypeEnum, DtVrvCommandCreator*> CreatorMap;
45 };
46 
47 } //makVrv::
std::map< vrvControlToolkit::DtVrvControlTypeEnum, DtVrvBaseCommandCreatorSeed * > DtVrvCommandSeedMap
Definition: DtSharedVrvCommandSettings.h:31
Contains makVrv::DtSharedVrvCommandSettings class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:234
CreatorMap myCreators
Definition: DtVrvCommandFactory.h:44
Contains vrvControlToolkit control structures and defines.
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
Factory for creating vrvCommands given a vrvControl packet.
Definition: DtVrvCommandFactory.h:26
std::map< vrvControlToolkit::DtVrvControlTypeEnum, DtVrvCommandCreator * > CreatorMap
Definition: DtVrvCommandFactory.h:43

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)