diff --git a/CMakeFiles/.gitignore b/CMakeFiles/.gitignore deleted file mode 100644 index 2f794c2..0000000 --- a/CMakeFiles/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/CMakeDirectoryInformation.cmake -/CMakeOutput.log -/Makefile.cmake -/Makefile2 -/TargetDirectories.txt -/cmake.check_cache -/progress.marks diff --git a/CMakeFiles/3.25.2/.gitignore b/CMakeFiles/3.25.2/.gitignore deleted file mode 100644 index 1675f1a..0000000 --- a/CMakeFiles/3.25.2/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/CMakeCCompiler.cmake -/CMakeCXXCompiler.cmake -/CMakeDetermineCompilerABI_C.bin -/CMakeDetermineCompilerABI_CXX.bin -/CMakeSystem.cmake diff --git a/CMakeFiles/3.25.2/CompilerIdC/.gitignore b/CMakeFiles/3.25.2/CompilerIdC/.gitignore deleted file mode 100644 index 4377608..0000000 --- a/CMakeFiles/3.25.2/CompilerIdC/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/CMakeCCompilerId.c -/a.out diff --git a/CMakeFiles/3.25.2/CompilerIdCXX/.gitignore b/CMakeFiles/3.25.2/CompilerIdCXX/.gitignore deleted file mode 100644 index 44b2e04..0000000 --- a/CMakeFiles/3.25.2/CompilerIdCXX/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/CMakeCXXCompilerId.cpp -/a.out diff --git a/CMakeFiles/rt_service.dir/.gitignore b/CMakeFiles/rt_service.dir/.gitignore deleted file mode 100644 index d1d0ced..0000000 --- a/CMakeFiles/rt_service.dir/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -/DependInfo.cmake -/build.make -/cmake_clean.cmake -/compiler_depend.make -/compiler_depend.ts -/depend.make -/flags.make -/link.txt -/progress.make -/rt_service.cpp.o -/rt_service.cpp.o.d diff --git a/rt_service.cpp b/rt_service.cpp deleted file mode 100644 index 91ad3b8..0000000 --- a/rt_service.cpp +++ /dev/null @@ -1,69 +0,0 @@ -#include -#include -#include -#include -//#include -//#include - -struct RTService -{ -// private: -// /* data */ - -// public: - // RT_Service(/* args */) {} - - // ~RT_Service() {} - - bool createMonitoring(std::string id) { - //TODO ML: add this to the M4Core - return true; - } - - bool deleteMonitoring(std::string id) { - //TODO ML: add this to the M4Core - return true; - } - - std::string getMonitoringState(std::string id) { - //TODO ask the M4Core for the Monitpring Status - return "Start"; - } - - boost::python::list getMonitoringStates() { - //TODO ask the M4Core for the Monitpring Status - boost::python::list list; - return list; - } - - bool setMonitoringStatus(std::string id, std::string status) { - //set the Status - return true; - } -}; - - - -using namespace boost::python; - -BOOST_PYTHON_MODULE(rt_service) -{ - class_("RT_Service") - .def("createMonitoring", &RTService::createMonitoring) - .def("getMonitoringStatus", &RTService::getMonitoringState) - .def("getAllMonitoringStat", &RTService::getMonitoringStates) - .def("setMonitoringStatus", &RTService::setMonitoringStatus) - ; -}; - - - -//examples - // long l = len(msgs); - // std::stringstream ss; - // for (long i = 0; i0) ss << ", "; - // std::string s = boost::python::extract(msgs[i]); - // ss << s; - // } - // mMsg = ss.str(); diff --git a/rt_service.so b/rt_service.so deleted file mode 100755 index d486179..0000000 Binary files a/rt_service.so and /dev/null differ