Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
SB::Engine::NodeBase Class Reference
Inheritance diagram for SB::Engine::NodeBase:
Collaboration diagram for SB::Engine::NodeBase:

Public Member Functions

virtual void setParentNode (const SB::Core::DatabasePtr< NodeBase > &parent)
 
virtual void setOutputBus (const SB::Core::DatabasePtr< NodeBase > &bus)
 
SB_NODE_STATUS getNodeStatus () const noexcept
 
NodeBaseparent () const
 
NodeBaseoutputBus () const
 
virtual bool canAddChild (const SB::Core::DatabasePtr< NodeBase > &child) const
 
void addChild (const SB::Core::DatabasePtr< NodeBase > &child)
 
void removeChild (const SB::Core::DatabasePtr< NodeBase > &child)
 
std::vector< NodeBase * > getChildren () const
 
std::size_t getChildCount () const
 
bool hasChild (const SB::Core::DatabasePtr< NodeBase > &test) const
 
void gatherAllDescendants (std::vector< NodeBase * > &descendants) const
 
void gatherAllParents (std::vector< NodeBase * > &parents) const
 
- Public Member Functions inherited from SB::Core::DatabaseObject
SB_ID getDatabaseID () const
 
void setDatabaseID (SB_ID id)
 
std::string_view getDatabaseName () const
 
void setDatabaseName (std::string_view name)
 
bool getEditorHidden () const
 
void setEditorHidden (bool hidden)
 
 operator SB_ID () const
 
- Public Member Functions inherited from SB::Core::Object
template<typename T >
TtryConvertObject () noexcept
 Gets the most derived type of this object and upcasts it to T.
 
template<typename T >
const TtryConvertObject () const noexcept
 
rttr::type getType () const
 
- Public Member Functions inherited from SB::Core::ObjectUtilities
SB::Engine::SystemgetSystem () const
 
sc_systemgetChef () const
 
ma_enginegetMini () const
 
- Public Member Functions inherited from SB::Core::DatabaseObjectUtilities
virtual void onLoaded ()
 
virtual void onProjectLoaded ()
 
virtual void onDestroy ()
 

Protected Attributes

SB::Core::DatabasePtr< NodeBasem_parentNode
 
SB::Core::DatabasePtr< NodeBasem_outputBus
 
std::unordered_set< SB::Core::DatabasePtr< NodeBase > > m_childNodes
 

Additional Inherited Members

- Public Attributes inherited from SB::Core::ObjectUtilities
std::string m_debugName
 

The documentation for this class was generated from the following files: