Marine Library  1.0
C++ library for Linux Networking Development
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
CPosixShm< T, true, PF > Class Template Reference
Inheritance diagram for CPosixShm< T, true, PF >:
Inheritance graph
[legend]

Public Types

typedef T value_type
 
typedef const T & const_reference
 
typedef const T * const_pointer
 

Public Member Functions

bool valid () const
 
int init (const std::string &filename, size_t sz=0, void *address=NULL, int mode=kModeDefault)
 
int init (size_t sz, void *address=NULL)
 
bool setResident (bool on)
 
bool setDeleted ()
 
void uninit ()
 
size_t size () const
 
const_pointer ptr () const
 
const_reference operator[] (size_t index) const
 
const_reference front () const
 

Static Public Member Functions

static std::string ErrMsg ()
 

Static Public Attributes

static const int kModeDefault = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
 

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