![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: $ $Revision: 102052 $ $State: $ 00007 *******************************************************************************/ 00008 00011 00012 #pragma once 00013 00014 #include <vrvCore/DtVrvCommand.h> 00015 #include <vrvCore/DtSharedVrvCommandSettings.h> 00016 00017 #include <vrvControl/vrvControlToolkitDataTypes.h> 00018 00019 #include <boost/function.hpp> 00020 00021 namespace makVrv 00022 { 00023 class DtVrvCommand; 00024 00027 class DT_DLL_VRVCORE DtVrvCommandFactory 00028 { 00029 public: 00031 DtVrvCommandFactory(); 00032 00034 virtual ~DtVrvCommandFactory(); 00035 00037 virtual void initialize(const DtSharedVrvCommandSettings::DtVrvCommandSeedMap& seeds, 00038 boost::function<DtUniqueID (const std::string&)> func); 00039 00041 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00042 00043 protected: 00044 typedef std::map<vrvControlToolkit::DtVrvControlTypeEnum, DtVrvCommandCreator*> CreatorMap; 00045 CreatorMap myCreators; 00046 }; 00047 00048 } //makVrv::