To debug the callbacks of a ValueTree::Listener simply attach a ValueTreeDebugListener to the tree and see debug information in the console.
More...
To debug the callbacks of a ValueTree::Listener simply attach a ValueTreeDebugListener to the tree and see debug information in the console.
ValueTreeDebugListener::ValueTreeDebugListener |
( |
juce::ValueTree & |
treeToWatch, |
|
|
int |
shouldIncludeChildren = false , |
|
|
const int |
requestedDumpTreeLevel = 0 |
|
) |
| |
Create a Debug listener to write callbacks to DBG.
If you want to see callbacks from child trees too set
- Parameters
-
includeChildren | to true. |
dumpTreeLevel | is not yet implemented. |
ValueTreeDebugListener::~ValueTreeDebugListener |
( |
| ) |
|
void ValueTreeDebugListener::valueTreePropertyChanged |
( |
juce::ValueTree & |
treeWhosePropertyHasChanged, |
|
|
const juce::Identifier & |
property |
|
) |
| |
|
override |
void ValueTreeDebugListener::valueTreeChildAdded |
( |
juce::ValueTree & |
parentTree, |
|
|
juce::ValueTree & |
childWhichHasBeenAdded |
|
) |
| |
|
override |
void ValueTreeDebugListener::valueTreeChildRemoved |
( |
juce::ValueTree & |
parentTree, |
|
|
juce::ValueTree & |
childWhichHasBeenRemoved, |
|
|
int |
indexFromWhichChildWasRemoved |
|
) |
| |
|
override |
void ValueTreeDebugListener::valueTreeChildOrderChanged |
( |
juce::ValueTree & |
parentTreeWhoseChildrenHaveMoved, |
|
|
int |
oldIndex, |
|
|
int |
newIndex |
|
) |
| |
|
override |
void ValueTreeDebugListener::valueTreeParentChanged |
( |
juce::ValueTree & |
treeWhoseParentHasChanged | ) |
|
|
override |
void ValueTreeDebugListener::valueTreeRedirected |
( |
juce::ValueTree & |
treeWhichHasBeenChanged | ) |
|
|
override |
The documentation for this class was generated from the following file: