DUNE: Uniform Navigational Environment
2016.05.0
|
Class to gather each maneuver's ETA.
Classes | |
struct | ETA |
Public Types | |
typedef std::pair< const std::string, ETA > | ETAPair |
typedef std::map< std::string, ETA > | ETAMap |
Public Member Functions | |
Timeline (void) | |
~Timeline (void) | |
void | setPlanETA (float value) |
float | getPlanETA (void) const |
void | setManeuverETA (const std::string &id, float start_eta, float end_eta) |
float | getManeuverStartETA (const std::string &id) const |
float | getManeuverEndETA (const std::string &id) const |
float | getExecutionDuration (void) const |
typedef std::map<std::string, ETA> Plan::Engine::Timeline::ETAMap |
Map of maneuver ids to their ETAs.
typedef std::pair<const std::string, ETA> Plan::Engine::Timeline::ETAPair |
Pair of maneuver id to it's ETA.
|
inline |
Constructor.
References Plan::Engine::Timeline::ETA::end.
|
inline |
Destructor.
|
inline |
Get execution duration.
Referenced by Plan::Engine::ActionSchedule::ActionSchedule(), and Plan::Engine::PreStatistics::fill().
|
inline |
Get maneuver's end ETA.
[in] | id | maneuver id |
Referenced by Plan::Engine::ActionSchedule::ActionSchedule(), Plan::Engine::PreStatistics::fill(), and Plan::Engine::ActionSchedule::fillComponentActiveTime().
|
inline |
Get maneuver's start ETA.
[in] | id | maneuver id |
Referenced by Plan::Engine::ActionSchedule::ActionSchedule(), Plan::Engine::PreStatistics::fill(), and Plan::Engine::ActionSchedule::fillComponentActiveTime().
|
inline |
Get the complete plan ETA.
References Plan::Engine::Timeline::ETA::start.
Referenced by Plan::Engine::PreStatistics::fill(), and Plan::Engine::ActionSchedule::fillComponentActiveTime().
|
inline |
Set maneuver's ETA.
[in] | id | maneuver id |
[in] | start_eta | estimated time of arrival of the start of the maneuver |
[in] | end_eta | estimated time of arrival of the end of the maneuver |
References Plan::Engine::Timeline::ETA::end, and Plan::Engine::Timeline::ETA::start.
|
inline |
Set the complete plan end ETA.
[in] | value | plan's end ETA |
References Plan::Engine::Timeline::ETA::start.