Public Member Functions | List of all members
BoundTreeAwarCallback Class Reference
Inheritance diagram for BoundTreeAwarCallback:
Inheritance graph
Collaboration diagram for BoundTreeAwarCallback:
Collaboration graph

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 ()

Detailed Description

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.

Constructor & Destructor Documentation

BoundTreeAwarCallback::BoundTreeAwarCallback ( AW_awar awar_,
const TreeAwarCallback &  cb_,
bool  triggerIfTreeDataChanges 
BoundTreeAwarCallback::~BoundTreeAwarCallback ( )

Member Function Documentation

void BoundTreeAwarCallback::bind_tree_callback ( )
void BoundTreeAwarCallback::call ( bool  treeDataChanged)

Definition at line 45 of file AWT_TreeAwars.cxx.

Referenced by TreeAwarChanged_cb(), and TreeDataChanged_cb().

void BoundTreeAwarCallback::rename_if ( const char oldname,
const char newname 
) const

Definition at line 47 of file AWT_TreeAwars.cxx.

References AW_awar::read_char_pntr(), and AW_awar::write_string().

bool BoundTreeAwarCallback::is_less_than ( const BoundTreeAwarCallback other) const

Definition at line 53 of file AWT_TreeAwars.cxx.

References diff().

void BoundTreeAwarCallback::tree_lost ( )

Definition at line 58 of file AWT_TreeAwars.cxx.

References NULp.

Referenced by TreeDataChanged_cb().

The documentation for this class was generated from the following file: