![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/Tree.h>
Class representing a typed tree node. More...
Inheritance diagram for TypedNode< T >:Class representing a typed tree node.
Public Member Functions | |
| void | setData (const T &data) |
| const T & | data () const |
| T & | data () |
Public Member Functions inherited from Node | |
| virtual void | reverse () |
| virtual Node * | clone () const =0 |
| virtual Geometry::AlignedBox | bounds (const mat4 &m) const =0 |
| virtual std::string | typeName () const =0 |
| int | id () const |
Public Member Functions inherited from Configurable | |
| virtual void | configure (const Properties *p) |
| Configure this object instance by de-serializing the given Properties. | |
| virtual void | configuration (Properties *p) const |
| Serialize the current object configuration into the given Properties object. | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Protected Attributes | |
| T | m_data |
Protected Attributes inherited from Node | |
| int | m_id |
| int | m_parentId |
| std::vector< int > | m_childIds |
| int | m_level = 0 |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
Additional Inherited Members | |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Protected Member Functions inherited from NotCopyable | |
| NotCopyable (NotCopyable &&) noexcept=default | |
| NotCopyable & | operator= (NotCopyable &&) noexcept=default |
| NotCopyable (const NotCopyable &)=delete | |
| NotCopyable & | operator= (const NotCopyable &)=delete |