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

#include <memctl.H>

Inheritance diagram for LocalMem:
MemBlock

Public Member Functions

 LocalMem (size_t volume)
 
 LocalMem (size_t volume, void *p)
 
virtual ~LocalMem ()
 
virtual size_t size ()
 
virtual void resize (size_t volume)
 
virtual void * ptr ()
 
- Public Member Functions inherited from MemBlock
virtual ~MemBlock ()
 
virtual void operator= (MemBlock &mem_blk)
 

Detailed Description

Block of private process memory.

Constructor & Destructor Documentation

virtual LocalMem::~LocalMem ( )
virtual

Destroy local memory page

Member Function Documentation

virtual void* LocalMem::ptr ( )
virtual

Return address of page in local space

Implements MemBlock.

virtual void LocalMem::resize ( size_t  volume)
virtual

Change size of page to new volume without any guarantee of saving data during resize

Implements MemBlock.

virtual size_t LocalMem::size ( )
inlinevirtual

Get size of allocated memory page

Implements MemBlock.


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