#include <sharectl.h>
Collaboration diagram for Share::SharedSegmentWrapper:
Public Member Functions | |
SharedSegmentWrapper () | |
~SharedSegmentWrapper () | |
void | create (const char *name, size_t size) throw (ShareException) |
void | attach (const char *name) throw (ShareException) |
SegmentHeader * | atAddr () throw (ShareException) |
void | destroy () |
Definition at line 106 of file sharectl.h.
Share::SharedSegmentWrapper::SharedSegmentWrapper | ( | ) |
Share::SharedSegmentWrapper::~SharedSegmentWrapper | ( | ) |
void Share::SharedSegmentWrapper::create | ( | const char * | name, | |
size_t | size | |||
) | throw (ShareException) |
Create new shared segment.
name | Desired shared segment name. | |
size | Desired shared segment size. |
ShareException | Library-specific exception derived from std::bad_alloc |
void Share::SharedSegmentWrapper::attach | ( | const char * | name | ) | throw (ShareException) |
Attach to existing shared segment.
name | Name of shared segment to attach to |
ShareException | Library-specific exception derived from std::bad_alloc |
SegmentHeader* Share::SharedSegmentWrapper::atAddr | ( | ) | throw (ShareException) |
void Share::SharedSegmentWrapper::destroy | ( | ) |
Attempt to destroy shared segment. No checks are being performed!!