27 BaseSubscriber(
void *actor, std::string base_topic_name, std::string frame_id)
BaseSubscriber & operator=(BaseSubscriber &&)=delete
BaseSubscriber & operator=(const BaseSubscriber &)=delete
BaseSubscriber(BaseSubscriber &&)=delete
virtual ~BaseSubscriber()=default
virtual ROS2CallbackData GetMessage()=0
BaseSubscriber(const BaseSubscriber &)=delete
const std::string & GetFrameId() const noexcept
virtual void ProcessMessages(ActorCallback callback)=0
std::string _base_topic_name
BaseSubscriber(std::string base_topic_name, std::string frame_id)
const std::string & GetBaseTopicName() const noexcept
void * GetActor() const noexcept
BaseSubscriber(void *actor, std::string base_topic_name, std::string frame_id)
BaseSubscriber(std::string base_topic_name)
std::function< void(void *actor, ROS2CallbackData data)> ActorCallback
std::variant< VehicleControl, AckermannControl, VehicleAccelerationControl > ROS2CallbackData
This file contains definitions of common data structures used in traffic manager.