00001 00017 #include <iostream> 00018 #include <fstream> 00019 #include <errno.h> 00020 #include <cmath> 00021 #include <vector> 00022 #include "../../Plugin.hpp" 00023 00024 using namespace std; 00025 00026 class Example : public Plugin { 00027 public: 00028 Example(){name="Example";}; 00029 virtual ~Example(){;}; 00030 virtual void setup(string); 00031 virtual int getVersion() const; 00032 virtual string getSpecs(); 00033 virtual string getLogic(); 00034 virtual bool nSpecs(); 00035 virtual bool nLogic(); 00036 00037 virtual string retrieveNodeLevel(); 00038 virtual void sendNodeLevel(string, int); 00039 00040 virtual pair<string, int> setInputNodeLevel(); 00041 00042 00043 virtual void initialize(); 00044 virtual void preSim(); 00045 virtual void midSim(); 00046 virtual void postSim(); 00047 virtual void close(); 00048 00049 private: 00050 vector<string> args; 00051 int x; 00052 int y; 00053 }; 00054 00055