00001 /** 00002 * Sourcefile for GTCamRaw Solution 00003 * @author: Matthias Meyer <robocup@ja-me.de> 00004 */ 00005 00006 #include "GTCamRaw.h" 00007 00008 /** 00009 * Standart constructor 00010 */ 00011 GTCamRaw::GTCamRaw(const GTCamInterfaces& interfaces) 00012 : GTCamModule(interfaces) 00013 { 00014 } 00015 00016 /** 00017 * Execute the moodule 00018 */ 00019 void GTCamRaw::execute() 00020 { 00021 // Copy the worldstate if newer 00022 // hack 00023 // if (gtCamWorldStateIN.getTimestamp() != gtCamWorldStateOUT.getTimestamp()) 00024 { 00025 //memcpy(gtCamWorldStateOUT.camWorldstate,gtCamWorldStateIN.camWorldstate,sizeof(gtCamWorldStateOUT.camWorldstate)); 00026 gtCamWorldStateOUT = gtCamWorldStateIN; 00027 } 00028 } 00029 00030 /** 00031 * Handle Messages 00032 */ 00033 bool GTCamRaw::handleMessage(InMessage& message) 00034 { 00035 bool handled = false; 00036 return handled; 00037 } 00038 00039
1.3.6