#include <futilities.h>
Inheritance diagram for rpa::fd_visitor:

Public Member Functions | |
| fd_visitor (int aFd) | |
| virtual void | visit (const char *aPtr, size_t aLen) const |
| Called as a visitor for each segment of memory ready to be written. | |
Private Attributes | |
| int | _fd |
This object is passed to a mmap_ctrl, and is called each time a segment is mapped into mmory. The role of this functor is then to process the memory segment : It copies it to the output file.
| rpa::fd_visitor::fd_visitor | ( | int | aFd | ) | [inline] |
| void rpa::fd_visitor::visit | ( | const char * | aPtr, | |
| size_t | aLen | |||
| ) | const [virtual] |
Called as a visitor for each segment of memory ready to be written.
Therefore, the only interface between the input and the output are consecutive segments of memory.
Implements rpa::visitor.
int rpa::fd_visitor::_fd [private] |
1.4.7