HDK
|
#include <SYS_SharedMemory.h>
Public Member Functions | |
SYS_SharedMemoryView (SYS_SharedMemory &shm, exint offset=0, exint size=SYS_EXINT_MAX) | |
~SYS_SharedMemoryView () | |
SYS_SharedMemoryView (const SYS_SharedMemoryView &)=delete | |
SYS_SharedMemoryView & | operator= (const SYS_SharedMemoryView &)=delete |
void | setView (exint offset=0, exint size=SYS_EXINT_MAX) |
exint | offset () const |
exint | size () const |
bool | readOnly () const |
void * | data () const |
void | sync () |
int64 | getMemoryUsage (bool inclusive) const |
Definition at line 95 of file SYS_SharedMemory.h.
SYS_SharedMemoryView::SYS_SharedMemoryView | ( | SYS_SharedMemory & | shm, |
exint | offset = 0 , |
||
exint | size = SYS_EXINT_MAX |
||
) |
SYS_SharedMemoryView::~SYS_SharedMemoryView | ( | ) |
|
delete |
void* SYS_SharedMemoryView::data | ( | ) | const |
int64 SYS_SharedMemoryView::getMemoryUsage | ( | bool | inclusive | ) | const |
Returns an approximation of the memory used by these structures, NOT the shared memory itself.
exint SYS_SharedMemoryView::offset | ( | ) | const |
|
delete |
bool SYS_SharedMemoryView::readOnly | ( | ) | const |
void SYS_SharedMemoryView::setView | ( | exint | offset = 0 , |
exint | size = SYS_EXINT_MAX |
||
) |
exint SYS_SharedMemoryView::size | ( | ) | const |
void SYS_SharedMemoryView::sync | ( | ) |