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
CSysvShm< T, N, true > Class Template Reference
Inheritance diagram for CSysvShm< T, N, true >:
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 &pathname, int projId, void *address=NULL, int mode=kModeDefault)
 
int init (key_t key=IPC_PRIVATE, void *address=NULL, int mode=kModeDefault)
 
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 = SHM_R | SHM_W
 
static const size_t kSize = N
 

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