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

Public Types

typedef T & reference
 
typedef T * pointer
 
- Public Types inherited from CSysvShm< T, N, true >
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 CSysvShm< T, N, true >
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
 

Additional Inherited Members

- Static Public Member Functions inherited from CSysvShm< T, N, true >
static std::string ErrMsg ()
 
- Static Public Attributes inherited from CSysvShm< T, N, true >
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: