#include <path_history.hpp>
Public Member Functions | |
void | addSample (const PathPoint &) |
const PathPoint & | getReferencePoint () const |
const std::list< PathPoint > & | getConcisePoints () const |
Private Member Functions | |
void | updateConcisePoints () |
void | truncateConcisePoints () |
const PathPoint & | starting () const |
const PathPoint & | previous () const |
const PathPoint & | next () const |
Private Attributes | |
boost::circular_buffer< PathPoint > | m_samples |
std::list< PathPoint > | m_concise |
Implementation of Path History Reference Design (Method One)
Definition at line 17 of file path_history.hpp.
vanetza::facilities::PathHistory::PathHistory | ( | ) |
Definition at line 16 of file path_history.cpp.
void vanetza::facilities::PathHistory::addSample | ( | const PathPoint & | point | ) |
Consider one further path point for inclusion into path history
a | path point, expected to be newer than any previously given point |
Definition at line 39 of file path_history.cpp.
|
inline |
Get concise list of path points
Definition at line 40 of file path_history.hpp.
const PathPoint & vanetza::facilities::PathHistory::getReferencePoint | ( | ) | const |
Get current reference point, i.e. last provided path point
Definition at line 50 of file path_history.cpp.
|
private |
Definition at line 33 of file path_history.cpp.
|
private |
Definition at line 27 of file path_history.cpp.
|
private |
Definition at line 21 of file path_history.cpp.
|
private |
Definition at line 87 of file path_history.cpp.
|
private |
Definition at line 61 of file path_history.cpp.
|
private |
Definition at line 50 of file path_history.hpp.
|
private |
Definition at line 49 of file path_history.hpp.