Swarm-NG
1.1
|
Class for memory mapping. More...
#include <memorymap.hpp>
Public Types | |
enum | |
Enumerate IO types. | |
enum | |
Enumerate mapping types. | |
Public Member Functions | |
void | open (int fd, size_t length_, size_t offset, int mode, int mapstyle, bool closefd=false) |
open file | |
MemoryMap () | |
Constructors. | |
void | open (const std::string &filename, size_t length=0, size_t offset=0, int mode=ro, int map=shared) |
open file with mapping type | |
~MemoryMap () | |
Destructor. | |
operator void * () | |
Define operator. | |
Static Public Member Functions | |
static void | pagesizealign (std::ostream &out) |
page size alignment | |
Class for memory mapping.
Definition at line 54 of file memorymap.hpp.