Public Member Functions | Private Attributes | List of all members
icl_core::dispatch::CallbackOperation Class Reference

Implements an operation that calls back a registered function. More...

#include <CallbackOperation.h>

Inheritance diagram for icl_core::dispatch::CallbackOperation:
Inheritance graph
[legend]

Public Member Functions

 CallbackOperation (boost::function< void()> const &callback)
 Create a callback operation using the callback function object. More...
 
virtual void execute ()
 Execute the callback function. More...
 
virtual ~CallbackOperation ()
 Destroy a callback operation. More...
 
- Public Member Functions inherited from icl_core::dispatch::Operation
 Operation ()
 Creates a new operation object. More...
 
virtual ~Operation ()
 Destroys an operation object. More...
 

Private Attributes

boost::function< void()> m_callback
 

Detailed Description

Implements an operation that calls back a registered function.

Definition at line 34 of file CallbackOperation.h.

Constructor & Destructor Documentation

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.

icl_core::dispatch::CallbackOperation::~CallbackOperation ( )
virtual

Destroy a callback operation.

Definition at line 33 of file CallbackOperation.cpp.

Member Function Documentation

void icl_core::dispatch::CallbackOperation::execute ( )
virtual

Execute the callback function.

Implements icl_core::dispatch::Operation.

Definition at line 37 of file CallbackOperation.cpp.

Member Data Documentation

boost::function<void ()> icl_core::dispatch::CallbackOperation::m_callback
private

Definition at line 46 of file CallbackOperation.h.


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


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59