Public Member Functions | |
segment (int aFilDes, off_t anOffset, size_t aLen) | |
This simply maps a segment of memory and does not change the size. | |
~segment () | |
If an exception is thrown, the destructor unmaps the memory. | |
char * | addr (void) |
Simply returns the beginning of the mapped memory. | |
Private Member Functions | |
segment () | |
segment (const segment &) | |
segment & | operator= (const segment &) |
Private Attributes | |
void * | _addr |
The address of the mapped memory of this segment. | |
size_t | _len |
rpa::mmap_ctrl::segment::segment | ( | ) | [private] |
rpa::mmap_ctrl::segment::segment | ( | const segment & | ) | [private] |
rpa::mmap_ctrl::segment::segment | ( | int | aFilDes, | |
off_t | anOffset, | |||
size_t | aLen | |||
) | [inline] |
This simply maps a segment of memory and does not change the size.
rpa::mmap_ctrl::segment::~segment | ( | ) | [inline] |
If an exception is thrown, the destructor unmaps the memory.
char* rpa::mmap_ctrl::segment::addr | ( | void | ) | [inline] |
Simply returns the beginning of the mapped memory.
void* rpa::mmap_ctrl::segment::_addr [private] |
The address of the mapped memory of this segment.
size_t rpa::mmap_ctrl::segment::_len [private] |