#include <ctables.h>
Inheritance diagram for command_t:
Public Member Functions | |
command_t (std::string cmd, char flags, int minpara) | |
virtual void | Handle (char **parameters, int pcnt, userrec *user)=0 |
virtual | ~command_t () |
Public Attributes | |
std::string | command |
Command name. | |
char | flags_needed |
User flags needed to execute the command or 0. | |
int | min_params |
Minimum number of parameters command takes. | |
long | use_count |
used by /stats m | |
long | total_bytes |
used by /stats m | |
std::string | source |
used for resource tracking between modules |
Definition at line 29 of file ctables.h.
|
Definition at line 51 of file ctables.h. References source, total_bytes, and use_count. 00051 : command(cmd), flags_needed(flags), min_params(minpara) 00052 { 00053 use_count = total_bytes = 0; 00054 source = "<core>"; 00055 }
|
|
Definition at line 59 of file ctables.h.
|
|
Implemented in cmd_mode. |
|
Command name.
|
|
User flags needed to execute the command or 0.
|
|
Minimum number of parameters command takes.
|
|
used for resource tracking between modules
Definition at line 49 of file ctables.h. Referenced by command_t(). |
|
used by /stats m
Definition at line 46 of file ctables.h. Referenced by command_t(). |
|
used by /stats m
Definition at line 43 of file ctables.h. Referenced by command_t(). |