Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

function_imv< TObject, Instance, Function > Class Template Reference

function_imv< TObject, 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< void >.

Public Types

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

Public Member Functions

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

Detailed Description

template<typename TObject, TObject & Instance, void(TObject::*)(void) Function>
class etl::function_imv< TObject, 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 332 of file function.h.


Member Typedef Documentation

typedef TObject object_type

The type of object.

Definition at line 336 of file function.h.

typedef void parameter_type

The type of parameter sent to the function.

Reimplemented from ifunction< void >.

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