Classes | Public Member Functions | Private Attributes | List of all members
cartographer::sensor::MapByTime< DataType > Class Template Reference

#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< ConstIteratortrajectory (const int trajectory_id) const
 
mapping::Range< ConstTrajectoryIteratortrajectory_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_
 

Detailed Description

template<typename DataType>
class cartographer::sensor::MapByTime< DataType >

Definition at line 36 of file map_by_time.h.

Member Function Documentation

◆ Append()

template<typename DataType>
void cartographer::sensor::MapByTime< DataType >::Append ( const int  trajectory_id,
const DataType &  data 
)
inline

Definition at line 39 of file map_by_time.h.

◆ BeginOfTrajectory()

template<typename DataType>
ConstIterator cartographer::sensor::MapByTime< DataType >::BeginOfTrajectory ( const int  trajectory_id) const
inline

Definition at line 177 of file map_by_time.h.

◆ EndOfTrajectory()

template<typename DataType>
ConstIterator cartographer::sensor::MapByTime< DataType >::EndOfTrajectory ( const int  trajectory_id) const
inline

Definition at line 181 of file map_by_time.h.

◆ HasTrajectory()

template<typename DataType>
bool cartographer::sensor::MapByTime< DataType >::HasTrajectory ( const int  trajectory_id) const
inline

Definition at line 99 of file map_by_time.h.

◆ lower_bound()

template<typename DataType>
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.

◆ trajectory()

template<typename DataType>
mapping::Range<ConstIterator> cartographer::sensor::MapByTime< DataType >::trajectory ( const int  trajectory_id) const
inline

Definition at line 192 of file map_by_time.h.

◆ trajectory_ids()

template<typename DataType>
mapping::Range<ConstTrajectoryIterator> cartographer::sensor::MapByTime< DataType >::trajectory_ids ( ) const
inline

Definition at line 186 of file map_by_time.h.

◆ Trim()

template<typename DataType>
template<typename NodeType >
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.

Member Data Documentation

◆ data_

template<typename DataType>
std::map<int, std::map<common::Time, DataType> > cartographer::sensor::MapByTime< DataType >::data_
private

Definition at line 207 of file map_by_time.h.


The documentation for this class was generated from the following file:


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59