ResourceDict.h

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------------
00002 //
00003 // $Id$
00004 //
00005 // Copyright 2008, 2009, 2010, 2011, 2012  Antonio Franchi and Paolo Stegagno    
00006 //
00007 // This file is part of MIP.
00008 //
00009 // MIP is free software: you can redistribute it and/or modify
00010 // it under the terms of the GNU General Public License as published by
00011 // the Free Software Foundation, either version 3 of the License, or
00012 // (at your option) any later version.
00013 //
00014 // MIP is distributed in the hope that it will be useful,
00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 // GNU General Public License for more details.
00018 //
00019 // You should have received a copy of the GNU General Public License
00020 // along with MIP. If not, see <http://www.gnu.org/licenses/>.
00021 //
00022 // Contact info: antonio.franchi@tuebingen.mpg.de stegagno@diag.uniroma1.it
00023 //
00024 // ----------------------------------------------------------------------------
00025 
00026 
00032 
00033 
00034 #ifndef __RESOURCE_DICT_H_
00035 #define __RESOURCE_DICT_H_
00036 
00037 namespace MipResources{
00038 
00040 enum ResourcePlate {
00041  NULL_RES,
00042  /*MotionModule*/
00043  MM_INIT,
00044   MM_KOR_RES,
00045   MM_KORROS_RES,
00046   MM_PLAY_RES,
00047   MM_WEBKM_RES,
00048  MM_END,
00049  /*MotionModule3D*/
00050  MM3D_INIT,
00051   MM3D_PLAY_RES,
00052   MMFM_PLAY_RES,
00053  MM3D_END,
00054  /*RangeSens*/
00055  RS_INIT,
00056   RS_PLAY_RES,
00057   RS_URG_RES,
00058   RS_TCRT_RES,
00059   RS_REM_RES,
00060  RS_END,
00061  /*MobileRob*/
00062  MR_INIT,
00063   MR_KHIII_RES,
00064   MR_PLAY_RES,
00065   MR_REM_RES,
00066   MR_REM_KHP_RES,
00067  MR_END,
00068  /*MobileRob3D*/
00069  MR3D_INIT,
00070   MR3D_PLAY_RES,
00071  MR3D_END,
00072  /*Uav*/
00073  UAV_INIT,
00074   UAV_PLAY_RES,
00075   UAV_HUBI_RES,
00076   UAV_SWSIM_RES,
00077   UAV_CYBUAV_RES,
00078   UAV_SWHIV_RES,
00079   UAV_MKK_RES,
00080  UAV_END,
00081  /*Camera*/
00082  CAM_INIT,
00083   CAMERA_RES,
00084   CAM_PLAY_RES,
00085   CAM_CVD_RES,
00086   CAM_ROS_RES,
00087  CAM_END,
00088  /*PositionDetector*/
00089  PD_INIT,
00090   PD_PLAY_RES,
00091  PD_END,
00092  /*PositionDetector3D*/
00093  PD3D_INIT,
00094   PD3D_PLAY_RES,
00095  PD3D_END,
00096  /*IMU3D*/
00097  IMU3D_INIT,
00098   IMU3D_PLAY_RES,
00099  IMU3D_END,
00100  /*IMU*/
00101  IMU_SENSOR_INIT,
00102             IMU_SENSOR_PLAY_RES,
00103  IMU_SENSOR_END,
00104  /*DraWin*/
00105  DW_INIT,
00106    DW_GL_RES,
00107  DW_END,
00108  /*CommModule*/
00109  CM_INIT,
00110   CM_IP_RES,
00111   CM_DS_RES,
00112  CM_END,
00113  /*Keyboard*/
00114  KEYBOARD_RES,
00115  /*SharedMem*/
00116  SHMEM_RES,
00117  /*ScanMatcher*/
00118  SCNM_RES,
00119  /*RemoteDevice*/
00120  REM_DEV_RES,
00121  /*Haptic Devices*/
00122  HAP_INIT,
00123   HAP_OMEGA6_RES,
00124  HAP_END,
00125  /*ROS node*/
00126  ROS_NODE_RES,
00127  /*end*/
00128  RESOURCE_NUM
00129 };
00130 
00132 static const char* ResourceNames[RESOURCE_NUM] = {
00133  "NullResource(NotInitialized)",
00134  /*MotionModules*/
00135  "Abstract Type MotionModule",
00136   "MotionModuleKorebot",
00137   "MotionModuleKorebotROS",
00138   "MotionModulePlayerUnicycle",
00139   "MotionModuleWebotsKoremot",
00140  "MM_END(NotAResource)",
00141   /*MotionModules3D*/
00142  "Abstract Type MotionModule3D",
00143   "MotionModulePlayerUnicycle3D",
00144   "MotionPlayerFlightModule",
00145  "MM3D_END(NotAResource)",
00146   /*RangeSensors*/
00147  "Abstract Type RangeSensor",
00148   "RangeSensorPlayer",
00149   "RangeSensorURG04LX",
00150   "RangeSensorTCRT5000",
00151   "RangeSensorRemote",
00152  "RS_END(NotAResource)",
00153  /*MobileRobots*/
00154  "Abstract Type MobileRobot",
00155   "MobileRobotKheperaIII",
00156   "MobileRobotPlayerRob",
00157   "MobileRobotRemoteRob",
00158   "MobileRobotRemoteKhepera",
00159  "MR_END(NotAResource)",
00160   /*MobileRobots3D*/
00161  "Abstract Type MobileRobot 3D",
00162   "MobileRobotPlayerRob3D",
00163  "MR3D_END(NotAResource)",
00164  /*Uav*/
00165  "Abstract Type Uav",
00166   "UavPlayerUav",
00167   "UavHummingBird",
00168   "UavSwarmSim",
00169   "UavCyber",
00170   "UavSwarmHive",
00171   "UavMikroKopter",
00172  "UAV_END(NotAResource)",
00173  /*Camera*/
00174  "Abstract Type Camera",
00175   "Camera",
00176   "CameraPlayer",
00177   "CameraCVD",
00178   "CameraROS",
00179  "CAM_END(NotAResource)",
00180  /*PositionDetector*/
00181  "Abstract Type PositionDetector",
00182   "PositionDetectorPlayer",
00183  "PD_END(NotAResource)",
00184  /*PositionDetector3D*/
00185  "Abstract Type PositionDetector3D",
00186   "PositionDetectorPlayer3D",
00187  "PD3D_END(NotAResource)",
00188  /*Imu3D*/
00189  "Abstract Type Imu3D",
00190   "ImuPlayer3D",
00191  "IMU3D_END(NotAResource)",
00192         /*ImuSensor*/
00193         "Abstract Type ImuSensor",
00194             "ImuPlayerSensor",
00195  "IMUSENSOR_END(NotAResource)",
00196  /*DraWin*/
00197  "Abstract Type DraWin",
00198   "DrawingWindowGL",
00199  "DW_END(NotAResource)",
00200  /*CommModule*/
00201  "Abstract Type CommModule",
00202   "IPCommModule",
00203   "DirectStreamCommModule",
00204  "CM_END(NotAResource)",
00205  /*Keyboard*/
00206  "Keyboard",
00207  /*SharedMem*/
00208  "SharedMemory",
00209  /*ScanMatcher*/
00210  "ExternScanMatch",
00211  /*Remotedevice*/
00212  "RemoteDevice",
00213  /*RemoteDevices*/
00214  "HAP_INIT(NotAResource)",
00215   "Omega6",
00216  "HAP_END(NotAResource)",
00217  /*ROS node*/
00218  "ROSNode"
00219  /*end*/
00220 };
00221 
00224 
00225 typedef vector<ResourcePlate> ResourcePlates;
00226 
00227 };//namespace MipResources
00228 
00229 
00230 
00231 #endif
00232 
00233 

Generated on Mon Feb 20 07:01:07 2017 for MIP by  doxygen 1.5.6