CARLA
ActorROS2Handler.h
Go to the documentation of this file.
1 // Copyright (c) 2023 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #pragma once
8 
10 #include "carla/ros2/ROS2.h"
12 
13 /// visitor class
15 {
16  public:
17  ActorROS2Handler() = delete;
18  ActorROS2Handler(AActor *Actor, std::string RosName) : _Actor(Actor), _RosName(RosName) {};
19 
21 
22  private:
23  AActor *_Actor {nullptr};
24  std::string _RosName;
25 };
visitor class
ActorROS2Handler(AActor *Actor, std::string RosName)
std::string _RosName
carla::SharedPtr< cc::Actor > Actor
void operator()(carla::ros2::VehicleControl &Source)
ActorROS2Handler()=delete