29 #ifndef ONBOARDSDK_THREADMANAGER_H 30 #define ONBOARDSDK_THREADMANAGER_H 48 virtual void lock() = 0;
49 virtual void unlock() = 0;
56 virtual ~ThreadAbstract();
60 virtual void lockRecvContainer() = 0;
61 virtual void freeRecvContainer() = 0;
63 virtual void lockMSG() = 0;
64 virtual void freeMSG() = 0;
66 virtual void lockACK() = 0;
67 virtual void freeACK() = 0;
69 virtual void lockProtocolHeader();
70 virtual void freeProtocolHeader();
72 virtual void lockNonBlockCBAck();
73 virtual void freeNonBlockCBAck();
75 virtual void notifyNonBlockCBAckRecv();
76 virtual void nonBlockWait();
78 virtual void lockStopCond();
79 virtual void freeStopCond();
81 virtual void lockFrame();
82 virtual void freeFrame();
86 virtual void notify() = 0;
87 virtual void wait(
int timeout) = 0;
90 virtual void init() = 0;
99 virtual bool createThread() = 0;
100 virtual int stopThread() = 0;
102 bool getStopCondition();
104 void setStopCondition(
bool condition);
115 #endif // ONBOARDSDK_THREADMANAGER_H handle array of characters
Definition: commondatarangehandler.h:14
Definition: dji_thread_manager.hpp:41