Add printing name of active state.
public:
std::list<Timer *> active_timers;
TimedState(typename base_type::my_context ctx ) : base_type( ctx ) {
+ std::cout<<typeid(MostDerived).name()<<" global"<<std::endl;
}
~TimedState(){
if(global_timer_list.size()>0 && active_timers.size()>0)
public:
std::list<Timer *> active_timers;
TimedSimpleState() {
+ std::cout<<typeid(MostDerived).name()<<" global"<<std::endl;
}
~TimedSimpleState(){
if(global_timer_list.size()>0 && active_timers.size()>0)