Abstract class to handle automatic call-back registration with the CallbackRegistry. Derive from this class and extend by adding the appropriate callback functions. More...
#include <OpenFOAM/Callback.H>
Abstract class to handle automatic call-back registration with the CallbackRegistry. Derive from this class and extend by adding the appropriate callback functions.
Definition at line 52 of file Callback.H.
Public Member Functions | |
Callback (CallbackRegistry< CallbackType > &) | |
Construct and register with CallbackRegistry.
| |
Callback (const Callback< CallbackType > &) | |
Construct as copy.
| |
virtual | ~Callback () |
bool | checkIn () |
Register Callback with CallbackRegistry.
| |
bool | checkOut () |
Check-out Callback from CallbackRegistry.
|
Callback | ( | CallbackRegistry< CallbackType > & | cbr ) |
Construct and register with CallbackRegistry.
Definition at line 31 of file Callback.C.
References Callback< CallbackType >::checkIn().
Construct as copy.
Definition at line 40 of file Callback.C.
References Callback< CallbackType >::checkIn().
~Callback | ( | ) | [virtual]
|
Definition at line 51 of file Callback.C.
bool checkIn | ( | ) |
Register Callback with CallbackRegistry.
Definition at line 60 of file Callback.C.
Referenced by Callback< CallbackType >::Callback().
bool checkOut | ( | ) |
Check-out Callback from CallbackRegistry.
Definition at line 75 of file Callback.C.