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

#include <UT_SharedMem.h>

+ Inheritance diagram for UT_SharedMem:

Public Member Functions

 UT_SharedMem (const char *keypath=0, int size=0, int keyid=0)
 
 UT_SharedMem (key_t key, int size)
 
 UT_SharedMem (int size)
 
virtual ~UT_SharedMem ()
 
 UT_SharedMem (const UT_SharedMem &)=delete
 
UT_SharedMemoperator= (const UT_SharedMem &)=delete
 
int setKey (const char *path, int id=0)
 
int setKey (key_t key)
 
int setSize (int size)
 
int detach ()
 
int destroy ()
 
virtual voidgetMemory (int reuse=1)
 

Protected Attributes

UT_String ourKeyPath
 
int ourKeyId
 

Detailed Description

Definition at line 35 of file UT_SharedMem.h.

Constructor & Destructor Documentation

UT_SharedMem::UT_SharedMem ( const char *  keypath = 0,
int  size = 0,
int  keyid = 0 
)
explicit
UT_SharedMem::UT_SharedMem ( key_t  key,
int  size 
)
UT_SharedMem::UT_SharedMem ( int  size)
explicit
virtual UT_SharedMem::~UT_SharedMem ( )
virtual
UT_SharedMem::UT_SharedMem ( const UT_SharedMem )
delete

Member Function Documentation

int UT_SharedMem::destroy ( )
int UT_SharedMem::detach ( )
virtual void* UT_SharedMem::getMemory ( int  reuse = 1)
virtual
UT_SharedMem& UT_SharedMem::operator= ( const UT_SharedMem )
delete
int UT_SharedMem::setKey ( const char *  path,
int  id = 0 
)
int UT_SharedMem::setKey ( key_t  key)
int UT_SharedMem::setSize ( int  size)

Member Data Documentation

int UT_SharedMem::ourKeyId
protected

Definition at line 109 of file UT_SharedMem.h.

UT_String UT_SharedMem::ourKeyPath
protected

Definition at line 108 of file UT_SharedMem.h.


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