Grappa  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Grappa::ExternalCountPayloadMessage< T > Class Template Reference

For Payload messages that need to set an existing flag when message created and unset when message sent. More...

#include <ExternalCountPayloadMessage.hpp>

Inheritance diagram for Grappa::ExternalCountPayloadMessage< T >:
Grappa::PayloadMessage< T >

Public Member Functions

 ExternalCountPayloadMessage (Core dest, T t, void *payload, size_t payload_size, uint64_t *count)
 
- Public Member Functions inherited from Grappa::PayloadMessage< T >
 PayloadMessage ()
 Construct a message. More...
 
 PayloadMessage (Core dest, T t, void *payload, size_t payload_size)
 Construct a message. More...
 
 PayloadMessage (const PayloadMessage &m)=delete
 Not allowed. More...
 
PayloadMessageoperator= (const PayloadMessage &m)=delete
 Not allowed. More...
 
PayloadMessageoperator= (PayloadMessage &&m)=delete
 Not allowed. More...
 
 PayloadMessage (PayloadMessage &&m)=default
 
virtual ~PayloadMessage ()
 
void set_payload (void *payload, size_t size)
 
void delete_payload_after_send ()
 
virtual void reset ()
 
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...
 

Protected Member Functions

virtual void mark_sent ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Grappa::PayloadMessage< 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::ExternalCountPayloadMessage< T >

For Payload messages that need to set an existing flag when message created and unset when message sent.

To be used when you won't be able to reference the message just the flag

Definition at line 37 of file ExternalCountPayloadMessage.hpp.

Constructor & Destructor Documentation

template<typename T >
Grappa::ExternalCountPayloadMessage< T >::ExternalCountPayloadMessage ( Core  dest,
t,
void *  payload,
size_t  payload_size,
uint64_t *  count 
)
inline

Definition at line 41 of file ExternalCountPayloadMessage.hpp.

Member Function Documentation

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

Definition at line 51 of file ExternalCountPayloadMessage.hpp.


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