#include <SharedMem.h>
Classes |
class | Lock |
| Use to get a scoped semaphore lock on the shared memory. More...
|
Public Types |
typedef boost::uint8_t * | iterator |
Member Typedef Documentation
Constructor & Destructor Documentation
gnash::SharedMem::SharedMem |
( |
size_t |
size | ) |
|
Construct a SharedMem with the requested size.
- Parameters
-
size | The size of the shared memory section. If successfully created, the segment will be exactly this size and is not resizable. |
gnash::SharedMem::~SharedMem |
( |
| ) |
|
Destructor.
References _.
Member Function Documentation
bool gnash::SharedMem::attach |
( |
| ) |
|
Initialize the shared memory segment.
This is called by LocalConnection when either connect() or send() is called.
References _, assert, and gnash::key::s.
iterator gnash::SharedMem::begin |
( |
| ) |
const |
|
inline |
iterator gnash::SharedMem::end |
( |
| ) |
const |
|
inline |
The end of the SharedMem section.
This is only valid after attach() has returned true.
The documentation for this class was generated from the following files: