#include <id.h>
Classes | |
class | ConstIterator |
class | ConstTrajectoryIterator |
struct | IdDataReference |
struct | MapByIndex |
Public Member Functions | |
IdType | Append (const int trajectory_id, const DataType &data) |
const DataType & | at (const IdType &id) const |
DataType & | at (const IdType &id) |
ConstIterator | begin () const |
ConstIterator | BeginOfTrajectory (const int trajectory_id) const |
bool | Contains (const IdType &id) const |
bool | empty () const |
ConstIterator | end () const |
ConstIterator | EndOfTrajectory (const int trajectory_id) const |
ConstIterator | find (const IdType &id) const |
void | Insert (const IdType &id, const DataType &data) |
ConstIterator | lower_bound (const int trajectory_id, const common::Time time) const |
size_t | size () const |
size_t | SizeOfTrajectoryOrZero (const int trajectory_id) const |
Range< ConstIterator > | trajectory (const int trajectory_id) const |
Range< ConstTrajectoryIterator > | trajectory_ids () const |
void | Trim (const IdType &id) |
Static Private Member Functions | |
static int | GetIndex (const NodeId &id) |
static int | GetIndex (const SubmapId &id) |
Private Attributes | |
std::map< int, MapByIndex > | trajectories_ |
IdType cartographer::mapping::MapById< IdType, DataType >::Append | ( | const int | trajectory_id, |
const DataType & | data | ||
) | [inline] |
const DataType& cartographer::mapping::MapById< IdType, DataType >::at | ( | const IdType & | id | ) | const [inline] |
DataType& cartographer::mapping::MapById< IdType, DataType >::at | ( | const IdType & | id | ) | [inline] |
ConstIterator cartographer::mapping::MapById< IdType, DataType >::begin | ( | ) | const [inline] |
ConstIterator cartographer::mapping::MapById< IdType, DataType >::BeginOfTrajectory | ( | const int | trajectory_id | ) | const [inline] |
bool cartographer::mapping::MapById< IdType, DataType >::Contains | ( | const IdType & | id | ) | const [inline] |
bool cartographer::mapping::MapById< IdType, DataType >::empty | ( | ) | const [inline] |
ConstIterator cartographer::mapping::MapById< IdType, DataType >::end | ( | ) | const [inline] |
ConstIterator cartographer::mapping::MapById< IdType, DataType >::EndOfTrajectory | ( | const int | trajectory_id | ) | const [inline] |
ConstIterator cartographer::mapping::MapById< IdType, DataType >::find | ( | const IdType & | id | ) | const [inline] |
static int cartographer::mapping::MapById< IdType, DataType >::GetIndex | ( | const NodeId & | id | ) | [inline, static, private] |
static int cartographer::mapping::MapById< IdType, DataType >::GetIndex | ( | const SubmapId & | id | ) | [inline, static, private] |
void cartographer::mapping::MapById< IdType, DataType >::Insert | ( | const IdType & | id, |
const DataType & | data | ||
) | [inline] |
ConstIterator cartographer::mapping::MapById< IdType, DataType >::lower_bound | ( | const int | trajectory_id, |
const common::Time | time | ||
) | const [inline] |
size_t cartographer::mapping::MapById< IdType, DataType >::size | ( | ) | const [inline] |
size_t cartographer::mapping::MapById< IdType, DataType >::SizeOfTrajectoryOrZero | ( | const int | trajectory_id | ) | const [inline] |
Range<ConstIterator> cartographer::mapping::MapById< IdType, DataType >::trajectory | ( | const int | trajectory_id | ) | const [inline] |
Range<ConstTrajectoryIterator> cartographer::mapping::MapById< IdType, DataType >::trajectory_ids | ( | ) | const [inline] |
void cartographer::mapping::MapById< IdType, DataType >::Trim | ( | const IdType & | id | ) | [inline] |
std::map<int, MapByIndex> cartographer::mapping::MapById< IdType, DataType >::trajectories_ [private] |