25template <
typename ClientType>
43 template <
typename TOrthogonal,
typename TSourceObject>
48 getLogger(),
"[CbDefaultMultiRoleSensorBehavior] onEntry. Requires client of type '%s'",
49 demangleSymbol<ClientType>().c_str());
56 sensor_->onFirstMessageReceived(
67 template <
typename EvType>
71 this->postEvent<EvType>();
74 template <
typename EvType>
77 this->postEvent<EvType>();
83 getLogger(),
"[CbDefaultMultiRoleSensorBehavior] onEntry. Requires client of type '%s'",
84 demangleSymbol<ClientType>().c_str());
95 "[CbDefaultMultiRoleSensorBehavior]Sensor client behavior needs a client of type: "
96 << demangleSymbol<ClientType>() <<
" but it is not found.");
101 RCLCPP_INFO(
getLogger(),
"[CbDefaultMultiRoleSensorBehavior] onEntry. sensor initialize");
std::function< void()> deferedEventPropagation
void onOrthogonalAllocation()
void propagateEvent(const TMessageType &)
virtual void onMessageCallback(const TMessageType &)
ClientType::TMessageType TMessageType
static std::string getEventLabel()
CbDefaultMultiRoleSensorBehavior()
virtual rclcpp::Logger getLogger()
void requiresClient(SmaccClientType *&storage)
std::string demangleSymbol(const std::string &name)