hmbdc
simplify-high-performance-messaging-programming
|
when Domain (it's pumps) receives a hasMemoryAttachment, there is a need to allocate desired memory to hold the attachment bytes and release it after consumed. This is the policy type dictating how that is done by default - using malloc/free More...
#include <Domain.hpp>
Public Member Functions | |
void * | operator() (uint16_t typeTag, app::hasMemoryAttachment *att) |
fill in hasMemoryAttachment so it holds the desired memory and the incoming attachment can be holden More... | |
when Domain (it's pumps) receives a hasMemoryAttachment, there is a need to allocate desired memory to hold the attachment bytes and release it after consumed. This is the policy type dictating how that is done by default - using malloc/free
|
inline |
fill in hasMemoryAttachment so it holds the desired memory and the incoming attachment can be holden
typeTag | the hasMemoryAttachment message type tag |
att | the hasMemoryAttachment struct to be filled in |