Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Platform/Aperios1.3.2/GTCamHandler.h

Go to the documentation of this file.

    00001 /**
    00002 * @file  Platform/Aperios1.3.2/GTCamHandler.h
    00003 * @author Matthias Meyer
    00004 */
    00005
    00006 #ifndef _GTCamHandler_H_
    00007 #define _GTCamHandler_H_
    00008
    00009 #include "UDPEndpoint.h"
    00010 #include "Tools/Player.h"
    00011 #include "Representations/Cognition/GTCamWorldState.h"
    00012 #include "Platform/Aperios1.3.2/GTCamTimeSyncHandler.h"
    00013
    00014 class GTCamHandler : public UDPEndpoint
    00015 {
    00016 public:
    00017   GTCamHandler();
    00018   ~GTCamHandler() {} ;
    00019   void initGTCamHandler(GTCamWorldState* myState, GTCamTimeSyncHandler* myHandler);
    00020   virtual void onReceive(void* data, int size);
    00021
    00022 private:
    00023   GTCamWorldState* state;
    00024   GTCamTimeSyncHandler* timeSyncHandler;
    00025
    00026 //  bool inSync;
    00027 //  long timeOffset;
    00028 //  long lastPackageRevievedLocal;
    00029 //  long lastPackageRevievedRemote;
    00030 //  bool firstPackage;
    00031   int packageCounter;
    00032 };
    00033
    00034 #endif