Message.h

Go to the documentation of this file.
00001 #ifndef __UTILS_MESSAGE_H__
00002 #define __UTILS_MESSAGE_H__
00003 
00004 #include "Types.h"
00005 
00006 class Output;
00007 class Input;
00008 
00009 class Message
00010 {
00011 public:
00012   Message(uint8_t id);
00013   virtual ~Message();
00014 
00015   virtual void append(Output & output) const = 0;
00016   virtual void extract(Input & input) = 0;
00017 
00018   uint8_t getId() const;
00019 
00020 private:
00021   int m_id;
00022 };
00023 
00024 #endif

Generated on Fri May 29 22:09:31 2009 for adh by  doxygen 1.5.9