Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

function_fp< TParameter, Function > Class Template Reference

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:
TParameterThe 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:
objectReference to the object
p_functionPointer 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:
dataThe data to pass to the function.

Implements ifunction< TParameter >.

Definition at line 375 of file function.h.