![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: mySimCommandExecutor.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 //\file mySimCommandExecutor.h 00010 //\brief MySimCommandExecutor. 00011 00012 #ifndef MySimCommandExecutor_h_ 00013 #define MySimCommandExecutor_h_ 00014 00015 #include "vrfobjcore/simCommandExecutor.h" 00016 00017 //\brief Executor for the MySimCommand DtSimCommand. 00018 //Prints the text specified in the command to the console. 00019 00020 class MySimCommandExecutor : public DtSimCommandExecutor 00021 { 00022 public: 00023 MySimCommandExecutor(DtSimManager* simManager); 00024 00025 virtual ~MySimCommandExecutor(); 00026 00027 //Prints message to the sim engine console. 00028 virtual bool execute(const DtSimCommand* command); 00029 00030 //Prints message to the objectConsole for the named object. 00031 virtual bool execute(const DtSimCommand* command, const DtString& objectName); 00032 00033 //\return A new instance of this class. 00034 static DtSimCommandExecutor* create(DtSimManager* simManager); 00035 00036 private: 00037 //Not implemented. 00038 MySimCommandExecutor(); 00039 //Not implemented. 00040 MySimCommandExecutor(const MySimCommandExecutor& orig); 00041 //Not implemented. 00042 MySimCommandExecutor& operator=(const MySimCommandExecutor& orig); 00043 }; 00044 00045 #endif