Metric Class Reference

Inheritance diagram for Metric:

Inheritance graph
[legend]
Collaboration diagram for Metric:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Metric (const char *name)
virtual ~Metric ()
virtual double value (Packet *p)=0
const char * getName ()
virtual int command (int argc, const char *const *argv)
void insertParam (MetricList *m)
void clearParam ()

Private Attributes

const char * name_
MetricList list_

Detailed Description

Definition at line 70 of file metric.h.


Member Function Documentation

int Metric::command ( int  argc,
const char *const *  argv 
) [virtual]

TCL command interpreter. It implements the following OTcl methods:

Parameters:
argc number of arguments in argv
argv array of strings which are the command parameters (Note that argv[0] is the name of the object)
Returns:
TCL_OK or TCL_ERROR whether the command has been dispatched succesfully or no
See also:
Module

Definition at line 206 of file metric.cc.

References name_.


The documentation for this class was generated from the following files:
Generated on Wed Nov 26 15:48:58 2008 for NS-MIRACLE library by  doxygen 1.5.2