HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 ()
 
int setKey (const char *path, int id=0)
 
int setKey (key_t key)
 
int setSize (int size)
 
virtual int detach ()
 
virtual 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

Member Function Documentation

virtual int UT_SharedMem::destroy ( )
virtual
virtual int UT_SharedMem::detach ( )
virtual

Reimplemented in UT_Interrupt.

virtual void* UT_SharedMem::getMemory ( int  reuse = 1)
virtual
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 106 of file UT_SharedMem.h.

UT_String UT_SharedMem::ourKeyPath
protected

Definition at line 105 of file UT_SharedMem.h.


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