00001 /** 00002 * @file PackageMotionCognition.cpp 00003 * 00004 * Implementation of class PackageMotionCognition. 00005 * 00006 * @author Martin Lötzsch 00007 */ 00008 00009 #include "PackageMotionCognition.h" 00010 00011 In& operator>>(In& stream, PackageMotionCognition& packageMotionCognition) 00012 { 00013 stream >> packageMotionCognition.timeStamp 00014 >> packageMotionCognition.motionInfo; 00015 return stream; 00016 } 00017 00018 Out& operator<<(Out& stream, const PackageMotionCognition& packageMotionCognition) 00019 { 00020 stream << packageMotionCognition.timeStamp 00021 << packageMotionCognition.motionInfo; 00022 00023 return stream; 00024 } 00025 00026 /* 00027 * Change Log: 00028 * 00029 * $Log: PackageMotionCognition.cpp,v $ 00030 * Revision 1.3 2004/06/17 17:27:56 spranger 00031 * added timestamp to package 00032 * 00033 * Revision 1.2 2004/05/26 17:31:34 dueffert 00034 * better data types used 00035 * 00036 * Revision 1.1.1.1 2004/05/22 17:25:01 cvsadm 00037 * created new repository GT2004_WM 00038 * 00039 * Revision 1.1 2003/10/07 10:07:01 cvsadm 00040 * Created GT2004 (M.J.) 00041 * 00042 * Revision 1.1.1.1 2003/07/02 09:40:25 cvsadm 00043 * created new repository for the competitions in Padova from the 00044 * tamara CVS (Tuesday 2:00 pm) 00045 * 00046 * removed unused solutions 00047 * 00048 * Revision 1.5 2003/05/13 12:04:45 goehring 00049 * JointState removed 00050 * 00051 * Revision 1.4 2003/04/25 19:49:56 goehring 00052 * Added JointState 00053 * 00054 * Revision 1.3 2002/09/18 19:52:36 loetzsch 00055 * the head state is now sent from Motion to Cognition using the package. 00056 * 00057 * Revision 1.2 2002/09/17 23:55:22 loetzsch 00058 * - unraveled several datatypes 00059 * - changed the WATCH macro 00060 * - completed the process restructuring 00061 * 00062 * Revision 1.1 2002/09/11 13:42:54 loetzsch 00063 * Created a package for all data that are sent from Motion to Cognition 00064 * 00065 */