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

This class definition is to represent parking spots. More...

#include <parkingspot.h>

Collaboration diagram for adore::env::BorderBased::ParkingSpot:
Collaboration graph

Public Member Functions

 ParkingSpot ()
 Construct a new ParkingSpot object. More...
 
 ParkingSpot (BorderBased::Coordinate coordinate, double heading)
 Construct a new ParkingSpot object. More...
 
double getHeading () const
 Get the heading of the parking spot. More...
 
BorderBased::Coordinate getCoordinate () const
 Get the Coordinate object. More...
 
void setHeading (double heading)
 Set the heading of the parking spot. More...
 
void setCoordinate (adore::env::BorderBased::Coordinate c)
 Set the Coordinate. More...
 

Private Attributes

BorderBased::Coordinate m_coordinate
 
double m_heading
 

Detailed Description

This class definition is to represent parking spots.

Constructor & Destructor Documentation

◆ ParkingSpot() [1/2]

adore::env::BorderBased::ParkingSpot::ParkingSpot ( )
inline

Construct a new ParkingSpot object.

◆ ParkingSpot() [2/2]

adore::env::BorderBased::ParkingSpot::ParkingSpot ( BorderBased::Coordinate  coordinate,
double  heading 
)
inline

Construct a new ParkingSpot object.

Parameters
coordinatecoordinates of the new parking spot
headingheading of the new parking spot
Here is the call graph for this function:

Member Function Documentation

◆ getCoordinate()

BorderBased::Coordinate adore::env::BorderBased::ParkingSpot::getCoordinate ( ) const
inline

Get the Coordinate object.

Returns
BorderBased::Coordinate coordinates of the parking spot
Here is the caller graph for this function:

◆ getHeading()

double adore::env::BorderBased::ParkingSpot::getHeading ( ) const
inline

Get the heading of the parking spot.

Returns
double heading
Here is the caller graph for this function:

◆ setCoordinate()

void adore::env::BorderBased::ParkingSpot::setCoordinate ( adore::env::BorderBased::Coordinate  c)
inline

Set the Coordinate.

Parameters
cnew coordinates of the parking spot

◆ setHeading()

void adore::env::BorderBased::ParkingSpot::setHeading ( double  heading)
inline

Set the heading of the parking spot.

Parameters
headingnew heading of the parking spot
Here is the call graph for this function:

Member Data Documentation

◆ m_coordinate

BorderBased::Coordinate adore::env::BorderBased::ParkingSpot::m_coordinate
private

coordinates of the parking spot

◆ m_heading

double adore::env::BorderBased::ParkingSpot::m_heading
private

heading of the parking spot


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