Sturk 1.0.2
Publish-subscribe C 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 )(StLoad *, va_list) |
Constructor callback for the message. | |
void(* | dtor )(StLoad *) |
Destructor callback for the message. | |
Vtable for message construction.
void(* StLoadVt::ctor)(StLoad *, 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 StLoad pointer.
void(* StLoadVt::dtor)(StLoad *) |
Destructor callback for the message.
Should free all the memory allocated by the StLoadVt::ctor.
size_t(* StLoadVt::size)(void) | ( | void | ) |
Callback for obtaining the size of the load.
Should return the size of the load in bytes.