Rudiments
|
Inherits file.
Public Member Functions | |
shmfile () | |
shmfile (const shmfile &s) | |
shmfile & | operator= (const shmfile &s) |
virtual | ~shmfile () |
Static Public Member Functions | |
static bool | remove (const char *filename) |
The shmfile class provides methods for interacting with POSIX shared memory objects. POSIX shared memory objects may be accessed like files, but reside in shared memory rather than on the filesystem.
For maximum portability, the name of a shmfile should begin with a slash (/) and contain no embedded slashes.
shmfile::shmfile | ( | ) |
Creates an instance of the shmfile class.
shmfile::shmfile | ( | const shmfile & | s | ) |
Creates an instance of the shmfile class that is a copy of "s".
virtual shmfile::~shmfile | ( | ) | [virtual] |
Deletes this instance of the shmfile class.
Makes this instance of the shmfile class identical to "s".
static bool shmfile::remove | ( | const char * | filename | ) | [static] |
Removes POXIX shared memory object "filename". Returns true on success and false on failure.
Reimplemented from file.