Sound Bakery  v0.1.0
Open-source audio middleware for games
|
NodeInstances represent runtime versions of Nodes, either containers or busses. More...
#include <node_instance.h>
Public Member Functions | |
bool | init (const InitNodeInstance &initData) |
bool | play () |
void | update () |
bool | isPlaying () const |
std::shared_ptr< node > | getReferencingNode () const noexcept |
node_instance * | get_parent () const noexcept |
sc_node_group * | getBus () const noexcept |
Public Member Functions inherited from sbk::core::object | |
object_owner * | owner () const |
template<typename T > | |
T * | try_convert_object () noexcept |
Gets the most derived type of this object and upcasts it to T. | |
template<typename T > | |
const T * | try_convert_object () const noexcept |
rttr::type | getType () const |
void | destroy () |
MulticastDelegate< object * > & | get_on_destroy () |
Public Member Functions inherited from sbk::core::object_owner | |
std::shared_ptr< object > | create_runtime_object (const rttr::type &type) |
std::shared_ptr< object > | load_object (YAML::Node &node) |
std::shared_ptr< database_object > | create_database_object (const rttr::type &type, bool addToDatabase=true) |
template<typename T > | |
std::shared_ptr< T > | create_runtime_object () |
template<typename T > | |
std::shared_ptr< T > | create_database_object () |
void | remove_object (const std::shared_ptr< object > &object) |
void | destroy_all () |
std::vector< std::shared_ptr< object > > & | get_objects () |
const std::vector< std::shared_ptr< object > > & | get_objects () const |
NodeInstances represent runtime versions of Nodes, either containers or busses.