Sound Bakery  v0.1.0
Open-source audio middleware for games
|
Manages a project file and the objects contained within it. More...
#include <project.h>
Public Member Functions | |
bool | open_project (const std::filesystem::path &projectFile) |
void | create_project (const std::filesystem::path &projectFile) |
void | save_project () const |
void | encode_all_media () const |
const project_configuration & | get_config () const |
std::weak_ptr< sbk::engine::sound_container > | get_preview_container () const |
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 |
Manages a project file and the objects contained within it.
The project class also creates a sound container to play sound files on.