Grappa  r3821, hash 22cd626d567a91ead5b23302066d1e9469f45c66
Grappa::ReuseMessage< T > Class Template Reference

message to be used in message pools. adds itself to a list after being sent More...

#include <ReuseMessage.hpp>

Inheritance diagram for Grappa::ReuseMessage< T >:
Grappa::Message< T >

Public Member Functions

virtual ReuseMessageget_next ()
 
virtual void set_next (ReuseMessage *next)
 
- Public Member Functions inherited from Grappa::Message< T >
 Message ()
 Construct a message. More...
 
 Message (Core dest, T t)
 Construct a message. More...
 
 Message (const Message &m)=delete
 Not allowed. More...
 
Messageoperator= (const Message &m)=delete
 Not allowed. More...
 
Messageoperator= (Message &&m)=delete
 
 Message (Message &&m)=default
 
virtual ~Message ()
 
virtual const char * typestr ()
 
T & operator* ()
 for Messages with modifiable contents. More...
 
T * operator-> ()
 Access message contents. More...
 
virtual const size_t serialized_size () const
 How much storage do we need to send this message? More...
 
virtual const size_t size () const
 
virtual void deliver_locally ()
 
virtual char * serialize_to (char *p, size_t max_size)
 Copy this message into a buffer. More...
 

Public Attributes

Grappa::impl::ReuseList< ReuseMessage > * list_
 

Protected Member Functions

virtual void mark_sent ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Grappa::Message< T >
static char * deserialize_and_call (char *t)
 These are used by the aggregator to send and receive messages. More...
 

Detailed Description

template<typename T>
class Grappa::ReuseMessage< T >

message to be used in message pools. adds itself to a list after being sent

Definition at line 50 of file ReuseMessage.hpp.

Member Function Documentation

template<typename T>
virtual ReuseMessage* Grappa::ReuseMessage< T >::get_next ( )
inlinevirtual

Definition at line 53 of file ReuseMessage.hpp.

template<typename T>
virtual void Grappa::ReuseMessage< T >::mark_sent ( )
inlineprotectedvirtual

Definition at line 59 of file ReuseMessage.hpp.

template<typename T>
virtual void Grappa::ReuseMessage< T >::set_next ( ReuseMessage< T > *  next)
inlinevirtual

Definition at line 57 of file ReuseMessage.hpp.

Member Data Documentation

template<typename T>
Grappa::impl::ReuseList< ReuseMessage >* Grappa::ReuseMessage< T >::list_

Definition at line 52 of file ReuseMessage.hpp.


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