UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Friends | List of all members
TableUDC Class Reference

#include <memctl.H>

Inheritance diagram for TableUDC:
ObjectIPC

Public Member Functions

 TableUDC (key_t k_udc)
 
 TableUDC (int udc_cnt, MemPolicy mp)
 
int udc_count ()
 
UniMemoperator[] (int udc_i)
 
virtual key_t key ()
 
virtual int attach_cnt ()
 
- Public Member Functions inherited from ObjectIPC
 ObjectIPC (key_t id_k)
 

Friends

class UniMem
 

Additional Inherited Members

- Protected Member Functions inherited from ObjectIPC
void new_key ()
 

Detailed Description

Table of universal data cells to handle udc in smart manner. Allocation in performed only if requested size is greater than PEP_UDC_FIXED_SIZE. Memory for allocation is local or shared.

Constructor & Destructor Documentation

TableUDC::TableUDC ( key_t  k_udc)

Attach shared table

TableUDC::TableUDC ( int  udc_cnt,
MemPolicy  mp 
)

Allocate local/shared table

Member Function Documentation

virtual int TableUDC::attach_cnt ( )
virtual

Returns count of attached processes (users)

Reimplemented from ObjectIPC.

virtual key_t TableUDC::key ( )
virtual

Return key of table in shared policy

Reimplemented from ObjectIPC.

UniMem* TableUDC::operator[] ( int  udc_i)

Allowes the access to needed udc

int TableUDC::udc_count ( )
inline

How many cells contains


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