This class definition is to represent parking spots. More...
#include <parkingspot.h>
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 |
This class definition is to represent parking spots.
|
inline |
Construct a new ParkingSpot object.
|
inline |
Construct a new ParkingSpot object.
coordinate | coordinates of the new parking spot |
heading | heading of the new parking spot |
|
inline |
Get the Coordinate object.
|
inline |
Get the heading of the parking spot.
|
inline |
Set the Coordinate.
c | new coordinates of the parking spot |
|
inline |
Set the heading of the parking spot.
heading | new heading of the parking spot |
|
private |
coordinates of the parking spot
|
private |
heading of the parking spot