Zth (libzth)
|
Enumerations | |
enum | End { end = 0 } |
Functions | |
template<typename Fsm > | |
TimeInterval | always (Fsm &fsm) |
A guard that is always true. More... | |
template<typename FsmInput , typename FsmInput::Input i, typename Fsm > | |
TimeInterval | input (Fsm &fsm) |
A guard that is true when the given input has been set. More... | |
template<typename FsmInput , typename FsmInput::Input i, typename Fsm > | |
TimeInterval | peek (Fsm &fsm) |
A guard that is true when the given input has been set. More... | |
template<typename Fsm > | |
TimeInterval | timeout_ (Fsm &fsm, TimeInterval const &timeout) |
template<time_t s, typename Fsm > | |
TimeInterval | timeout_s (Fsm &fsm) |
A guard that is true when the Fsm stayed for the given time in this state. More... | |
template<unsigned int ms, typename Fsm > | |
TimeInterval | timeout_ms (Fsm &fsm) |
A guard that is true when the Fsm stayed for the given time in this state. More... | |
template<uint64_t us, typename Fsm > | |
TimeInterval | timeout_us (Fsm &fsm) |
A guard that is true when the Fsm stayed for the given time in this state. More... | |
template<typename Fsm > | |
TimeInterval | lock (Fsm &fsm) |
A wrapper for zth::Fsm::guardLock(). More... | |
template<typename Fsm > | |
TimeInterval | step (Fsm &fsm) |
A wrapper for zth::Fsm::guardStep(). More... | |
enum zth::guards::End |
TimeInterval zth::guards::timeout_ | ( | Fsm & | fsm, |
TimeInterval const & | timeout | ||
) |