Home
last modified time | relevance | path

Searched defs:bistable_switch_ (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/libs/msm/test/
DTestConstructorMovableOnlyTypes.cpp43 struct bistable_switch_ : public msm::front::state_machine_def<bistable_switch_> struct
45 bistable_switch_(std::unique_ptr<Lightbulp> bulp, int load) in bistable_switch_() function
53 std::unique_ptr<Lightbulp> bulp_;
56 struct Off : public msm::front::state<>
64 struct On : public msm::front::state<>
73 typedef Off initial_state;
75 void turn_on(ev_toggle const&) { bulp_->current = 11; } in turn_on()
76 void turn_off(ev_toggle const&) { bulp_->current = 9; } in turn_off()
78 typedef bistable_switch_ bs_; // makes transition table cleaner
81 struct transition_table : mpl::vector<
[all …]