Share::SharedSegmentWrapper Class Reference
[sharectl utility]

Wrapper around SharedSegment class for sharectl. More...

#include <sharectl.h>

Collaboration diagram for Share::SharedSegmentWrapper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SharedSegmentWrapper ()
 ~SharedSegmentWrapper ()
void create (const char *name, size_t size) throw (ShareException)
void attach (const char *name) throw (ShareException)
SegmentHeaderatAddr () throw (ShareException)
void destroy ()

Detailed Description

Wrapper around SharedSegment class for sharectl.

Definition at line 106 of file sharectl.h.


Constructor & Destructor Documentation

Share::SharedSegmentWrapper::SharedSegmentWrapper (  ) 

Share::SharedSegmentWrapper::~SharedSegmentWrapper (  ) 


Member Function Documentation

void Share::SharedSegmentWrapper::create ( const char *  name,
size_t  size 
) throw (ShareException)

Create new shared segment.

Parameters:
name Desired shared segment name.
size Desired shared segment size.
Exceptions:
ShareException Library-specific exception derived from std::bad_alloc

void Share::SharedSegmentWrapper::attach ( const char *  name  )  throw (ShareException)

Attach to existing shared segment.

Parameters:
name Name of shared segment to attach to
Exceptions:
ShareException Library-specific exception derived from std::bad_alloc

SegmentHeader* Share::SharedSegmentWrapper::atAddr (  )  throw (ShareException)

Returns:
Return address of attached shared segment

void Share::SharedSegmentWrapper::destroy (  ) 

Attempt to destroy shared segment. No checks are being performed!!


The documentation for this class was generated from the following file:
Generated on Sun Aug 26 17:43:03 2007 for ShareLibrary by  doxygen 1.5.2