tcl::function Class Reference

Abstract interface for the core function to be embedded in a tcl::command. More...

#include <tcl/command.h>

Inheritance diagram for tcl::function:

Inheritance graph
[legend]

List of all members.

Public Member Functions

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


Detailed Description

Abstract interface for the core function to be embedded in a tcl::command.

Definition at line 64 of file command.h.


Member Function Documentation

virtual void tcl::function::invoke ( tcl::call_context ctx  )  [pure 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.

Implemented in tcl::generic_function< R, func_wrapper >, and tcl::tcl::generic_function< void, func_wrapper >.

Referenced by tcl::vec_dispatcher::dispatch().


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:47 2008 by Doxygen version 1.5.5.