scenario_simulator_v2 C++ API
Public Member Functions | List of all members
traffic_simulator::TrafficLights Class Reference

#include <traffic_lights.hpp>

Public Member Functions

template<typename NodeTypePointer >
 TrafficLights (const NodeTypePointer &node_ptr, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils, const std::string &architecture_type)
 
auto isAnyTrafficLightChanged () -> bool
 
auto startTrafficLightsUpdate (const double conventional_traffic_light_update_rate, const double v2i_traffic_lights_update_rate) -> void
 
auto getConventionalTrafficLights () const -> std::shared_ptr< ConventionalTrafficLights >
 
auto getV2ITrafficLights () const -> std::shared_ptr< V2ITrafficLights >
 

Constructor & Destructor Documentation

◆ TrafficLights()

template<typename NodeTypePointer >
traffic_simulator::TrafficLights::TrafficLights ( const NodeTypePointer &  node_ptr,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils,
const std::string &  architecture_type 
)
inlineexplicit

Member Function Documentation

◆ getConventionalTrafficLights()

auto traffic_simulator::TrafficLights::getConventionalTrafficLights ( ) const -> std::shared_ptr<ConventionalTrafficLights>

◆ getV2ITrafficLights()

auto traffic_simulator::TrafficLights::getV2ITrafficLights ( ) const -> std::shared_ptr<V2ITrafficLights>

◆ isAnyTrafficLightChanged()

auto traffic_simulator::TrafficLights::isAnyTrafficLightChanged ( ) -> bool

◆ startTrafficLightsUpdate()

auto traffic_simulator::TrafficLights::startTrafficLightsUpdate ( const double  conventional_traffic_light_update_rate,
const double  v2i_traffic_lights_update_rate 
) -> void

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