#include <map_by_time.h>
Classes | |
class | ConstIterator |
class | ConstTrajectoryIterator |
Public Member Functions | |
void | Append (const int trajectory_id, const DataType &data) |
ConstIterator | BeginOfTrajectory (const int trajectory_id) const |
ConstIterator | EndOfTrajectory (const int trajectory_id) const |
bool | HasTrajectory (const int trajectory_id) const |
ConstIterator | lower_bound (const int trajectory_id, const common::Time time) const |
mapping::Range< ConstIterator > | trajectory (const int trajectory_id) const |
mapping::Range < ConstTrajectoryIterator > | trajectory_ids () const |
template<typename NodeType > | |
void | Trim (const mapping::MapById< mapping::NodeId, NodeType > &nodes, const mapping::NodeId &node_id) |
Private Attributes | |
std::map< int, std::map < common::Time, DataType > > | data_ |
Definition at line 36 of file map_by_time.h.
void cartographer::sensor::MapByTime< DataType >::Append | ( | const int | trajectory_id, |
const DataType & | data | ||
) | [inline] |
Definition at line 39 of file map_by_time.h.
ConstIterator cartographer::sensor::MapByTime< DataType >::BeginOfTrajectory | ( | const int | trajectory_id | ) | const [inline] |
Definition at line 177 of file map_by_time.h.
ConstIterator cartographer::sensor::MapByTime< DataType >::EndOfTrajectory | ( | const int | trajectory_id | ) | const [inline] |
Definition at line 181 of file map_by_time.h.
bool cartographer::sensor::MapByTime< DataType >::HasTrajectory | ( | const int | trajectory_id | ) | const [inline] |
Definition at line 99 of file map_by_time.h.
ConstIterator cartographer::sensor::MapByTime< DataType >::lower_bound | ( | const int | trajectory_id, |
const common::Time | time | ||
) | const [inline] |
Definition at line 201 of file map_by_time.h.
mapping::Range<ConstIterator> cartographer::sensor::MapByTime< DataType >::trajectory | ( | const int | trajectory_id | ) | const [inline] |
Definition at line 192 of file map_by_time.h.
mapping::Range<ConstTrajectoryIterator> cartographer::sensor::MapByTime< DataType >::trajectory_ids | ( | ) | const [inline] |
Definition at line 186 of file map_by_time.h.
void cartographer::sensor::MapByTime< DataType >::Trim | ( | const mapping::MapById< mapping::NodeId, NodeType > & | nodes, |
const mapping::NodeId & | node_id | ||
) | [inline] |
Definition at line 51 of file map_by_time.h.
std::map<int, std::map<common::Time, DataType> > cartographer::sensor::MapByTime< DataType >::data_ [private] |
Definition at line 207 of file map_by_time.h.