ARB
|
Public Member Functions | |
BoundTreeAwarCallback (AW_awar *awar_, const TreeAwarCallback &cb_, bool triggerIfTreeDataChanges) | |
~BoundTreeAwarCallback () | |
void | bind_tree_callback () |
void | call (bool treeDataChanged) |
void | rename_if (const char *oldname, const char *newname) const |
bool | is_less_than (const BoundTreeAwarCallback &other) const |
void | tree_lost () |
bind a callback to a tree-awar and the associated tree i.e. callback is triggered if awar changes to different tree or if tree itself changes.
The awar has to be type string and has to contain a tree name
Definition at line 34 of file AWT_TreeAwars.cxx.
BoundTreeAwarCallback::BoundTreeAwarCallback | ( | AW_awar * | awar_, |
const TreeAwarCallback & | cb_, | ||
bool | triggerIfTreeDataChanges | ||
) |
Definition at line 126 of file AWT_TreeAwars.cxx.
References AW_awar::add_callback(), bind_tree_callback(), and TreeAwarChanged_cb().
BoundTreeAwarCallback::~BoundTreeAwarCallback | ( | ) |
Definition at line 135 of file AWT_TreeAwars.cxx.
References bind_tree_callback(), AW_awar::read_string(), AW_awar::remove_callback(), TreeAwarChanged_cb(), and AW_awar::write_string().
void BoundTreeAwarCallback::bind_tree_callback | ( | ) |
Definition at line 106 of file AWT_TreeAwars.cxx.
References GB_add_callback(), GB_CB_CHANGED_OR_DELETED, gb_main, GB_remove_callback(), GBT_find_tree(), TreeAwarRegistry::get_gb_main(), NULp, AW_awar::read_string(), ta, and TreeDataChanged_cb().
Referenced by BoundTreeAwarCallback(), TreeAwarChanged_cb(), and ~BoundTreeAwarCallback().
|
inline |
Definition at line 45 of file AWT_TreeAwars.cxx.
Referenced by TreeAwarChanged_cb(), and TreeDataChanged_cb().
Definition at line 47 of file AWT_TreeAwars.cxx.
References AW_awar::read_char_pntr(), and AW_awar::write_string().
|
inline |
Definition at line 53 of file AWT_TreeAwars.cxx.
References diff().
|
inline |
Definition at line 58 of file AWT_TreeAwars.cxx.
References NULp.
Referenced by TreeDataChanged_cb().