Go to the documentation of this file.
13 #ifndef __PACKED_MESSAGE_INTERFACE_H
14 #define __PACKED_MESSAGE_INTERFACE_H
35 virtual void append(
const string&)=0;
46 template<
typename T>
void pack(
const T&);
47 template<
typename T>
void unpack(T&);
50 #endif //__PACKED_MESSAGE_INTERFACE_H
Abstract base/interface class for packed messages to be used in TML_Pack.
Definition: packed_message_interface.h:29
virtual void begin_pack()=0
virtual Vec3 pop_vec3()=0
virtual void append(const string &)=0
virtual double pop_double()=0
virtual void append(const Vec3 &)=0
virtual void pop_doubles(double *, int)=0
virtual void append(int)=0
virtual bool pop_bool()=0
virtual void begin_unpack()=0
virtual void append(double)=0
virtual string pop_string()=0
virtual void append(bool)=0