libzypp 17.37.17
|
#include <zypp-core/zyppng/base/statemachine.h>
Public Types | |
using | StateType = State |
Public Member Functions | |
template<typename StateMachine> | |
StateWithTransitions (StateMachine &sm) | |
StateWithTransitions (std::shared_ptr< State > &&s) | |
StateWithTransitions (StateWithTransitions &&other)=default | |
StateWithTransitions & | operator= (StateWithTransitions &&other)=default |
StateWithTransitions (const StateWithTransitions &other)=delete | |
StateWithTransitions & | operator= (const StateWithTransitions &other)=delete |
void | enter () |
void | exit () |
std::shared_ptr< State > | wrappedState () |
const std::shared_ptr< State > | wrappedState () const |
Public Attributes | |
Transitions | _transitions |
Static Public Attributes | |
static constexpr auto | stateId = State::stateId |
static constexpr bool | isFinal = State::isFinal |
Private Attributes | |
std::shared_ptr< State > | _ptr |
Definition at line 39 of file statemachine.h.
using zyppng::detail::StateWithTransitions< State, Transitions >::StateType = State |
Definition at line 40 of file statemachine.h.
|
inline |
Definition at line 44 of file statemachine.h.
|
inline |
Definition at line 45 of file statemachine.h.
|
default |
|
delete |
|
default |
|
delete |
|
inline |
Definition at line 58 of file statemachine.h.
|
inline |
Definition at line 64 of file statemachine.h.
|
inline |
Definition at line 70 of file statemachine.h.
|
inline |
Definition at line 74 of file statemachine.h.
Transitions zyppng::detail::StateWithTransitions< State, Transitions >::_transitions |
Definition at line 41 of file statemachine.h.
|
staticconstexpr |
Definition at line 55 of file statemachine.h.
|
staticconstexpr |
Definition at line 56 of file statemachine.h.
|
private |
Definition at line 80 of file statemachine.h.