Public Member Functions | Private Attributes | List of all members
cartographer::mapping::testing::FakeTrimmable Class Reference

#include <fake_trimmable.h>

Inheritance diagram for cartographer::mapping::testing::FakeTrimmable:
Inheritance graph
[legend]

Public Member Functions

 FakeTrimmable ()=default
 
 FakeTrimmable (int trajectory_id, int num_submaps)
 
const std::vector< PoseGraphInterface::Constraint > & GetConstraints () const override
 
MapById< SubmapId, PoseGraphInterface::SubmapDataGetOptimizedSubmapData () const override
 
std::vector< SubmapIdGetSubmapIds (int trajectory_id) const override
 
const MapById< NodeId, TrajectoryNode > & GetTrajectoryNodes () const override
 
bool IsFinished (const int trajectory_id) const override
 
void MarkSubmapAsTrimmed (const SubmapId &submap_id) override
 
std::vector< PoseGraphInterface::Constraint > * mutable_constraints ()
 
MapById< SubmapId, PoseGraphInterface::SubmapData > * mutable_submap_data ()
 
MapById< NodeId, TrajectoryNode > * mutable_trajectory_nodes ()
 
int num_submaps (const int trajectory_id) const override
 
void set_constraints (const std::vector< PoseGraphInterface::Constraint > &constraints)
 
void set_submap_data (const MapById< SubmapId, PoseGraphInterface::SubmapData > &submap_data)
 
void set_trajectory_nodes (const MapById< NodeId, TrajectoryNode > &trajectory_nodes)
 
std::vector< SubmapIdtrimmed_submaps ()
 
 ~FakeTrimmable () override
 
- Public Member Functions inherited from cartographer::mapping::Trimmable
virtual ~Trimmable ()
 

Private Attributes

std::vector< PoseGraphInterface::Constraintconstraints_
 
MapById< SubmapId, PoseGraphInterface::SubmapDatasubmap_data_
 
MapById< NodeId, TrajectoryNodetrajectory_nodes_
 
std::vector< SubmapIdtrimmed_submaps_
 

Detailed Description

Definition at line 28 of file fake_trimmable.h.

Constructor & Destructor Documentation

◆ FakeTrimmable() [1/2]

cartographer::mapping::testing::FakeTrimmable::FakeTrimmable ( )
default

◆ FakeTrimmable() [2/2]

cartographer::mapping::testing::FakeTrimmable::FakeTrimmable ( int  trajectory_id,
int  num_submaps 
)
inline

Definition at line 33 of file fake_trimmable.h.

◆ ~FakeTrimmable()

cartographer::mapping::testing::FakeTrimmable::~FakeTrimmable ( )
inlineoverride

Definition at line 38 of file fake_trimmable.h.

Member Function Documentation

◆ GetConstraints()

const std::vector<PoseGraphInterface::Constraint>& cartographer::mapping::testing::FakeTrimmable::GetConstraints ( ) const
inlineoverridevirtual

Implements cartographer::mapping::Trimmable.

Definition at line 88 of file fake_trimmable.h.

◆ GetOptimizedSubmapData()

MapById<SubmapId, PoseGraphInterface::SubmapData> cartographer::mapping::testing::FakeTrimmable::GetOptimizedSubmapData ( ) const
inlineoverridevirtual

Implements cartographer::mapping::Trimmable.

Definition at line 61 of file fake_trimmable.h.

◆ GetSubmapIds()

std::vector<SubmapId> cartographer::mapping::testing::FakeTrimmable::GetSubmapIds ( int  trajectory_id) const
inlineoverridevirtual

Implements cartographer::mapping::Trimmable.

Definition at line 44 of file fake_trimmable.h.

◆ GetTrajectoryNodes()

const MapById<NodeId, TrajectoryNode>& cartographer::mapping::testing::FakeTrimmable::GetTrajectoryNodes ( ) const
inlineoverridevirtual

Implements cartographer::mapping::Trimmable.

Definition at line 75 of file fake_trimmable.h.

◆ IsFinished()

bool cartographer::mapping::testing::FakeTrimmable::IsFinished ( const int  trajectory_id) const
inlineoverridevirtual

Implements cartographer::mapping::Trimmable.

Definition at line 97 of file fake_trimmable.h.

◆ MarkSubmapAsTrimmed()

void cartographer::mapping::testing::FakeTrimmable::MarkSubmapAsTrimmed ( const SubmapId submap_id)
inlineoverridevirtual

Implements cartographer::mapping::Trimmable.

Definition at line 93 of file fake_trimmable.h.

◆ mutable_constraints()

std::vector<PoseGraphInterface::Constraint>* cartographer::mapping::testing::FakeTrimmable::mutable_constraints ( )
inline

Definition at line 84 of file fake_trimmable.h.

◆ mutable_submap_data()

MapById<SubmapId, PoseGraphInterface::SubmapData>* cartographer::mapping::testing::FakeTrimmable::mutable_submap_data ( )
inline

Definition at line 57 of file fake_trimmable.h.

◆ mutable_trajectory_nodes()

MapById<NodeId, TrajectoryNode>* cartographer::mapping::testing::FakeTrimmable::mutable_trajectory_nodes ( )
inline

Definition at line 71 of file fake_trimmable.h.

◆ num_submaps()

int cartographer::mapping::testing::FakeTrimmable::num_submaps ( const int  trajectory_id) const
inlineoverridevirtual

Implements cartographer::mapping::Trimmable.

Definition at line 40 of file fake_trimmable.h.

◆ set_constraints()

void cartographer::mapping::testing::FakeTrimmable::set_constraints ( const std::vector< PoseGraphInterface::Constraint > &  constraints)
inline

Definition at line 79 of file fake_trimmable.h.

◆ set_submap_data()

void cartographer::mapping::testing::FakeTrimmable::set_submap_data ( const MapById< SubmapId, PoseGraphInterface::SubmapData > &  submap_data)
inline

Definition at line 52 of file fake_trimmable.h.

◆ set_trajectory_nodes()

void cartographer::mapping::testing::FakeTrimmable::set_trajectory_nodes ( const MapById< NodeId, TrajectoryNode > &  trajectory_nodes)
inline

Definition at line 66 of file fake_trimmable.h.

◆ trimmed_submaps()

std::vector<SubmapId> cartographer::mapping::testing::FakeTrimmable::trimmed_submaps ( )
inline

Definition at line 99 of file fake_trimmable.h.

Member Data Documentation

◆ constraints_

std::vector<PoseGraphInterface::Constraint> cartographer::mapping::testing::FakeTrimmable::constraints_
private

Definition at line 104 of file fake_trimmable.h.

◆ submap_data_

MapById<SubmapId, PoseGraphInterface::SubmapData> cartographer::mapping::testing::FakeTrimmable::submap_data_
private

Definition at line 106 of file fake_trimmable.h.

◆ trajectory_nodes_

MapById<NodeId, TrajectoryNode> cartographer::mapping::testing::FakeTrimmable::trajectory_nodes_
private

Definition at line 105 of file fake_trimmable.h.

◆ trimmed_submaps_

std::vector<SubmapId> cartographer::mapping::testing::FakeTrimmable::trimmed_submaps_
private

Definition at line 102 of file fake_trimmable.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