OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
ossia::net::alias_node Class Referencefinal

A type of node that refers to another node. More...

Inherits ossia::net::generic_node_base.

Detailed Description

A type of node that refers to another node.

Get and set the source with get_origin, set_origin.

Public Member Functions

ossia::net::node_baseget_origin () const
 
void set_origin (ossia::net::node_base *o)
 
parameter_basecreate_parameter (val_type v) override
 Allows a node to carry a value.
 
bool remove_parameter () override
 
parameter_baseget_parameter () const override
 

Protected Member Functions

std::unique_ptr< node_basemake_child (const std::string &name) override
 Should return nullptr if no child is to be added.
 
void removing_child (node_base &) override
 Reimplement for a specific removal action.
 

Member Function Documentation

◆ create_parameter()

parameter_base * ossia::net::alias_node::create_parameter ( val_type  )
overridevirtual

Allows a node to carry a value.

Implements ossia::net::node_base.

◆ remove_parameter()

bool ossia::net::alias_node::remove_parameter ( )
overridevirtual

Implements ossia::net::node_base.

◆ get_parameter()

parameter_base * ossia::net::alias_node::get_parameter ( ) const
overridevirtual

Implements ossia::net::node_base.

◆ make_child()

std::unique_ptr< node_base > ossia::net::alias_node::make_child ( const std::string &  name)
overrideprotectedvirtual

Should return nullptr if no child is to be added.

Implements ossia::net::node_base.

◆ removing_child()

void ossia::net::alias_node::removing_child ( node_base node_base)
overrideprotectedvirtual

Reimplement for a specific removal action.

Implements ossia::net::node_base.