OSSIA
Open Scenario System for Interactive Application
|
The flat_state class. More...
The flat_state class.
A state is a container of state_element. Only non-null children will be added to the state.
Launching the state launches all children.
Public Types | |
using | map_t = ossia::hash_map< std::pair< ossia::net::parameter_base *, ossia::unit_t >, state_element > |
using | iterator = map_t::iterator |
using | const_iterator = map_t::const_iterator |
Public Member Functions | |
auto | begin () |
auto | end () |
auto | begin () const |
auto | end () const |
auto | cbegin () const |
auto | cend () const |
auto & | children () const |
std::size_t | size () const |
bool | empty () const |
void | launch () |
void | add (const ossia::message &e) |
void | add (ossia::message &&e) |
void | add (const ossia::piecewise_message &e) |
template<std::size_t N> | |
void | add (piecewise_vec_message< N > &&e) |
template<std::size_t N> | |
void | add (const piecewise_vec_message< N > &e) |
void | add (const ossia::state_element &e) |
void | add (ossia::state_element &&e) |
auto | find (const message &e) |
auto | find (const piecewise_message &e) |
template<std::size_t N> | |
auto | find (const piecewise_vec_message< N > &e) |
void | remove (const ossia::message &e) |
void | remove (const ossia::piecewise_message &e) |
void | remove (iterator it) |
void | remove (const_iterator it) |
template<std::size_t N> | |
void | remove (const ossia::piecewise_vec_message< N > &e) |
void | reserve (std::size_t n) |
void | clear () |