25template <
typename ClientType>
43 template <
typename TOrthogonal,
typename TSourceObject>
49 getLogger(),
"[CbDefaultMultiRoleSensorBehavior] onEntry. Requires client of type '%s'",
50 demangleSymbol<ClientType>().c_str());
57 sensor_->onFirstMessageReceived(
68 template <
typename EvType>
72 this->postEvent<EvType>();
75 template <
typename EvType>
78 this->postEvent<EvType>();
84 getLogger(),
"[CbDefaultMultiRoleSensorBehavior] onEntry. Requires client of type '%s'",
85 demangleSymbol<ClientType>().c_str());
96 "[CbDefaultMultiRoleSensorBehavior]Sensor client behavior needs a client of type: "
97 << demangleSymbol<ClientType>() <<
" but it is not found.");
102 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()