Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

function_fv< Function > Class Template Reference

function_fv< Function > Class Template Reference
[function]

A derived function template that takes a parameter type. More...

#include <function.h>

Inherits etl::ifunction< void >.

Public Types

typedef void parameter_type
 The type of parameter sent to the function.

Public Member Functions

 function_fv ()
 Constructor.
virtual void operator() ()
 The function operator that calls the destination function.

Detailed Description

template<void(*)(void) Function>
class etl::function_fv< Function >

A derived function template that takes a parameter type.

Template Parameters:
TParameterThe parameter type accepted by the member function.

Definition at line 388 of file function.h.


Member Typedef Documentation

typedef void parameter_type

The type of parameter sent to the function.

Reimplemented from ifunction< void >.

Definition at line 392 of file function.h.


Constructor & Destructor Documentation

function_fv (  )

Constructor.

Parameters:
objectReference to the object
p_functionPointer to the member function

Definition at line 399 of file function.h.


Member Function Documentation

virtual void operator() (  ) [virtual]

The function operator that calls the destination function.

Parameters:
dataThe data to pass to the function.

Implements ifunction< void >.

Definition at line 407 of file function.h.