InterpreterBBS.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef __ExecuterBBSG_h__
00039 #define __ExecuterBBSG_h__
00040
00041
00042 #include "wxVtkSceneManager.h"
00043
00044
00045 #include "bbtkInterpreterVirtual.h"
00046
00047
00048 #include <iostream>
00049
00050
00051
00052
00053 #include "bbtkFactory.h"
00054
00055 namespace bbtk
00056 {
00057 class InterpreterBBS : public InterpreterVirtual
00058 {
00059 public:
00060 static Pointer New( wxVtkSceneManager* sceneManager, Factory::Pointer factory );
00061 InterpreterBBS( wxVtkSceneManager* sceneManager, Factory::Pointer factory );
00062 ~InterpreterBBS();
00063
00064
00065
00066 virtual void commandNew( const std::string& boxType, const std::string& boxName);
00067
00068 virtual void commandConnection (const std::string &boxfrom,
00069 const std::string &output,
00070 const std::string &boxto,
00071 const std::string &input);
00072 virtual void commandSet(const std::string &box,const std::string &input,const std::string &value);
00073
00074
00075 virtual void commandDefine(const std::string &name,const std::string &pack,const std::string &scriptfilename);
00076 virtual void commandEndDefine();
00077
00078 virtual void commandExec(const std::string &word);
00079
00080 virtual void commandAuthor(const std::string &author);
00081 virtual void commandCategory(const std::string &categorytype);
00082 virtual void commandDescription(const std::string &description);
00083
00084 virtual void commandInput(const std::string &name,const std::string &box,const std::string &input,const std::string &help);
00085 virtual void commandOutput(const std::string &name,const std::string &box,const std::string &output,const std::string &help);
00086
00087
00088 double _xGeneral;
00089 double _yGeneral;
00090 double _zGeneral;
00091 int _countInputs;
00092 int _countOutputs;
00093 int _countBoxes;
00094 wxVtkSceneManager *_sceneManager;
00095 Factory::Pointer _factory;
00096
00097 private:
00098
00099
00100
00101
00102
00103 protected:
00104
00105
00106
00107
00108
00109 };
00110 }
00111
00112 #endif
00113