|
Embedded Template Library
1.0
|
#include <function.h>
Public Types | |
| typedef TObject | object_type |
| The type of object. | |
| typedef TParameter | parameter_type |
| The type of parameter sent to the function. | |
Public Types inherited from etl::ifunction< TParameter > | |
| typedef TParameter | parameter_type |
| The type of parameter sent to the function. | |
Public Member Functions | |
| function (TObject &object, void(TObject::*p_function)(TParameter)) | |
| virtual void | operator() (TParameter data) |
A derived function template that takes an object type and parameter type.
| TObject | The object type that contains the member function. |
| TParameter | The parameter type accepted by the member function. |
|
inline |
Constructor.
| object | Reference to the object |
| p_function | Pointer to the member function |
|
inlinevirtual |
The function operator that calls the destination function.
| data | The data to pass to the function. |
Implements etl::ifunction< TParameter >.