Krotos Modules 3
Loading...
Searching...
No Matches
krotos::ValueTreeAttachment Class Reference

#include <ValueTreeAttachment.h>

Inheritance diagram for krotos::ValueTreeAttachment:

Public Member Functions

 ValueTreeAttachment (const ValueTree &tree)
 
 ~ValueTreeAttachment () override
 

Public Attributes

std::function< void(ValueTree &, const Identifier &)> onPropertyChanged {nullptr}
 
std::function< void(ValueTree &, ValueTree &)> onChildAdded {nullptr}
 
std::function< void(ValueTree &, ValueTree &)> onChildRemoved {nullptr}
 

Private Member Functions

void valueTreePropertyChanged (ValueTree &tree, const Identifier &property) override
 
void valueTreeChildAdded (ValueTree &parent, ValueTree &child) override
 
void valueTreeChildRemoved (ValueTree &parent, ValueTree &child, int) override
 

Private Attributes

ValueTree m_tree
 

Constructor & Destructor Documentation

◆ ValueTreeAttachment()

krotos::ValueTreeAttachment::ValueTreeAttachment ( const ValueTree & tree)
inline

◆ ~ValueTreeAttachment()

krotos::ValueTreeAttachment::~ValueTreeAttachment ( )
inlineoverride

Member Function Documentation

◆ valueTreeChildAdded()

void krotos::ValueTreeAttachment::valueTreeChildAdded ( ValueTree & parent,
ValueTree & child )
inlineoverrideprivate

◆ valueTreeChildRemoved()

void krotos::ValueTreeAttachment::valueTreeChildRemoved ( ValueTree & parent,
ValueTree & child,
int  )
inlineoverrideprivate

◆ valueTreePropertyChanged()

void krotos::ValueTreeAttachment::valueTreePropertyChanged ( ValueTree & tree,
const Identifier & property )
inlineoverrideprivate

Member Data Documentation

◆ m_tree

ValueTree krotos::ValueTreeAttachment::m_tree
private

◆ onChildAdded

std::function<void(ValueTree&, ValueTree&)> krotos::ValueTreeAttachment::onChildAdded {nullptr}

◆ onChildRemoved

std::function<void(ValueTree&, ValueTree&)> krotos::ValueTreeAttachment::onChildRemoved {nullptr}

◆ onPropertyChanged

std::function<void(ValueTree&, const Identifier&)> krotos::ValueTreeAttachment::onPropertyChanged {nullptr}

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