OSSIA
Open Scenario System for Interactive Application
ossia::domain_value_set_creation_visitor Struct Reference

The domain_value_set_creation_visitor struct. More...

Detailed Description

The domain_value_set_creation_visitor struct.

Used to create domains with a set of acceptable values instead of a min / max

Public Member Functions

template<typename T >
domain operator() (const T &)
 
domain operator() (bool)
 
domain operator() (const std::vector< ossia::value > &orig)
 
OSSIA_INLINE domain operator() (const value_map_type &min)
 
template<std::size_t N>
domain operator() (const std::array< float, N > &)
 
domain operator() ()
 
domain operator() (const impulse &)
 

Public Attributes

const ossia::small_vector< ossia::value, 2 > & values