00001 /** 00002 * @author Carsten Rohde 00003 * @author <a href="mailto:Thorsten.Kerkhof@gmx.de">Thorsten Kerkhof</a> 00004 */ 00005 00006 #ifndef __RobotPoseCollection_h_ 00007 #define __RobotPoseCollection_h_ 00008 00009 #include "RobotPose.h" 00010 00011 class RobotPoseCollection 00012 { 00013 public: 00014 int numberOfPoses; 00015 int numberOfUsedPoses; 00016 RobotPose poses[3]; 00017 00018 RobotPoseCollection(); 00019 00020 RobotPose& operator[](int index) {return poses[index];} 00021 const RobotPose& operator[](int index) const {return poses[index];} 00022 00023 //virtual int read(In& stream,int length); 00024 //virtual void write(Out& stream); 00025 //virtual unsigned int length(); 00026 }; 00027 00028 Out& operator<<(Out& stream, const RobotPoseCollection& pbs); 00029 In& operator>>(In& stream, RobotPoseCollection& pbs); 00030 00031 #endif
1.3.6