XCube Stream Reader SDK
x3c/include/x3cTaskDefs.h
00001 /*
00002  * x3cTaskDefs.h
00003  *
00004  *  Created on: Feb 17, 2012
00005  *      Author: jtrier
00006  */
00007 
00008 #ifndef X3CTASKDEFS_H_
00009 #define X3CTASKDEFS_H_
00010 
00011 // TASK TYPE NAME STRINGS
00012 #define TASK_NAME_UNKNOWN   "UNKNOWN_TASK"
00013 #define TASK_NAME_LGRMGR    "LOGGER_MGR"
00014 #define TASK_NAME_MSGMGR    "MSG_MGR"
00015 #define TASK_NAME_STATSMGR  "STATS_MGR"
00016 #define TASK_NAME_USERMGR   "USER_MGR"
00017 #define TASK_NAME_BUFMGR    "BUF_MGR"
00018 #define TASK_NAME_ETHERNET  "ENET_MGR"
00019 #define TASK_NAME_1394A     "1394A_MGR"
00020 #define TASK_NAME_1394B     "1394B_MGR"
00021 #define TASK_NAME_CANK      "CANK_MGR"
00022 #define TASK_NAME_USB       "USB_MGR"
00023 #define TASK_NAME_DGEN      "DGEN_MGR"
00024 #define TASK_NAME_AVTCAMERA "AVTCAMERA_MGR"
00025 #define TASK_NAME_CANP      "CANP_MGR"
00026 #define TASK_NAME_HRFT      "HRFT_MGR"
00027 #define TASK_NAME_GPU       "GPU_MGR"
00028 #define TASK_NAME_MRR       "MRR_MGR"  //Medium Range Radar
00029 #define TASK_NAME_OTHER     "OTHER_TASK"
00030 
00031 #define TASK_NAME_SIMXMGR   "SIMEXEC_MGR"
00032 
00033 //Identifies the TYPE of task,
00034 typedef enum _TASK_TYPE_
00035 {
00036     TASK_TYPE_UNKNOWN=0,
00037     TASK_TYPE_LGRMGR,
00038     TASK_TYPE_MSGMGR,
00039     TASK_TYPE_STATSMGR,
00040     TASK_TYPE_USERMGR,
00041     TASK_TYPE_BUFMGR,
00042     TASK_TYPE_SIMXMGR,          // RESIM_BUILD
00043 
00044     // DSSC Interfaces
00045     TASK_TYPE_DSSC_INTERFACES = 30,
00046     TASK_TYPE_GENERIC_PLAYER,
00047     TASK_TYPE_ASC_PLAYER,
00048     TASK_TYPE_CAN_PLAYER,
00049     TASK_TYPE_AVI_PLAYER,
00050     TASK_TYPE_CAM_PLAYER,
00051     TASK_TYPE_BAN_PLAYER,
00052     TASK_TYPE_GEN5PGM_PLAYER,
00053 
00054     TASK_TYPE_INTERFACES=50,    // Not really a task - it separates IFs from others
00055     TASK_TYPE_IF_ETHERNET,
00056     TASK_TYPE_IF_CANK,          // Kvaser
00057     TASK_TYPE_IF_USB,
00058     TASK_TYPE_IF_1394A,
00059     TASK_TYPE_IF_1394B,
00060     TASK_TYPE_IF_DGEN,
00061     TASK_TYPE_IF_AVTCAMERA,
00062     TASK_TYPE_IF_CANP,          // PEAK/Grid Connect
00063     TASK_TYPE_IF_HRFT,          // FOI HRFT Bus Master DMA Hardware
00064     TASK_TYPE_IF_GPU,           // 60
00065     TASK_TYPE_IF_MRR,           // Denso Medium Range Radar
00066     TASK_TYPE_IF_XML,           // XML
00067     TASK_TYPE_OTHER,
00068 
00069     TASK_TYPE_IF_USER=256
00070 } LGR_TASK_TYPE;
00071 
00072 //What is the Task currently doing?
00073 typedef enum _TASK_STATE_
00074 {
00075     TASK_STATE_UNKNOWN   = 0,
00076     TASK_STATE_INIT,
00077     TASK_STATE_EXIT,
00078     TASK_STATE_IDLE,
00079     TASK_STATE_RUNNING,
00080     TASK_STATE_PAUSED,
00081     TASK_STATE_ERROR,
00082     TASK_STATE_FINISHED,
00083     TASK_STATE_LAST
00084 } LGR_TASK_STATE;
00085 
00086 
00087 #endif /* X3CTASKDEFS_H_ */
 All Classes Files Functions Variables Typedefs Friends Defines