ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TclCommand Class Reference

#include <tclcl.h>

Inheritance diagram for TclCommand:

HasInt64Command HasSTLCommand RandomCommand RateVariable TimeAtofCommand VersionCommand List of all members.

Public Member Functions

virtual ~TclCommand ()

Protected Member Functions

 TclCommand (const char *cmd)
virtual int command (int argc, const char *const *argv)=0

Static Private Member Functions

int dispatch_cmd (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])

Private Attributes

const char * name_

Constructor & Destructor Documentation

TclCommand::~TclCommand   [virtual]

TclCommand::TclCommand const char *    cmd [protected]

Member Function Documentation

virtual int TclCommand::command int    argc,
const char *const *    argv
[protected, pure virtual]

Implemented in RateVariable, HasInt64Command, RandomCommand, VersionCommand, HasSTLCommand, and TimeAtofCommand.

int TclCommand::dispatch_cmd ClientData    clientData,
Tcl_Interp   interp,
int    argc,
char *    argv[]
[static, private]

Member Data Documentation

const char* TclCommand::name_ [private]

The documentation for this class was generated from the following files:
This document is generated by doxygen.