VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtVrvCommandFactory.h
Go to the documentation of this file.
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::

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)