FastUIDraw
|
Base class for passing around buffers of data; derived classes have the responsibility of maintaining storage cleanup at destruction. More...
#include <data_buffer_base.hpp>
Public Member Functions | |
DataBufferBase (c_array< const uint8_t > pdata_ro, c_array< uint8_t > pdata_rw) | |
c_array< const uint8_t > | data_ro (void) const |
c_array< uint8_t > | data_rw (void) |
Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter > | |
reference_counted_base (void) | |
Additional Inherited Members | |
Static Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter > | |
static void | add_reference (const reference_counted_base< T, Counter > *p) |
static void | remove_reference (const reference_counted_base< T, Counter > *p) |
Base class for passing around buffers of data; derived classes have the responsibility of maintaining storage cleanup at destruction.
Definition at line 37 of file data_buffer_base.hpp.
|
inline |
Ctor.
Definition at line 45 of file data_buffer_base.hpp.
|
inline |
Return the memory as read-only
Definition at line 55 of file data_buffer_base.hpp.
|
inline |
Return the memory as read-write
Definition at line 64 of file data_buffer_base.hpp.