Orxonox: callback1< R, T1 > Class Template Reference

# callback1< R, T1 > Class Template Reference

`#include <src/cpptcl/details/callbacks.h>`

List of all members.

## Public Member Functions

| callback1 (functor_type f)
virtual void | invoke (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], policies const &)

## Private Types

typedef R(* | functor_type )(T1)

## Private Attributes

functor_type | f_

### template<typename R, typename T1>
class callback1< R, T1 >

## Member Typedef Documentation

template<typename R, typename T1>

typedef R(* callback1< R, T1 >::functor_type)(T1)`[private]`

## Constructor & Destructor Documentation

template<typename R, typename T1>

callback1< R, T1 >::callback1 | ( | functor_type | f | ) | `[inline]`

## Member Function Documentation

template<typename R, typename T1>

virtual void callback1< R, T1 >::invoke | ( | Tcl_Interp * | interp,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[],
|  | policies const & |  |
| ) |  |  | `[inline, virtual]`

References Tcl::details::check_params_no(), and callback1< R, T1 >::f_.

## Member Data Documentation

template<typename R, typename T1>

functor_type callback1< R, T1 >::f_`[private]`

Referenced by callback1< R, object const & >::invoke(), and callback1< R, T1 >::invoke().

The documentation for this class was generated from the following file:

- src/cpptcl/details/callbacks.h