|
AuboStudio SDK
0.6.3
|
|
|
|
|
#include <program_model.h>
Public Member Functions | |
| ProgramModel (ProgramModel &f) | |
| ProgramModel (ProgramModel &&f) | |
| virtual | ~ProgramModel () |
| ProgramNodeFactoryPtr | getProgramNodeFactory () |
This method returns a ProgramNodeFactory to create program nodes. | |
| TreeNodePtr | getTreeNode (ProgramNodeContribution *root) |
Gets the TreeNode root from ProgramNodeContribution. | |
Private Member Functions | |
| ProgramModel () | |
Private Attributes | |
| void * | d_ { nullptr } |
Friends | |
| class | DataSwitch |
This interface makes it possible to modify sub-trees of aubo_studio plugins. The structure of trees is separated from the contents of the nodes. The TreeNode interface is concerned with the structure of trees whereas the ProgramNode interface deals with the concrete content of the nodes of the tree.
A ProgramModel contains a:
The TreeNode interface supports insertion and removal of nodes. With it you can retrieve the list of children of particular nodes. Calling lockChildSequence on a tree node, locks the immediate children under the node. I.e. children can not be rearranged, deleted or have other nodes inserted into the child sequence by the end user.
Definition at line 58 of file program_model.h.
| arcs::aubo_scope::ProgramModel::ProgramModel | ( | ProgramModel & | f | ) |
References ProgramModel().
Referenced by ProgramModel(), and ProgramModel().


| arcs::aubo_scope::ProgramModel::ProgramModel | ( | ProgramModel && | f | ) |
|
virtual |
|
private |
| ProgramNodeFactoryPtr arcs::aubo_scope::ProgramModel::getProgramNodeFactory | ( | ) |
This method returns a ProgramNodeFactory to create program nodes.
| TreeNodePtr arcs::aubo_scope::ProgramModel::getTreeNode | ( | ProgramNodeContribution * | root | ) |
Gets the TreeNode root from ProgramNodeContribution.
From here, children can be added to form a sub-tree.
| root | The AuboCap program node where a sub-tree is to be rooted. |
TreeNode root.
|
friend |
|
private |
Definition at line 100 of file program_model.h.