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

# Modules/TeamBallLocator/GT2005Particles/GT2005ParticleContainerSend.h

Go to the documentation of this file.

    00001 /**
    00002  * @file Modules/TeamBallLocator/GT2005Particles/GT2005ParticleContainerSend.h
    00003  *
    00004  * This file contains a particle container used by the GT2005TeamBallLocator.
    00005  *
    00006  * @author <a href="mailto:christinez@gmx.de">Christine Zarges</a>
    00007  * @author <a href="mailto:Thorsten.Kerkhof@gmx.de">Thorsten Kerkhof</a>
    00008  */
    00009
    00010 #ifndef __GT2005ParticleContainerSend_h_
    00011 #define __GT2005ParticleContainerSend_h_
    00012
    00013 #include "GT2005ParticleSend.h"
    00014 #include "Tools/Debugging/GenericDebugData.h"
    00015 #include "Tools/Math/Common.h"
    00016 #include "Tools/Math/Vector2.h"
    00017 #include "Tools/Math/Pose2D.h"
    00018 #include "Tools/FieldDimensions.h"
    00019 #include "Representations/Cognition/RobotPose.h"
    00020 #include "Representations/Perception/ObstaclesPercept.h"
    00021 #include "Representations/Motion/OdometryData.h"
    00022 #include "Representations/Cognition/SampleSet.h"
    00023 #include <math.h>
    00024
    00025 //Number of particles:
    00026 #define numOfBLParticlesSend 12
    00027
    00028 /**
    00029 * @class GT2005ParticleContainerSend
    00030 */
    00031 class GT2005ParticleContainerSend
    00032  {
    00033 public:
    00034   // Constructor:
    00035   GT2005ParticleContainerSend();
    00036
    00037   GT2005ParticleSend array[numOfBLParticlesSend];
    00038   GT2005ParticleSend& operator[](int index) {return array[index];}
    00039   const GT2005ParticleSend& operator[](int index) const {return array[index];}
    00040   int getNumberOfSamples() const {return numOfBLParticlesSend;}
    00041   int getNumberOfUsedSamples() const;
    00042 };
    00043
    00044 Out& operator<<(Out& stream, const GT2005ParticleContainerSend& pbs);
    00045 In& operator>>(In& stream, GT2005ParticleContainerSend& pbs);
    00046
    00047 #endif // __GT2005ParticleContainerSend_h_