Loading...
Searching...
No Matches
Nodes::GenericMathMapping< State > Struct Template Reference

Static Public Member Functions

static void store_output_vec (auto &self, const auto &vec)
 
static void store_output (auto &self, const ossia::value &v)
 
static void exec_scalar (State &self, value_output_callback &output)
 
static void exec_polyphonic (State &self, std::vector< ossia::value > &res)
 
static void exec_array (State &self, value_output_callback &output, bool vector_size_did_change)
 
static void run_scalar (const ossia::value &v, value_output_callback &output, const halp::tick_flicks &tk, State &self)
 
static bool resize (const std::string &expr, State &self, int sz)
 
static void run_polyphonic (int size, value_output_callback &output, const std::string &expr, const halp::tick_flicks &tk, State &self)
 
static void run_polyphonic (const ossia::value &value, value_output_callback &output, const std::string &expr, const halp::tick_flicks &tk, State &self)
 
static void run_array (const ossia::value &value, value_output_callback &output, const halp::tick_flicks &tk, State &self)
 

Member Function Documentation

◆ exec_polyphonic()

template<typename State >
static void Nodes::GenericMathMapping< State >::exec_polyphonic ( State &  self,
std::vector< ossia::value > &  res 
)
inlinestatic

Evaluate every per-element expression, keeping each one's own feedback state, and collect the results.

◆ store_output_vec()

template<typename State >
static void Nodes::GenericMathMapping< State >::store_output_vec ( auto &  self,
const auto &  vec 
)
inlinestatic

Feed a fixed-size vec back into pov without resizing it: pov is an exprtk vector view and its size / data pointer are baked into the compiled expression.


The documentation for this struct was generated from the following file: