if(processor_queue_list[i]->event_queue_.size()>0) {
actual_processor = processor_queue_list[i];
processor_queue_list[i]->processor_->process_event(*(processor_queue_list[i]->event_queue_.front()));
- printf("stav: %s\n",actual_processor->state_name);
Guard g(queue_lock);
processor_queue_list[i]->event_queue_.pop_front();
}
public:
TimedState(typename base_type::my_context ctx ) : base_type( ctx ) {
handle_ = base_type::outermost_context().my_handle();
- /*#ifndef __LOCAL
+ #ifndef __LOCAL
robot.set_state_name(abi::__cxa_demangle(typeid(MostDerived).name(),0,0,&status));
- #endif*/
+ #endif
}
~TimedState() {
if(handle_->timer_list_.timeouts.size()>0 && active_timers.size()>0)
typedef TimedSimpleState base_state;
public:
TimedSimpleState() : handle_owned(false) {
- /*#ifndef __LOCAL
+ #ifndef __LOCAL
robot.set_state_name(abi::__cxa_demangle(typeid(MostDerived).name(),0,0,&status));
- #endif*/
+ #endif
}
~TimedSimpleState() {
if(handle_owned)