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

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.

Parameters:
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.


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:
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.


Field Documentation

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 callback instance variable is used to remember the extra argument to the callback function.

Definition at line 63 of file callback.h.


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

Generated on Wed Mar 12 23:37:39 2008 for Aegis by  doxygen 1.5.5