12 using namespace evf::rb_statemachine;
21 LOG4CPLUS_INFO(res->log_,
"--> ResourceBroker: NEW STATE: " <<
stateName());
22 outermost_context().setExternallyVisibleState(
stateName());
23 outermost_context().setInternalStateName(
stateName());
25 outermost_context().rcmsStateChangeNotify();
50 res->reasonForFailed_ = exception.what();
51 LOG4CPLUS_FATAL(res->log_,
52 "Moving to FAILED state! Reason: " << exception.what());
54 res->commands_.enqEvent(fail);
virtual void do_entryActionWork()
boost::shared_ptr< SharedResources > SharedResourcesPtr_t
boost::shared_ptr< boost::statechart::event_base > EventPtr
virtual void do_exitActionWork()
virtual void do_moveToFailedState(xcept::Exception &exception) const
virtual void do_stateNotify()
virtual std::string do_stateName() const
std::string stateName() const