class XrlCmdMap


Definition#include <xrlcmdmap.hh>
Inherited byXrlRouter, XrlStdRouter
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Types

Protected Members


Detailed Description

 XrlCmdMap (const char* name = "anonymous")

XrlCmdMap

const string&  name ()

name

inline bool  add_handler (const char* cmd, XrlRecvCallback rcb)

add_handler

inline bool  add_handler (const char* cmd, XrlCmdCallback cb, void* cookie)

add_handler

bool  add_handler (const XrlCmdEntry& c)

add_handler

bool  remove_handler (const char* name)

remove_handler

const XrlCmdEntry*  get_handler (const char* name)

get_handler

[const]

uint32_t  count_handlers ()

count_handlers

[const]

const XrlCmdEntry*  get_handler (uint32_t index)

get_handler

[const]

const string _name

_name

[protected]

map<string, XrlCmdEntry> _cmd_map

_cmd_map

[protected]

typedef map<string, XrlCmdEntry>::const_iterator CMI

CMI

[protected]

typedef map<string, XrlCmdEntry>::iterator MI

MI

[protected]


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:42 2002, using kdoc 2.0a54+XORP.