Aegis  4.25.D505
Public Member Functions | Private Member Functions | Private Attributes
dir_functor_callback Class Reference

#include <callback.h>

Inheritance diagram for dir_functor_callback:
dir_functor

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_callbackoperator= (const dir_functor_callback &)

Private Attributes

dir_walk_callback_ty callback
void * auxilliary

Detailed Description

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.


Constructor & Destructor Documentation

The destructor.

The constructor.

Parameters:
callbackthe function to call then an event happens.
auxilliarythe extra argument to the callback function.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

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.

Parameters:
msgThe msg argument is used to say what s to be done.
pathThe path to the file is question.
stThe 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.


Field Documentation

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.


The documentation for this class was generated from the following file: