#include <sharedmemmapping.h>
Inheritance diagram for SharedMemMapping:


Public Member Functions | |
| SharedMemMapping (const char *filename, side_t side) | |
| virtual | ~SharedMemMapping () |
| key_t | openKeyChannel (key_t key) |
| key_t | getKey () |
| bool | open () |
| void | close () |
|
||||||||||||
|
Construct a new SharedMemMapping from a mapping file for the specified side.
|
|
|
|
|
|
Open the key channel. If side is SOURCE_SIDE then ignore key and create a new key channel. The key channel key will be choosen at random. If side is DEST_SIDE the key will be used to attempt to open an existing channel.
|
|
|
Get the key channel key. The key channel key is the system id associated with the key exchanging shared memory.
|
|
|
Open the shared memory mapping. If the key channel has not yet been opened this function will automaticly fail.
Reimplemented from Mapping. |
|
|
Close both the key channel and the mapping. Reimplemented from Mapping. |
1.4.6