8template <
typename ClientType>
29 template <
typename TOrthogonal,
typename TSourceObject>
40 template <
typename EvType>
43 this->postEvent<EvType>();
46 template <
typename EvType>
49 this->postEvent<EvType>();
54 ROS_INFO(
"[CbDefaultMultiRoleSensorBehavior] onEntry. Requires client of type '%s'", demangleSymbol<ClientType>().c_str());
60 ROS_FATAL_STREAM(
"Sensor client behavior needs a client of type: " << demangleSymbol<ClientType>() <<
" but it is not found.");
65 ROS_INFO(
"[CbDefaultMultiRoleSensorBehavior] onEntry. sensor initialize");
std::function< void()> deferedEventPropagation
void onOrthogonalAllocation()
virtual void onEntry() override
virtual void onMessageCallback(const TMessageType &msg)
ClientType::TMessageType TMessageType
void propagateEvent2(const ros::TimerEvent &tdata)
static std::string getEventLabel()
void propagateEvent(const TMessageType &msg)
CbDefaultMultiRoleSensorBehavior()
void requiresClient(SmaccClientType *&storage)
std::string demangleSymbol()