HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SYS_SharedMemoryView Class Reference

#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_SharedMemoryViewoperator= (const SYS_SharedMemoryView &)=delete
 
void setView (exint offset=0, exint size=SYS_EXINT_MAX)
 
exint offset () const
 
exint size () const
 
bool readOnly () const
 
voiddata () const
 
void sync ()
 
int64 getMemoryUsage (bool inclusive) const
 

Detailed Description

Definition at line 95 of file SYS_SharedMemory.h.

Constructor & Destructor Documentation

SYS_SharedMemoryView::SYS_SharedMemoryView ( SYS_SharedMemory shm,
exint  offset = 0,
exint  size = SYS_EXINT_MAX 
)
SYS_SharedMemoryView::~SYS_SharedMemoryView ( )
SYS_SharedMemoryView::SYS_SharedMemoryView ( const SYS_SharedMemoryView )
delete

Member Function Documentation

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
SYS_SharedMemoryView& SYS_SharedMemoryView::operator= ( const SYS_SharedMemoryView )
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 ( )

The documentation for this class was generated from the following file: