Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

function_imp< TObject, TParameter, Instance, Function > Class Template Reference

function_imp< TObject, TParameter, Instance, Function > Class Template Reference
[function]

A derived function template that takes an object type and parameter type. More...

#include <function.h>

Inherits etl::ifunction< TParameter >.

Public Types

typedef TObject object_type
 The type of object.
typedef TParameter parameter_type
 The type of parameter sent to the function.

Public Member Functions

virtual void operator() (TParameter data)
 The function operator that calls the destination function.

Detailed Description

template<typename TObject, typename TParameter, TObject & Instance, void(TObject::*)(TParameter) Function>
class etl::function_imp< TObject, TParameter, Instance, Function >

A derived function template that takes an object type and parameter type.

Template Parameters:
TObjectThe object type that contains the member function.
TParameterThe parameter type accepted by the member function.

Definition at line 307 of file function.h.


Member Typedef Documentation

typedef TObject object_type

The type of object.

Definition at line 311 of file function.h.

typedef TParameter parameter_type

The type of parameter sent to the function.

Reimplemented from ifunction< TParameter >.

Definition at line 312 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 318 of file function.h.