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"          //Ethernet, RAW Packets
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_SOCKET    "SOCK_MGR"          //Socket Mgr
00030 #define TASK_NAME_SERIAL    "SERIAL_MGR"        //Serial Port Mgr
00031 #define TASK_NAME_PTGCAMERA "PTGCAMERA_MGR" //Point Grey Camera Mgr
00032 #define TASK_NAME_GPS       "GPS_MGR"           //GPS
00033 #define TASK_NAME_IDC       "IDC_MGR"           //IBEO
00034 #define TASK_NAME_IPCAM     "IPCAM_MGR"         //IP Camera, Point Grey Cricket.
00035 #define TASK_NAME_PCAP      "PCAP_MGR"      //Ethernet, PCAP formatted
00036 #define TASK_NAME_OTHER     "OTHER_TASK"
00037 
00038 #define TASK_NAME_SIMXMGR   "SIMEXEC_MGR"
00039 
00040 //Identifies the TYPE of task,
00041 typedef enum _TASK_TYPE_
00042 {
00043     TASK_TYPE_UNKNOWN=0,
00044     TASK_TYPE_LGRMGR,
00045     TASK_TYPE_MSGMGR,
00046     TASK_TYPE_STATSMGR,
00047     TASK_TYPE_USERMGR,
00048     TASK_TYPE_BUFMGR,
00049     TASK_TYPE_SIMXMGR,          // RESIM_BUILD
00050 
00051     // DSSC Interfaces
00052     TASK_TYPE_DSSC_INTERFACES = 30,
00053     TASK_TYPE_GENERIC_PLAYER,
00054     TASK_TYPE_ASC_PLAYER,
00055     TASK_TYPE_CAN_PLAYER,
00056     TASK_TYPE_AVI_PLAYER,
00057     TASK_TYPE_CAM_PLAYER,
00058     TASK_TYPE_BAN_PLAYER,
00059     TASK_TYPE_GEN5PGM_PLAYER,
00060     TASK_TYPE_IDC_PLAYER,
00061 
00062     TASK_TYPE_INTERFACES=50,    // 50 Not really a task - it separates IFs from others
00063     TASK_TYPE_IF_ETHERNET,      // 51 Ethernet, RAW Packets
00064     TASK_TYPE_IF_CANK,          // 52 CAN Kvaser
00065     TASK_TYPE_IF_USB,                   // 53
00066     TASK_TYPE_IF_1394A,         // 54
00067     TASK_TYPE_IF_1394B,         // 55
00068     TASK_TYPE_IF_DGEN,          // 56 Data Generator
00069     TASK_TYPE_IF_AVTCAMERA,     // 57 AVT Camera
00070     TASK_TYPE_IF_CANP,          // 58 CAN PEAK/Grid Connect
00071     TASK_TYPE_IF_HRFT,          // 59 FOI HRFT Bus Master DMA Hardware
00072     TASK_TYPE_IF_GPU,           // 60
00073     TASK_TYPE_IF_MRR,           // 61 Denso Medium Range Radar
00074     TASK_TYPE_IF_XML,           // 62 XML
00075     TASK_TYPE_IF_SOCKET,                // 63 Socket Listener
00076     TASK_TYPE_IF_SERIAL,                // 64 Serial Port
00077     TASK_TYPE_IF_PTGCAMERA,     // 65 Point Grey Camera
00078     TASK_TYPE_IF_GPS,           // 66 GPD
00079     TASK_TYPE_IF_IDC,           // 67 Ibeo IDC
00080     TASK_TYPE_IF_IPCAM,         // 68 IP Camera, Point Grey Cricket.
00081     TASK_TYPE_IF_PCAP,          // 69 Ethernet, PCAP formatted
00082     TASK_TYPE_OTHER,            // 70
00083     TASK_TYPE_IF_USER=256
00084 } LGR_TASK_TYPE;
00085 
00086 //What is the Task currently doing?
00087 typedef enum _TASK_STATE_
00088 {
00089     TASK_STATE_UNKNOWN   = 0,
00090     TASK_STATE_INIT,
00091     TASK_STATE_EXIT,
00092     TASK_STATE_IDLE,
00093     TASK_STATE_RUNNING,
00094     TASK_STATE_PAUSED,
00095     TASK_STATE_ERROR,
00096     TASK_STATE_FINISHED,
00097     TASK_STATE_LAST
00098 } LGR_TASK_STATE;
00099 
00100 
00101 #endif /* X3CTASKDEFS_H_ */
 All Classes Files Functions Variables Typedefs Friends Defines