scenario_simulator_v2 C++ API
Public Member Functions | List of all members
traffic_simulator::TrafficLightPublisher< MessageType > Class Template Reference

#include <traffic_light_publisher.hpp>

Inheritance diagram for traffic_simulator::TrafficLightPublisher< MessageType >:
Inheritance graph
[legend]
Collaboration diagram for traffic_simulator::TrafficLightPublisher< MessageType >:
Collaboration graph
[legend]

Public Member Functions

template<typename NodeTypePointer >
 TrafficLightPublisher (const NodeTypePointer &node_ptr, const std::string &topic_name, const std::string &frame="camera_link")
 
 ~TrafficLightPublisher () override=default
 
auto publish (const rclcpp::Time &current_ros_time, const simulation_api_schema::UpdateTrafficLightsRequest &request) const -> void override
 
auto publish (const rclcpp::Time &current_ros_time, const simulation_api_schema::UpdateTrafficLightsRequest &request) const -> void
 
auto publish (const rclcpp::Time &current_ros_time, const simulation_api_schema::UpdateTrafficLightsRequest &request) const -> void
 
auto publish ([[maybe_unused]] const rclcpp::Time &current_ros_time, const simulation_api_schema::UpdateTrafficLightsRequest &request) const -> void
 
- Public Member Functions inherited from traffic_simulator::TrafficLightPublisherBase
virtual ~TrafficLightPublisherBase ()=default
 

Constructor & Destructor Documentation

◆ TrafficLightPublisher()

template<typename MessageType >
template<typename NodeTypePointer >
traffic_simulator::TrafficLightPublisher< MessageType >::TrafficLightPublisher ( const NodeTypePointer &  node_ptr,
const std::string &  topic_name,
const std::string &  frame = "camera_link" 
)
inlineexplicit

◆ ~TrafficLightPublisher()

template<typename MessageType >
traffic_simulator::TrafficLightPublisher< MessageType >::~TrafficLightPublisher ( )
overridedefault

Member Function Documentation

◆ publish() [1/4]

auto traffic_simulator::TrafficLightPublisher< traffic_simulator_msgs::msg::TrafficLightArrayV1 >::publish ( [[maybe_unused] ] const rclcpp::Time &  current_ros_time,
const simulation_api_schema::UpdateTrafficLightsRequest &  request 
) const -> void

◆ publish() [2/4]

auto traffic_simulator::TrafficLightPublisher< autoware_auto_perception_msgs::msg::TrafficSignalArray >::publish ( const rclcpp::Time &  current_ros_time,
const simulation_api_schema::UpdateTrafficLightsRequest &  request 
) const -> void
virtual

◆ publish() [3/4]

auto traffic_simulator::TrafficLightPublisher< autoware_perception_msgs::msg::TrafficSignalArray >::publish ( const rclcpp::Time &  current_ros_time,
const simulation_api_schema::UpdateTrafficLightsRequest &  request 
) const -> void
virtual

◆ publish() [4/4]

template<typename MessageType >
auto traffic_simulator::TrafficLightPublisher< MessageType >::publish ( const rclcpp::Time &  current_ros_time,
const simulation_api_schema::UpdateTrafficLightsRequest &  request 
) const -> void
overridevirtual

The documentation for this class was generated from the following file: