40 lines
602 B
C
40 lines
602 B
C
/*
|
|
*/
|
|
#include "../../include/RTSCoproHelper.h"
|
|
|
|
|
|
class RTSMonitoringTask
|
|
{
|
|
public:
|
|
|
|
typedef enum RTSMonitoringTaskState {
|
|
OFF= 0,
|
|
LOADED = 1,
|
|
READY = 2,
|
|
};
|
|
|
|
private:
|
|
/* data */
|
|
//lock Element
|
|
|
|
/* The file descriptor used to manage our TTY over RPMSG */
|
|
int mFdRpmsg[2] = {-1, -1};
|
|
RTSCoproHelper coproHelper;
|
|
RTSMonitoringTaskState rtsState=RTSMonitoringTaskState::OFF;
|
|
|
|
public:
|
|
|
|
RTSMonitoringTask(/* args */);
|
|
|
|
~RTSMonitoringTask();
|
|
|
|
bool Init();
|
|
bool LoadFW();
|
|
bool Start();
|
|
bool Stop();
|
|
|
|
|
|
private:
|
|
|
|
};
|