VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/simCommandExecutor.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: simCommandExecutor.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef simCommandExecutor_h
00015 #define simCommandExecutor_h
00016 
00017 #include "vrfobjcore/vrfobjcoreDefines.h"
00018 #include <vlutil/vlString.h>
00019 
00020 class DtSimManager;
00021 class DtSimCommand;
00022 class DtSimCommandExecutorFactory;
00023 
00024 
00030 
00031 class DT_DLL_vrfobjcore DtSimCommandExecutor
00032 {
00033 public:
00034    DtSimCommandExecutor(DtSimManager* simManager);
00035 
00036    virtual ~DtSimCommandExecutor();
00037 
00046    virtual bool execute(const DtSimCommand* command) = 0;
00047 
00054    virtual bool execute(const DtSimCommand* command, const DtString& objectName);
00055 
00057    static void setFactory(DtSimCommandExecutorFactory* factory);
00058 
00061    static DtSimCommandExecutor* createSimCommandExecutor(int type, DtSimManager* simManager);
00062 
00063 private:
00065    DtSimCommandExecutor();
00067    DtSimCommandExecutor(const DtSimCommandExecutor& orig);
00069    DtSimCommandExecutor& operator=(const DtSimCommandExecutor& orig);
00070 
00071 protected:
00072    DtSimManager* mySimManager;
00073 
00074    static DtSimCommandExecutorFactory* myFactory;
00075 };
00076 
00077 #endif
00078 

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)