

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_ |
Definition at line 70 of file metric.h.
| int Metric::command | ( | int | argc, | |
| const char *const * | argv | |||
| ) | [virtual] |
TCL command interpreter. It implements the following OTcl methods:
| 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) |
Definition at line 206 of file metric.cc.
References name_.
1.5.2