class XrlCmdMap


Definition#include <xrl_cmd_map.hh>
Inherited byXrlCmdDispatcher, XrlRouter, XrlRouter, XrlStdRouter, XrlStdRouter
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef map<string, XrlCmdEntry> CmdMap

CmdMap

 XrlCmdMap (const string& name = "anonymous")

XrlCmdMap

 ~XrlCmdMap ()

~XrlCmdMap

[virtual]

const string&  name ()

name

[const]

bool  add_handler (const string& cmd, const XrlRecvCallback& rcb)

add_handler

[virtual]

bool  remove_handler (const string& name)

remove_handler

[virtual]

const XrlCmdEntry*  get_handler (const string& name)

get_handler

[const]

uint32_t  count_handlers ()

count_handlers

[const]

const XrlCmdEntry*  get_handler (uint32_t index)

get_handler

[const]

void  get_command_names (list<string>& names)

get_command_names

[const]

void  finalize ()

finalize

[virtual]

Mark command map as finished.

bool  add_handler (const XrlCmdEntry& c)

add_handler

[protected]

 XrlCmdMap (const XrlCmdMap&)

XrlCmdMap

[protected]

XrlCmdMap&  operator= (const XrlCmdMap&)

operator=

[protected]

const string _name

_name

[protected]

CmdMap _cmd_map

_cmd_map

[protected]


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:49 2003, using kdoc 2.0a54+XORP.