MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
CallTable.hpp File Reference
#include "ElementHit.hpp"
#include "FactoryTable.hpp"
Include dependency graph for CallTable.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MayaFlux::Portal::Forma::CallTable< Source, Access >
 Functions a document calls by name, with the function's own parameter names as attributes. More...
struct  MayaFlux::Portal::Forma::Detail::FormState< Geometry::Form< T > >
struct  MayaFlux::Portal::Forma::Detail::FunctionTraits< R(*)(A...) noexcept >
struct  MayaFlux::Portal::Forma::Detail::FunctionTraits< R(*)(A...)>

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
namespace  MayaFlux::Portal
namespace  MayaFlux::Portal::Forma
namespace  MayaFlux::Portal::Forma::Detail

Functions

template<auto Function, typename Source, typename Access>
std::optional< typename FunctionTraits< decltype(Function)>::Result > MayaFlux::Portal::Forma::Detail::call_described (const Source &call, std::string &error)
 Calls a described function with the arguments an element's attributes give by parameter name.
template<auto Function, typename Source, typename Access, size_t Index, typename Values>
bool MayaFlux::Portal::Forma::Detail::decode_parameter (const Source &call, Values &values, std::array< bool, std::tuple_size_v< Values > > &given, std::string &error)
template<typename Placer, typename State>
Placer MayaFlux::Portal::Forma::Detail::form_placer (Geometry::Form< State > form, State initial)
 A Placer that places a form with an initial state on a Surface and returns its element id.

Variables

constexpr std::string_view MayaFlux::Portal::Forma::reserved_call_attribute { "call" }
 Attribute of a form element that names the function it calls.
constexpr std::string_view MayaFlux::Portal::Forma::reserved_state_attribute { "state" }
 Attribute of an element that holds the initial value of its state.