VR-Forces 4.10 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 
8 
9 #pragma once
10 
12 
14 
15 #include <boost/function.hpp>
16 
17 namespace makVrv
18 {
19  class DtVrvCommand;
20 
24  {
25  public:
28 
30  virtual ~DtVrvCommandFactory();
31 
33  virtual void initialize(const DtSharedVrvCommandSettings::DtVrvCommandSeedMap& seeds,
34  boost::function<DtUniqueID (const std::string&)> func);
35 
37  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
38 
39  protected:
40  typedef std::map<vrvControlToolkit::DtVrvControlTypeEnum, DtVrvCommandCreator*> CreatorMap;
42 };
43 
44 } //makVrv::
std::map< vrvControlToolkit::DtVrvControlTypeEnum, DtVrvBaseCommandCreatorSeed * > DtVrvCommandSeedMap
Definition: DtSharedVrvCommandSettings.h:28
Contains makVrv::DtSharedVrvCommandSettings class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:242
CreatorMap myCreators
Definition: DtVrvCommandFactory.h:41
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:23
std::map< vrvControlToolkit::DtVrvControlTypeEnum, DtVrvCommandCreator * > CreatorMap
Definition: DtVrvCommandFactory.h:40

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)