Apache Mesos
|
#include <state_machine.hpp>
Public Member Functions | |
StateMachine (State initial) | |
template<State from, State to, typename F > | |
Try< typename result_of< F()>::type > | transition (F &&f, Option< std::string > &&message=None()) |
template<State from, State to> | |
Try< Nothing > | transition (Option< std::string > &&message=None()) |
template<State s> | |
bool | is () const |
template<State s> | |
Future< Nothing > | when () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |