intrusive_message Struct Reference
[Communication]
Message container implements an intrusive pointer to save a pointer of a message with a reference counter.
#include "message_format.hpp"
Public Member Functions | |
intrusive_message () | |
Friends | |
void | intrusive_ptr_add_ref (struct intrusive_message *p) |
void | intrusive_ptr_release (struct intrusive_message *p) |
Constructor & Destructor Documentation
intrusive_message::intrusive_message | ( | ) | [inline] |
Friends And Related Function Documentation
void intrusive_ptr_add_ref | ( | struct intrusive_message * | p | ) | [friend] |
Increment the reference counter if.
void intrusive_ptr_release | ( | struct intrusive_message * | p | ) | [friend] |
Release the memory space of the message if no one refer to this message.