functor Class Reference

#include <functor.h>

Inheritance diagram for functor:

functor_stack

Public Types

typedef aegis_shared_ptr< functorpointer

Public Member Functions

virtual ~functor ()
virtual void operator() ()=0
void call ()
 helper function to make some code less ugly
 functor (const functor &)
functoroperator= (const functor &)

Protected Member Functions

 functor ()

Detailed Description

The functor class is used to represent the most generic of all callback functions, one that takes no arguments.

Definition at line 28 of file functor.h.


Member Typedef Documentation

Definition at line 31 of file functor.h.


Constructor & Destructor Documentation

virtual functor::~functor (  )  [virtual]

The destructor.

functor::functor (  )  [protected]

The default constructor.

functor::functor ( const functor  ) 

The copy constructor. Do not use.


Member Function Documentation

virtual void functor::operator() (  )  [pure virtual]

The function call operator, with no arguments. This is why it is called a functor.

Implemented in functor_stack.

void functor::call (  )  [inline]

helper function to make some code less ugly

Definition at line 53 of file functor.h.

functor& functor::operator= ( const functor  ) 

The assignment operator. Do not use.


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