COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
covise::coShmAlloc Class Reference

#include <dmgr.h>

Inheritance diagram for covise::coShmAlloc:
Inheritance graph
[legend]
Collaboration diagram for covise::coShmAlloc:
Collaboration graph
[legend]

Public Member Functions

 coShmAlloc (int *key, DataManagerProcess *d)
 
 ~coShmAlloc ()
 
coShmPtrmalloc (shmSizeType size)
 
void get_shmlist (char *ptr)
 
void free (coShmPtr *adr)
 
void free (int shm_seq_no, shmSizeType offset)
 
void print ()
 
void collect_garbage ()
 
void new_desk (void)
 
- Public Member Functions inherited from covise::ShmAccess
 ShmAccess (int k)
 
 ShmAccess (int *k)
 
 ShmAccess (char *, int noDelete=1)
 
 ~ShmAccess ()
 
void add_new_segment (int k, shmSizeType size)
 
voidget_pointer (int no)
 
voidget_pointer ()
 
int get_key ()
 

Private Attributes

class DataManagerProcessdmgrproc
 

Static Private Attributes

static class AddressOrderedTreeused_list = 0L
 
static class AddressOrderedTreefree_list = 0L
 
static class SizeOrderedTreefree_size_list = 0L
 

Additional Inherited Members

- Static Protected Attributes inherited from covise::ShmAccess
static SharedMemoryshm = 0L
 

Constructor & Destructor Documentation

coShmAlloc::coShmAlloc ( int *  key,
DataManagerProcess d 
)
covise::coShmAlloc::~coShmAlloc ( )
inline

Member Function Documentation

void covise::coShmAlloc::collect_garbage ( )
inline
void covise::coShmAlloc::free ( coShmPtr adr)
inline
void coShmAlloc::free ( int  shm_seq_no,
shmSizeType  offset 
)
void covise::coShmAlloc::get_shmlist ( char *  ptr)
inline
coShmPtr * coShmAlloc::malloc ( shmSizeType  size)
void coShmAlloc::new_desk ( void  )
void coShmAlloc::print ( void  )

Member Data Documentation

class DataManagerProcess* covise::coShmAlloc::dmgrproc
private
AddressOrderedTree * coShmAlloc::free_list = 0L
staticprivate
SizeOrderedTree * coShmAlloc::free_size_list = 0L
staticprivate
AddressOrderedTree * coShmAlloc::used_list = 0L
staticprivate

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