Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::editor::project Class Reference

Manages a project file and the objects contained within it. More...

#include <project.h>

Inheritance diagram for sbk::editor::project:
Collaboration diagram for sbk::editor::project:

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_configurationget_config () const
 
std::weak_ptr< sbk::engine::sound_containerget_preview_container () const
 
- Public Member Functions inherited from sbk::core::object_owner
auto create_runtime_object (const rttr::type &type) -> std::shared_ptr< object >
 
auto create_database_object (const rttr::type &type, bool addToDatabase=true) -> std::shared_ptr< database_object >
 
template<typename T >
auto create_runtime_object () -> std::shared_ptr< T >
 
template<typename T >
auto create_database_object (bool addToDatabase=true) -> std::shared_ptr< T >
 
auto add_reference_to_object (std::shared_ptr< database_object > &object) -> void
 
auto remove_object (const std::shared_ptr< object > &object) -> std::vector< std::shared_ptr< sbk::core::object > >::iterator
 
auto destroy_all () -> void
 
auto get_objects () -> std::vector< std::shared_ptr< object > > &
 
auto get_objects () const -> const std::vector< std::shared_ptr< object > > &
 
auto get_objects_size () const -> std::size_t
 

Detailed Description

Manages a project file and the objects contained within it.

The project class also creates a sound container to play sound files on.


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