18 #ifndef STATE_MACHINE_OBSERVER_H 19 #define STATE_MACHINE_OBSERVER_H 34 std::shared_ptr<packml_sm::AbstractStateMachine>
sm_;
40 #endif // STATE_MACHINE_OBSERVER_H
std::function< void(int)> state_changed_callback_
The StateMachineInterface class defines a implementation independent interface to a PackML state mach...
void setStateChangedCallback(std::function< void(int)> callback)
StateMachineObserver(std::shared_ptr< packml_sm::AbstractStateMachine > sm)
std::shared_ptr< packml_sm::AbstractStateMachine > sm_
void handleStateChanged(packml_sm::AbstractStateMachine &state_machine, const packml_sm::StateChangedEventArgs &args)