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

# Representations/Motion/MotionInfo.cpp

Go to the documentation of this file.

    00001 /**
    00002 * @file MotionInfo.cpp
    00003 *
    00004 * Implementation of class MotionInfo
    00005 *
    00006 * @author Martin Lötzsch
    00007 * @author Max Risler
    00008 */
    00009
    00010 #include "MotionInfo.h"
    00011
    00012 MotionInfo::MotionInfo()
    00013 :positionInWalkCycle(0) , bodyTilt(0), neckHeight(100), motionIsStable(true)
    00014 {
    00015 }
    00016
    00017 In& operator>>(In& stream,MotionInfo& motionInfo)
    00018 {
    00019   stream.read(&motionInfo,sizeof(MotionInfo));
    00020   return stream;
    00021 }
    00022
    00023 Out& operator<<(Out& stream, const MotionInfo& motionInfo)
    00024 {
    00025   stream.write(&motionInfo,sizeof(MotionInfo));
    00026   return stream;
    00027 }