00001 /** 00002 * @file: GTCam.h 00003 * @author: Matthias Meyer <robocup@ja-me.de> 00004 */ 00005 00006 #ifndef __GTCamModule_h_ 00007 #define __GTCamModule_h_ 00008 00009 #include "Tools/Module/Module.h" 00010 #include "Representations/Cognition/GTCamWorldState.h" 00011 #include "Platform/GTAssert.h" 00012 00013 /** 00014 * @class GTCamInterfaces 00015 * 00016 * The interfaces of the GTCam module. 00017 */ 00018 class GTCamInterfaces 00019 { 00020 public: 00021 /** Constructor.*/ 00022 GTCamInterfaces(const GTCamWorldState& gtCamWorldStateIN, GTCamWorldState& gtCamWorldStateOUT) 00023 : gtCamWorldStateIN(gtCamWorldStateIN), gtCamWorldStateOUT(gtCamWorldStateOUT) 00024 {} 00025 00026 protected: 00027 /** The worldstate generated by the GTCam */ 00028 const GTCamWorldState& gtCamWorldStateIN; 00029 GTCamWorldState& gtCamWorldStateOUT; 00030 }; 00031 00032 /** 00033 * @class GTCam 00034 * 00035 * The Base class for obstacle locators 00036 * 00037 */ 00038 class GTCamModule: public Module, public GTCamInterfaces 00039 { 00040 public: 00041 /* 00042 * Constructor. 00043 * @param interfaces The paramters of the GTCam module. 00044 */ 00045 GTCamModule(const GTCamInterfaces& interfaces) 00046 : GTCamInterfaces(interfaces) 00047 {} 00048 00049 /** Destructor */ 00050 virtual ~GTCamModule() {} 00051 }; 00052 00053 #endif //__GTCam_h_
1.3.6