class MasterConfigTree


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 MasterConfigTree (const string& config_file, MasterTemplateTree* tt, ModuleManager& mmgr, XorpClient& xclient, bool global_do_exec, bool verbose)
throw (InitError)

MasterConfigTree

 MasterConfigTree (TemplateTree* tt, bool verbose)

MasterConfigTree

MasterConfigTree&  operator= (const MasterConfigTree& orig_tree)

operator=

Reimplemented from ConfigTree.

 ~MasterConfigTree ()

~MasterConfigTree

bool  read_file (string& configuration, const string& config_file, string& errmsg)

read_file

bool  parse (const string& configuration, const string& config_file, string& errmsg)

parse

Reimplemented from ConfigTree.

void  execute ()

execute

void  config_done (bool success, string errmsg)

config_done

ConfigTreeNode*  create_node (const string& segment, const string& path, const TemplateTreeNode* ttn, ConfigTreeNode* parent_node, uid_t user_id, bool verbose)

create_node

[virtual]

Reimplemented from ConfigTree.

ConfigTree*  create_tree (TemplateTree *tt, bool verbose)

create_tree

[virtual]

Reimplemented from ConfigTree.

void  commit_changes_pass1 (CallBack cb)

commit_changes_pass1

void  commit_pass1_done (bool success, string errmsg)

commit_pass1_done

void  commit_changes_pass2 ()

commit_changes_pass2

void  commit_pass2_done (bool success, string errmsg)

commit_pass2_done

bool  commit_in_progress ()

commit_in_progress

[const]

bool  config_failed ()

config_failed

[const]

const string&  config_failed_msg ()

config_failed_msg

[const]

bool  check_commit_status (string& response)

check_commit_status

string  discard_changes ()

discard_changes

string  mark_subtree_for_deletion (const list<string>& path_segments, uid_t user_id)

mark_subtree_for_deletion

void  delete_entire_config ()

delete_entire_config

bool  lock_node (const string& node, uid_t user_id, uint32_t timeout, uint32_t& holder)

lock_node

bool  unlock_node (const string& node, uid_t user_id)

unlock_node

bool  save_to_file (const string& filename, uid_t user_id, const string& save_hook, string& errmsg)

save_to_file

bool  load_from_file (const string& filename, uid_t user_id, string& errmsg, string& deltas, string& deletions)

load_from_file

ModuleManager&  module_manager ()

module_manager

[const]

ConfigTreeNode&  root_node ()

root_node

[virtual]

Reimplemented from ConfigTree.

const ConfigTreeNode&  const_root_node ()

const_root_node

[const virtual]

Reimplemented from ConfigTree.

inline MasterConfigTreeNode&  master_root_node ()

master_root_node

[const]

inline const MasterConfigTreeNode&  const_master_root_node ()

const_master_root_node

[const]

inline MasterConfigTreeNode*  find_node (const list<string>& path)

find_node

Reimplemented from ConfigTree.

inline MasterConfigTreeNode*  find_config_module (const string& module_name)

find_config_module

Reimplemented from ConfigTree.


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:23 2005, using kdoc $.