3#include "sound_bakery/pch.h"
4#include "sound_bakery/util/macros.h"
23 std::string m_debugName;
52 return SB::Reflection::cast<T*, Object*>(
this);
62 return SB::Reflection::cast<const T*, const Object*>(
this);
67 rttr::type getType()
const
71 return rttr::type::get<void>();
74 if (!m_type.has_value())
79 assert(m_type.has_value());
80 assert(m_type.value().is_valid());
82 return m_type.value();
90 mutable std::optional<rttr::type> m_type = std::nullopt;
Definition database_ptr.h:23
Provides basic helper functions. Not meant to be used directly.
Definition object.h:17
Simple base Object that all Sound Bakery objects should inherit from.
Definition object.h:33
T * tryConvertObject() noexcept
Gets the most derived type of this object and upcasts it to T.
Definition object.h:48
Manager of the whole Sound Bakery.
Definition system.h:34
Object that manages the node graph, sounds, output etc.
Definition sound_chef_common.h:198