![]() |
Ardour
8.12
|
A graph node that contains data. More...
#include <export_multiplication.h>
Public Member Functions | |
DataPtr | data () |
SelfPtr | self_ptr () |
template<typename P > | |
void | sort_parents (list< std::shared_ptr< DataNode< P > > > const &sort_list) |
![]() | |
GraphNode () | |
virtual | ~GraphNode () |
uint32_t | id () const |
list< GraphNode * > const & | get_parents () const |
void | add_child (GraphNode *child, GraphNode *left_sibling) |
void | remove_child (GraphNode *child) |
GraphNode * | first_child () const |
GraphNode * | last_child () const |
list< GraphNode * > const & | get_children () const |
bool | is_ancestor_of (GraphNode const *node) const |
bool | is_descendant_of (GraphNode const *node) const |
bool | equals (GraphNode const *node) const |
bool | selected () const |
void | select (bool value) |
Static Public Member Functions | |
static SelfPtr | create (T *data) |
static SelfPtr | create (DataPtr data) |
Private Types | |
typedef std::shared_ptr< T > | DataPtr |
typedef std::shared_ptr< DataNode< T > > | SelfPtr |
typedef std::weak_ptr< DataNode< T > > | WeakSelfPtr |
Private Member Functions | |
DataNode (DataPtr data) | |
void | set_self_ptr (std::shared_ptr< DataNode< T > > ptr) |
Private Attributes | |
DataPtr | _data |
WeakSelfPtr | _self_ptr |
Additional Inherited Members | |
![]() | |
PBD::Signal1< void, bool > | SelectChanged |
![]() | |
void | add_parent (GraphNode *parent) |
void | remove_parent (GraphNode *parent) |
![]() | |
list< GraphNode * > | parents |
list< GraphNode * > | children |
bool | _selected |
uint32_t | _id |
![]() | |
static uint32_t | id_counter |
A graph node that contains data.
Definition at line 76 of file export_multiplication.h.
Definition at line 78 of file export_multiplication.h.
Definition at line 79 of file export_multiplication.h.
|
private |
Definition at line 80 of file export_multiplication.h.
Definition at line 82 of file export_multiplication.h.
Definition at line 93 of file export_multiplication.h.
Definition at line 86 of file export_multiplication.h.
Definition at line 100 of file export_multiplication.h.
Definition at line 101 of file export_multiplication.h.
|
inlineprivate |
Definition at line 83 of file export_multiplication.h.
|
inline |
Definition at line 104 of file export_multiplication.h.
Definition at line 110 of file export_multiplication.h.
|
private |
Definition at line 111 of file export_multiplication.h.