98fa64ff12c4857bf18b09ad6f802c9a4e6efae5
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_stsw_terminate.cpp
1 #include "fsm/scd_stsw_terminate.h"
2
3 #include "scd_logging.h"
4 #include "scd_exception.h"
5 #include "scd_cont_slave_wrapper.h"
6
7
8 void scd_stsw_terminate::set_fail() {}
9
10
11 void scd_stsw_terminate::process()
12 {
13     if (!_fsm.is_sending())
14     {
15         _sim.get_poller().remove_handler(_fsm);
16         _fsm.set_state(_st_terminated);
17     }
18 }