18 #ifndef IGNITION_RNDF_PARKINGSPOT_HH_ 19 #define IGNITION_RNDF_PARKINGSPOT_HH_ 33 class ParkingSpotPrivate;
34 class ParkingSpotHeaderPrivate;
60 public:
bool Load(std::ifstream &_rndfFile,
71 public:
double Width()
const;
77 public:
bool SetWidth(
const double _newWidth);
92 private: std::unique_ptr<ParkingSpotHeaderPrivate> dataPtr;
124 public:
bool Load(std::ifstream &_rndfFile,
134 public:
int Id()
const;
141 public:
bool SetId(
const int _id);
149 public:
unsigned int NumWaypoints()
const;
153 public: std::vector<rndf::Waypoint> &Waypoints();
157 public:
const std::vector<rndf::Waypoint> &Waypoints()
const;
163 public:
bool Waypoint(
const int _wpId,
183 public:
bool RemoveWaypoint(
const int _wpId);
191 public:
double Width()
const;
197 public:
bool SetWidth(
const double _newWidth);
216 public:
bool Valid()
const;
225 public:
bool operator==(
const ParkingSpot &_other)
const;
230 public:
bool operator!=(
const ParkingSpot &_other)
const;
239 private: std::unique_ptr<ParkingSpotPrivate> dataPtr;
#define IGNITION_RNDF_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:55
An abstraction for representing a parking spot within a zone.
Definition: ParkingSpot.hh:96
A checkpoint is a waypoint that has to be visited.
Definition: Checkpoint.hh:34
Definition: Checkpoint.hh:25
A reference point.
Definition: Waypoint.hh:42