MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Session.cpp File Reference
Include dependency graph for Session.cpp:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
namespace  MayaFlux::Host
namespace  MayaFlux::Host::detail

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)