|
Embedded Template Library
1.0
|
#include <function.h>
Public Member Functions | |
| function (void(*p_function)(TParameter)) | |
| virtual void | operator() (TParameter data) |
Additional Inherited Members | |
Public Types inherited from etl::ifunction< TParameter > | |
| typedef TParameter | parameter_type |
| The type of parameter sent to the function. | |
Specialisation for static or global functions that take a parameter.
|
inline |
Constructor.
| p_function | Pointer to the function |
|
inlinevirtual |
The function operator that calls the destination function.
| data | The data to pass to the function. |
Implements etl::ifunction< TParameter >.