/* */ #include #include #include #include #include #include class RTSMonitoringTask { private: /* data */ //lock Element /* The file descriptor used to manage our TTY over RPMSG */ int mFdRpmsg[2] = {-1, -1}; RTSCoproHelper coproHelper; std::map rtsMonFrames; boost::python::object callback; pthread_t monThread; public: RTSMonitoringTask(/* args */); ~RTSMonitoringTask(); //static RTSMonitoringTask& Instance(); bool Init(); bool CreateMonitoring(std::string id, int samplerate, int sampleperiod, int downtime, std::string status, boost::python::object callback); bool LoadFW(); bool Start(); bool Stop(); private: static void* Run(void *obj); };