#include <Messenger.h>
Public Member Functions | |
Messenger (Communicator *comm, unsigned int rbufsize) | |
~Messenger (void) | |
bool | AddCallback (KokoTag tag, void(*funcp)(KokoBuffer &databuf)) |
======================================================================== Callback installation. | |
template<class Type> bool | AddCallback (KokoTag tag, Type &obj, void(Type::*meth)(KokoBuffer &databuf)) |
template<class Type> bool | AddCallback (KokoTag tag, Type *obj, void(Type::*meth)(KokoBuffer &databuf)) |
bool | RemoveCallback (KokoTag id) |
unsigned int | BufferSize (void) |
======================================================================= Internal message buffer management. | |
void | ResizeBuffer (unsigned int new_size) |
void | WaitForMessage (void) |
======================================================================= Message handling... | |
void | WaitForBroadcast (void) |
|
Definition at line 14 of file Messenger.cpp. |
|
Definition at line 25 of file Messenger.cpp. |
|
Definition at line 58 of file Messenger.h. References CallbackMap::Add(). |
|
Definition at line 50 of file Messenger.h. References CallbackMap::Add(). |
|
======================================================================== Callback installation.
Definition at line 42 of file Messenger.h. References CallbackMap::Add(). |
|
======================================================================= Internal message buffer management.
Definition at line 73 of file Messenger.h. References KokoBuffer::TotalSize(). |
|
Definition at line 66 of file Messenger.h. References id, and CallbackMap::Remove(). |
|
Definition at line 76 of file Messenger.h. References KokoBuffer::Resize(). |
|
Definition at line 53 of file Messenger.cpp. References Communicator::Broadcast(), CallbackMap::Invoke(), KokoTag, and Communicator::RecvTag(). |
|
======================================================================= Message handling...
Definition at line 38 of file Messenger.cpp. References CallbackMap::Invoke(), KOKO_ANY_ID, KOKO_ANY_TAG, KokoTag, Communicator::Recv(), and Communicator::RecvTag(). |