#include <mmap.h>
Public Types | |
enum | OpenFlags { NoImmMap = (1<<0), Public = (1<<1), ReadOnly = (1<<2), UnMapped = (1<<3), Moveable = (1<<4), Fallback = (1 << 5) } |
Public Member Functions | |
MMap (FileFd &F, unsigned long Flags) | |
MMap (unsigned long Flags) | |
virtual | ~MMap () |
void | AddSize (unsigned long long const size) |
void * | Data () |
operator void * () | |
unsigned long long | Size () |
bool | Sync () |
bool | Sync (unsigned long Start, unsigned long Stop) |
bool | validData () const |
Protected Member Functions | |
bool | Close (bool DoSync=true) |
bool | Map (FileFd &Fd) |
Protected Attributes | |
void * | Base |
unsigned long | Flags |
unsigned long long | iSize |
FileFd * | SyncToFd |
enum MMap::OpenFlags |
MMap::MMap | ( | FileFd & | F, |
unsigned long | Flags | ||
) |
MMap::MMap | ( | unsigned long | Flags | ) |
|
virtual |
|
inline |
References iSize.
|
protected |
|
inline |
|
protected |
|
inline |
References Base.
|
inline |
bool MMap::Sync | ( | ) |
bool MMap::Sync | ( | unsigned long | Start, |
unsigned long | Stop | ||
) |
|
inline |
References Base.
|
protected |
Referenced by Data(), operator void *(), and validData().
|
protected |
|
protected |