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

# Representations/Motion/LEDValue.cpp

Go to the documentation of this file.

    00001 /**
    00002 * @file LEDValue.cpp
    00003 *
    00004 * Implementation of class LEDValue
    00005 *
    00006 * @author Martin Lötzsch
    00007 * @author Max Risler
    00008 */
    00009
    00010 #include "LEDValue.h"
    00011
    00012 LEDValue::LEDValue()
    00013 {
    00014   for (int i = 0; i < jointDataBufferNumOfFrames; i++)
    00015     data[i]=0;
    00016 }
    00017
    00018 In& operator>>(In& stream,LEDValue& ledValue)
    00019 {
    00020   stream.read(&ledValue,sizeof(LEDValue));
    00021   return stream;
    00022 }
    00023
    00024 Out& operator<<(Out& stream, const LEDValue& ledValue)
    00025 {
    00026   stream.write(&ledValue,sizeof(LEDValue));
    00027   return stream;
    00028 }