ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::if_ROS::params::PTrafficLightSim Class Reference

#include <p_traffic_light_sim.h>

Inheritance diagram for adore::if_ROS::params::PTrafficLightSim:
Inheritance graph
Collaboration diagram for adore::if_ROS::params::PTrafficLightSim:
Collaboration graph

Public Member Functions

 PTrafficLightSim (ros::NodeHandle n, std::string prefix)
 
virtual int getRedDuration () const override
 
virtual int getGreenDuration () const override
 
virtual int getRedYellowDuration () const override
 
virtual int getYellowDuration () const override
 
virtual std::string getStartState () const override
 
virtual bool getIsProbeMode () const override
 

Private Member Functions

template<class T >
get (const std::string &name) const
 

Private Attributes

ros::NodeHandle n_
 
std::string prefix_
 

Constructor & Destructor Documentation

◆ PTrafficLightSim()

adore::if_ROS::params::PTrafficLightSim::PTrafficLightSim ( ros::NodeHandle  n,
std::string  prefix 
)
inline

Member Function Documentation

◆ get()

template<class T >
T adore::if_ROS::params::PTrafficLightSim::get ( const std::string &  name) const
inlineprivate

◆ getGreenDuration()

virtual int adore::if_ROS::params::PTrafficLightSim::getGreenDuration ( ) const
inlineoverridevirtual

◆ getIsProbeMode()

virtual bool adore::if_ROS::params::PTrafficLightSim::getIsProbeMode ( ) const
inlineoverridevirtual

◆ getRedDuration()

virtual int adore::if_ROS::params::PTrafficLightSim::getRedDuration ( ) const
inlineoverridevirtual

◆ getRedYellowDuration()

virtual int adore::if_ROS::params::PTrafficLightSim::getRedYellowDuration ( ) const
inlineoverridevirtual

◆ getStartState()

virtual std::string adore::if_ROS::params::PTrafficLightSim::getStartState ( ) const
inlineoverridevirtual

◆ getYellowDuration()

virtual int adore::if_ROS::params::PTrafficLightSim::getYellowDuration ( ) const
inlineoverridevirtual

Member Data Documentation

◆ n_

ros::NodeHandle adore::if_ROS::params::PTrafficLightSim::n_
private

◆ prefix_

std::string adore::if_ROS::params::PTrafficLightSim::prefix_
private

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