|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Go to the source code of this file.
Classes | |
| struct | MayaFlux::Host::Failure |
| Why a Host call was refused, with every path that was checked. More... | |
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Host |
| namespace | MayaFlux::Host::detail |
| namespace | MayaFlux::Platform |
Typedefs | |
| using | MayaFlux::Host::EvalObserver = std::function<void(const EvalReport&)> |
| using | MayaFlux::Host::EvalOrigin = Lila::EvalOrigin |
| using | MayaFlux::Host::EvalReport = Lila::EvalReport |
| What one evaluation did, as Lila reports it. | |
| using | MayaFlux::Host::ObserverId = uint64_t |
| Identifies an observer for remove_eval_observer. | |
| template<typename T = void> | |
| using | MayaFlux::Host::Result = std::expected<T, Failure> |
| Result of a Host call. | |
Enumerations | |
| enum class | MayaFlux::Host::detail::Stage : uint8_t { MayaFlux::Host::detail::IncludePath , MayaFlux::Host::detail::CompileFlag , MayaFlux::Host::detail::Library , MayaFlux::Host::detail::Eval } |
Functions | |
| Result< void > | MayaFlux::Host::detail::apply_or_stage (Stage stage, std::string value) |
| Apply an item to the running session, or stage it until start_session. | |
| Result< void > | MayaFlux::Host::eval (const std::string &code) |
| Evaluate a code snippet. | |
| Result< void > | MayaFlux::Host::eval_file (const std::filesystem::path &path) |
| Evaluate a source file by including it. | |
| ObserverId | MayaFlux::Host::on_eval (EvalObserver observer) |
| Observe every evaluation in the session, whoever sent it. | |
| void | MayaFlux::Host::remove_eval_observer (ObserverId id) |
| Stop observing. | |
| bool | MayaFlux::Host::session_active () |
| True if a session is running in this process. | |
| std::optional< Lila::Address > | MayaFlux::Host::session_address () |
| Where the running session listens, with anything resolved at start filled in. | |
| Result< void > | MayaFlux::Host::start_session (const Lila::Address &where=Lila::UnixAddress {}) |
| Start a Lila interpreter and a server inside this process. | |
| void | MayaFlux::Host::stop_session (bool clear_persistent_store=false) |
| Stop the running session. | |
| Result< void * > | MayaFlux::Host::symbol_address (const std::string &name) |
| Address of a symbol defined in the running session. | |
| Failure | MayaFlux::Host::detail::to_failure (const Platform::AcquireFailure &failure) |