Implements an operation that calls back a registered function. More...
#include <CallbackOperation.h>
Public Member Functions | |
CallbackOperation (boost::function< void()> const &callback) | |
Create a callback operation using the callback function object. | |
virtual void | execute () |
Execute the callback function. | |
virtual | ~CallbackOperation () |
Destroy a callback operation. | |
Private Attributes | |
boost::function< void()> | m_callback |
Implements an operation that calls back a registered function.
Definition at line 34 of file CallbackOperation.h.
icl_core::dispatch::CallbackOperation::CallbackOperation | ( | boost::function< void()> const & | callback | ) |
Create a callback operation using the callback function object.
Definition at line 28 of file CallbackOperation.cpp.
Destroy a callback operation.
Definition at line 33 of file CallbackOperation.cpp.
void icl_core::dispatch::CallbackOperation::execute | ( | ) | [virtual] |
Execute the callback function.
Implements icl_core::dispatch::Operation.
Definition at line 37 of file CallbackOperation.cpp.
boost::function<void ()> icl_core::dispatch::CallbackOperation::m_callback [private] |
Definition at line 46 of file CallbackOperation.h.