Cantil 1.0.0
Scalable publish-subscribe implementation.
|
Vtable for message construction. More...
#include <broker.h>
Data Fields | |
size_t(* | size )(void) |
Callback for obtaining the size of the load. | |
void(* | ctor )(CnLoad *, va_list) |
Constructor callback for the message. | |
void(* | dtor )(CnLoad *) |
Destructor callback for the message. | |
Vtable for message construction.
void(* CnLoadVt::ctor)(CnLoad *, va_list) |
Constructor callback for the message.
Should allocate additional memory for the message, if needed (see "indirect context") and initialize the message - read arguments from the va_list and fill the load passed through the CnLoad pointer.
void(* CnLoadVt::dtor)(CnLoad *) |
Destructor callback for the message.
Should free all the memory allocated by the CnLoadVt::ctor.
size_t(* CnLoadVt::size)(void) | ( | void | ) |
Callback for obtaining the size of the load.
Should return the size of the load in bytes.