|
Aegis
4.25.D505
|
#include <callback.h>
Public Member Functions | |
| virtual | ~dir_functor_callback () |
| dir_functor_callback (dir_walk_callback_ty callback, void *auxilliary) | |
| void | operator() (msg_t msg, const nstring &path, const struct stat &st) |
Private Member Functions | |
| dir_functor_callback () | |
| dir_functor_callback (const dir_functor_callback &) | |
| dir_functor_callback & | operator= (const dir_functor_callback &) |
Private Attributes | |
| dir_walk_callback_ty | callback |
| void * | auxilliary |
The dir_functor_callback class is used to represent a backwards compatibility interface for how dir_walk used to work.
Definition at line 30 of file callback.h.
| virtual dir_functor_callback::~dir_functor_callback | ( | ) | [virtual] |
The destructor.
| dir_functor_callback::dir_functor_callback | ( | dir_walk_callback_ty | callback, |
| void * | auxilliary | ||
| ) |
The constructor.
| callback | the function to call then an event happens. |
| auxilliary | the extra argument to the callback function. |
| dir_functor_callback::dir_functor_callback | ( | ) | [private] |
The default constructor. Do not use.
| dir_functor_callback::dir_functor_callback | ( | const dir_functor_callback & | ) | [private] |
The copy constructor. Do not use.
| void dir_functor_callback::operator() | ( | msg_t | msg, |
| const nstring & | path, | ||
| const struct stat & | st | ||
| ) | [virtual] |
The () operator is used to implement the function of the functor.
| msg | The msg argument is used to say what s to be done. |
| path | The path to the file is question. |
| st | The file information about the path. |
Implements dir_functor.
| dir_functor_callback& dir_functor_callback::operator= | ( | const dir_functor_callback & | ) | [private] |
The assignment operator. Do not use.
void* dir_functor_callback::auxilliary [private] |
The callback instance variable is used to remember the extra argument to the callback function.
Definition at line 63 of file callback.h.
The callback instance variable is used to remember the function to call then an event happens.
Definition at line 57 of file callback.h.
1.7.6.1