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

#include <traffic_lights.hpp>

Public Member Functions

template<typename NodeTypePointer , typename... Args>
 TrafficLightsChannel (const NodeTypePointer &node_ptr, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils, Args &&... args)
 
auto getGroundTruth () const -> std::shared_ptr< GroundTruthType >
 
auto getDetected () const -> std::shared_ptr< DetectedTrafficLights >
 
auto hasDetectedChanges () const -> bool
 
auto generateUpdateRequest () const -> simulation_api_schema::UpdateTrafficLightsRequest
 

Constructor & Destructor Documentation

◆ TrafficLightsChannel()

template<typename GroundTruthType >
template<typename NodeTypePointer , typename... Args>
traffic_simulator::TrafficLightsChannel< GroundTruthType >::TrafficLightsChannel ( const NodeTypePointer &  node_ptr,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils,
Args &&...  args 
)
inlineexplicit

Member Function Documentation

◆ generateUpdateRequest()

template<typename GroundTruthType >
auto traffic_simulator::TrafficLightsChannel< GroundTruthType >::generateUpdateRequest ( ) const -> simulation_api_schema::UpdateTrafficLightsRequest
inline

◆ getDetected()

template<typename GroundTruthType >
auto traffic_simulator::TrafficLightsChannel< GroundTruthType >::getDetected ( ) const -> std::shared_ptr<DetectedTrafficLights>
inline

◆ getGroundTruth()

template<typename GroundTruthType >
auto traffic_simulator::TrafficLightsChannel< GroundTruthType >::getGroundTruth ( ) const -> std::shared_ptr<GroundTruthType>
inline

◆ hasDetectedChanges()

template<typename GroundTruthType >
auto traffic_simulator::TrafficLightsChannel< GroundTruthType >::hasDetectedChanges ( ) const -> bool
inline

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