next version

This commit is contained in:
2024-06-25 20:47:51 +02:00
parent 34f4d6cdba
commit cbc3ac7a64
85 changed files with 36723 additions and 3 deletions

View File

@@ -0,0 +1,43 @@
/*
*/
#include <RTSCoproHelper.h>
#include <RTSMonFrame.h>
#include <pthread.h>
#include <boost/python.hpp>
#include <map>
#include <string>
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<std::string, RTSMonFrame*> 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);
};