|
OSSIA
Open Scenario System for Interactive Application
|
The state class. More...
The 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 Member Functions | |
| children_type::iterator | begin () noexcept |
| children_type::iterator | end () noexcept |
| children_type::const_iterator | begin () const noexcept |
| children_type::const_iterator | end () const noexcept |
| children_type::const_iterator | cbegin () const noexcept |
| children_type::const_iterator | cend () const noexcept |
| const children_type & | children () const noexcept |
| std::size_t | size () const |
| bool | empty () const |
| void | launch () |
| void | add (const state_element &e) |
| void | add (state_element &&e) |
| template<class Optional_T > | |
| auto | add (Optional_T &&opt) -> decltype(std::declval< typename std::remove_reference_t< Optional_T >::value_type >(), void()) |
| void | remove (const state_element &e) |
| void | remove (children_type::iterator e) |
| void | remove (children_type::const_iterator e) |
| void | reserve (std::size_t) |
| void | clear () |