
generic_function implements tcl::command using a held functor. More...
#include <tcl/makecmd.h>


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. | |
generic_function implements tcl::command using a held functor.
Definition at line 364 of file makecmd.h.
| 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().
1.6.3