feat(clusterApp): initial version run in Ubuntu.
change fb to DRM
This commit is contained in:
36
clusterApp/include/InsTask.h
Normal file
36
clusterApp/include/InsTask.h
Normal file
@@ -0,0 +1,36 @@
|
||||
#ifndef INSTASK_H_INCLUDED
|
||||
#define INSTASK_H_INCLUDED
|
||||
|
||||
#include <BaseTypes.h>
|
||||
|
||||
typedef struct Struct_InsTask
|
||||
{
|
||||
Bool (*Init)();
|
||||
Bool (*DeInit)();
|
||||
Int08 (*GetState)();
|
||||
void (*Excute)();
|
||||
Bool (*PostRequest)(void*);
|
||||
void (*Stop)();
|
||||
void (*TryStop)();
|
||||
void (*BeatDog)();
|
||||
Bool (*IsDogAlive)();
|
||||
} InsTask;
|
||||
|
||||
typedef enum Enum_InsTaskState
|
||||
{
|
||||
InsTask_Uninit = 0
|
||||
,InsTask_Initing
|
||||
,InsTask_Inited
|
||||
,InsTask_Running
|
||||
,InsTask_Pause
|
||||
,InsTask_Stop
|
||||
|
||||
,InsTask_Setup
|
||||
,InsTask_Request
|
||||
,InsTask_PostFail
|
||||
,InsTask_Abort
|
||||
,InsTask_Waiting
|
||||
,InsTask_Finish
|
||||
} InsTaskState;
|
||||
|
||||
#endif // INSTASK_H_INCLUDED
|
||||
Reference in New Issue
Block a user