Go to the documentation of this file.
13 #ifndef __PACKED_MESSAGE_H
14 #define __PACKED_MESSAGE_H
57 virtual void append(
double);
58 virtual void append(
const string&);
69 #endif //__PACKED_MESSAGE_H
virtual void begin_pack()
Definition: packed_message.h:54
virtual void append(int)
Definition: packed_message.cpp:71
Abstract base/interface class for packed messages to be used in TML_Pack.
Definition: packed_message_interface.h:29
Message buffer for sending and receiving packed data. Data types are not checked. The implementatio...
Definition: packed_message.h:35
char * m_buffer
Definition: packed_message.h:38
int len(const boost::python::object &pyOb)
Definition: Util.h:30
int m_buffersize
the size of the buffer
Definition: packed_message.h:39
virtual void begin_unpack()
Definition: packed_message.h:55
int m_pack_pos
the current end of the content
Definition: packed_message.h:40
int m_dbl_increment
the "packing size" of int/double
Definition: packed_message.h:42
void growTo(int)
Definition: packed_message.cpp:47
int m_int_increment
Definition: packed_message.h:42
void grow()
Definition: packed_message.cpp:61
virtual void pop_doubles(double *, int)
Definition: packed_message.cpp:168
virtual ~TML_Packed_Message()
Definition: packed_message.cpp:37
virtual string pop_string()
Definition: packed_message.cpp:180
int m_unpack_pos
the current pos for unpacking
Definition: packed_message.h:41
int size()
Definition: packed_message.h:52
MPI_Comm m_comm
Definition: packed_message.h:37
virtual double pop_double()
Definition: packed_message.cpp:152
virtual int pop_int()
Definition: packed_message.cpp:138
virtual bool pop_bool()
Definition: packed_message.cpp:212
virtual Vec3 pop_vec3()
Definition: packed_message.cpp:198
char * buffer()
Definition: packed_message.h:51
TML_Packed_Message(MPI_Comm, unsigned int size=64)
Definition: packed_message.cpp:23