Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
function_fp< TParameter, Function > Class Template Reference
[function]
A derived function template that takes a parameter type. More...
#include <function.h>
Inherits etl::ifunction< TParameter >.
Public Types | |
| typedef TParameter | parameter_type |
| The type of parameter sent to the function. | |
Public Member Functions | |
| function_fp () | |
| Constructor. | |
| virtual void | operator() (TParameter data) |
| The function operator that calls the destination function. | |
Detailed Description
template<typename TParameter, void(*)(TParameter) Function>
class etl::function_fp< TParameter, Function >
A derived function template that takes a parameter type.
- Template Parameters:
-
TParameter The parameter type accepted by the member function.
Definition at line 356 of file function.h.
Member Typedef Documentation
| typedef TParameter parameter_type |
The type of parameter sent to the function.
Reimplemented from ifunction< TParameter >.
Definition at line 360 of file function.h.
Constructor & Destructor Documentation
| function_fp | ( | ) |
Constructor.
- Parameters:
-
object Reference to the object p_function Pointer to the member function
Definition at line 367 of file function.h.
Member Function Documentation
| virtual void operator() | ( | TParameter | data ) | [virtual] |
The function operator that calls the destination function.
- Parameters:
-
data The data to pass to the function.
Implements ifunction< TParameter >.
Definition at line 375 of file function.h.
Generated on Tue Jul 12 2022 14:05:50 by
1.7.2