GATE
|
Provides access to plain memory attached to a ref-counted object. More...
#include <objects.h>
Public Member Functions | |
gate_size_t | get_size () |
Returns the size of the allocated memory block. | |
void * | get_content () |
Returns a pointer to the begin of the memory data block. | |
Public Member Functions inherited from gate_object_t | |
char const * | get_interface_name () |
Returns on object's interface path name. | |
void | release () |
Decrease object's reference counter, releases the object when count reaches zero. | |
int | retain () |
Increase object's reference counter. | |
Provides access to plain memory attached to a ref-counted object.
gate_size_t get_size | ( | ) |
Returns the size of the allocated memory block.
void * get_content | ( | ) |
Returns a pointer to the begin of the memory data block.