xorp

OpCommandList Class Reference

List of all members.

Public Member Functions

 OpCommandList (const TemplateTree *tt, SlaveModuleManager &mmgr)
 OpCommandList (const string &config_template_dir, const TemplateTree *tt, SlaveModuleManager &mmgr) throw (InitError)
bool done () const
void incr_running_op_instances_n ()
void decr_running_op_instances_n ()
int read_templates (const string &config_template_dir, string &errmsg)
void set_slave_config_tree (SlaveConfigTree *sct)
bool check_variable_name (const string &variable_name) const
OpCommandfind_op_command (const list< string > &command_parts)
OpCommandadd_op_command (const OpCommand &op_command)
bool command_match (const list< string > &command_parts, bool exact_match) const
OpInstanceexecute (EventLoop &eventloop, const list< string > &command_parts, RouterCLI::OpModePrintCallback print_cb, RouterCLI::OpModeDoneCallback done_cb) const
map< string, CliCommandMatchtop_level_commands () const
map< string, CliCommandMatchchildlist (const vector< string > &vector_path) const
list< OpCommand * > & op_commands ()

Private Attributes

list< OpCommand * > _op_commands
size_t _running_op_instances_n
list< string > _path_segments
OpCommand_current_command
const TemplateTree_template_tree
SlaveConfigTree_slave_config_tree
SlaveModuleManager_mmgr

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations