ESyS-Particle  4.0.1
Public Member Functions
TML_PackedMultiMessageSlab Class Reference

Handle class to access multimessages via a packed message interface. More...

#include <multi_message_slab.h>

Inheritance diagram for TML_PackedMultiMessageSlab:
Inheritance graph
[legend]
Collaboration diagram for TML_PackedMultiMessageSlab:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TML_PackedMultiMessageSlab (TML_PackedMultiMessage *, int)
virtual void begin_pack ()
virtual void begin_unpack ()
virtual void append (int)
virtual void append (double)
virtual void append (const string &)
virtual void append (const Vec3 &)
virtual void append (bool)
virtual int pop_int ()
virtual double pop_double ()
virtual void pop_doubles (double *, int)
virtual string pop_string ()
virtual Vec3 pop_vec3 ()
virtual bool pop_bool ()

Detailed Description

Handle class to access multimessages via a packed message interface.


Constructor & Destructor Documentation

construct TML_PackedMultiMessageSlab

Parameters:
msgthe multimessage to which the slab belongs
idxthe index

Member Function Documentation

void TML_PackedMultiMessageSlab::append ( int  i) [virtual]

pack integer into the slab

Parameters:
ithe interger

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::append().

Here is the call graph for this function:

void TML_PackedMultiMessageSlab::append ( double  d) [virtual]

pack a double into the slab

Parameters:
dthe double

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::append().

Here is the call graph for this function:

void TML_PackedMultiMessageSlab::append ( const string &  s) [virtual]

pack a STL string into the slab

Parameters:
sthe string

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::append().

Here is the call graph for this function:

void TML_PackedMultiMessageSlab::append ( const Vec3 v) [virtual]

Append a Vec3 to the message buffer. Calls append(double) per element

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::append().

Here is the call graph for this function:

void TML_PackedMultiMessageSlab::append ( bool  b) [virtual]

pack a booleam value into the slab

Parameters:
bthe boolean value

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::append().

Here is the call graph for this function:

reset the packing pointer

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::begin_pack().

Here is the call graph for this function:

reset the unpacking pointer

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::begin_unpack().

Here is the call graph for this function:

pop a boolean value from the slab

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::pop_bool().

Here is the call graph for this function:

pop a double from the slab

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::pop_double().

Here is the call graph for this function:

void TML_PackedMultiMessageSlab::pop_doubles ( double *  ,
int   
) [virtual]

pop an array of doubles from the slab

Warning:
not implemented

Implements TML_PackedMessageInterface.

pop an int from the slab

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::pop_int().

Here is the call graph for this function:

pop a STL string from the slab

Warning:
not implemented

Implements TML_PackedMessageInterface.

Pop a Vec3 of the buffer. Calls pop_double per element

Implements TML_PackedMessageInterface.

References TML_PackedMultiMessage::pop_double().

Here is the call graph for this function:


The documentation for this class was generated from the following files: