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

Public Types

typedef T & reference
 
typedef T * pointer
 
- Public Types inherited from CPosixShm< T, true, PF >
typedef T value_type
 
typedef const T & const_reference
 
typedef const T * const_pointer
 

Public Member Functions

pointer ptr ()
 
reference operator[] (size_t index)
 
reference front ()
 
- Public Member Functions inherited from CPosixShm< T, true, PF >
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
 

Additional Inherited Members

- Static Public Member Functions inherited from CPosixShm< T, true, PF >
static std::string ErrMsg ()
 
- Static Public Attributes inherited from CPosixShm< T, true, PF >
static const int kModeDefault = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
 

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