tcl::generic_function< R, func_wrapper > Class Template Reference

generic_function implements tcl::command using a held functor. More...

#include <tcl/makecmd.h>

Inheritance diagram for tcl::generic_function< R, func_wrapper >:
Inheritance graph
[legend]
Collaboration diagram for tcl::generic_function< R, func_wrapper >:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static rutz::shared_ptr
< tcl::function
make (func_wrapper f)

Protected Member Functions

 generic_function (func_wrapper f)
virtual void invoke (tcl::call_context &ctx)
 Abstract function performs this command's specific functionality.

Detailed Description

template<class R, class func_wrapper>
class tcl::generic_function< R, func_wrapper >

generic_function implements tcl::command using a held functor.

Definition at line 364 of file makecmd.h.


Member Function Documentation

template<class R , class func_wrapper >
virtual void tcl::generic_function< R, func_wrapper >::invoke ( tcl::call_context ctx  )  [inline, protected, virtual]

Abstract function performs this command's specific functionality.

The tcl::call_context& argument allows Tcl command arguments to be retrieved, and allows the interpreter's result to be set.

Implements tcl::function.

Definition at line 378 of file makecmd.h.

References R, and tcl::call_context::set_result().


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:31:37 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3