ImFusion SDK 4.3
TypedNode< T > Class Template Reference

#include <ImFusion/Base/Tree.h>

Class representing a typed tree node. More...

+ Inheritance diagram for TypedNode< T >:

Detailed Description

template<typename T>
class ImFusion::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 Nodeclone () 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
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Protected Attributes

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< Paramm_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
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close