Public Member Functions | List of all members
cartographer::mapping::testing::MockPoseGraph Class Reference

#include <mock_pose_graph.h>

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

Public Member Functions

 MOCK_CONST_METHOD0 (GetAllSubmapData, mapping::MapById< mapping::SubmapId, SubmapData >())
 
 MOCK_CONST_METHOD0 (GetAllSubmapPoses, mapping::MapById< mapping::SubmapId, SubmapPose >())
 
 MOCK_CONST_METHOD0 (GetTrajectoryNodes, mapping::MapById< mapping::NodeId, mapping::TrajectoryNode >())
 
 MOCK_CONST_METHOD0 (GetTrajectoryNodePoses, mapping::MapById< mapping::NodeId, mapping::TrajectoryNodePose >())
 
 MOCK_CONST_METHOD0 (GetLandmarkPoses, std::map< std::string, transform::Rigid3d >())
 
 MOCK_CONST_METHOD0 (GetTrajectoryData, std::map< int, mapping::PoseGraphInterface::TrajectoryData >())
 
 MOCK_CONST_METHOD0 (constraints, std::vector< Constraint >())
 
 MOCK_CONST_METHOD0 (ToProto, mapping::proto::PoseGraph())
 
 MOCK_CONST_METHOD1 (GetLocalToGlobalTransform, transform::Rigid3d(int))
 
 MOCK_CONST_METHOD1 (IsTrajectoryFinished, bool(int))
 
 MOCK_CONST_METHOD1 (IsTrajectoryFrozen, bool(int))
 
 MOCK_METHOD0 (RunFinalOptimization, void())
 
 MOCK_METHOD1 (SetGlobalSlamOptimizationCallback, void(GlobalSlamOptimizationCallback callback))
 
 MOCK_METHOD2 (SetLandmarkPose, void(const std::string &, const transform::Rigid3d &))
 
 MockPoseGraph ()=default
 
 ~MockPoseGraph () override=default
 
- Public Member Functions inherited from cartographer::mapping::PoseGraphInterface
virtual std::vector< Constraintconstraints () const =0
 
virtual MapById< SubmapId, SubmapDataGetAllSubmapData () const =0
 
virtual MapById< SubmapId, SubmapPoseGetAllSubmapPoses () const =0
 
virtual std::map< std::string, transform::Rigid3dGetLandmarkPoses () const =0
 
virtual transform::Rigid3d GetLocalToGlobalTransform (int trajectory_id) const =0
 
virtual std::map< int, TrajectoryDataGetTrajectoryData () const =0
 
virtual MapById< NodeId, TrajectoryNodePoseGetTrajectoryNodePoses () const =0
 
virtual MapById< NodeId, TrajectoryNodeGetTrajectoryNodes () const =0
 
virtual bool IsTrajectoryFinished (int trajectory_id) const =0
 
virtual bool IsTrajectoryFrozen (int trajectory_id) const =0
 
PoseGraphInterfaceoperator= (const PoseGraphInterface &)=delete
 
 PoseGraphInterface ()
 
 PoseGraphInterface (const PoseGraphInterface &)=delete
 
virtual void RunFinalOptimization ()=0
 
virtual void SetGlobalSlamOptimizationCallback (GlobalSlamOptimizationCallback callback)=0
 
virtual void SetLandmarkPose (const std::string &landmark_id, const transform::Rigid3d &global_pose)=0
 
virtual proto::PoseGraph ToProto () const =0
 
virtual ~PoseGraphInterface ()
 

Additional Inherited Members

- Public Types inherited from cartographer::mapping::PoseGraphInterface
using GlobalSlamOptimizationCallback = std::function< void(const std::map< int, SubmapId > &, const std::map< int, NodeId > &)>
 

Detailed Description

Definition at line 29 of file mock_pose_graph.h.

Constructor & Destructor Documentation

◆ MockPoseGraph()

cartographer::mapping::testing::MockPoseGraph::MockPoseGraph ( )
default

◆ ~MockPoseGraph()

cartographer::mapping::testing::MockPoseGraph::~MockPoseGraph ( )
overridedefault

Member Function Documentation

◆ MOCK_CONST_METHOD0() [1/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( GetAllSubmapData  ,
mapping::MapById< mapping::SubmapId, SubmapData () 
)

◆ MOCK_CONST_METHOD0() [2/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( GetAllSubmapPoses  ,
mapping::MapById< mapping::SubmapId, SubmapPose () 
)

◆ MOCK_CONST_METHOD0() [3/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( GetTrajectoryNodes  ,
mapping::MapById< mapping::NodeId, mapping::TrajectoryNode () 
)

◆ MOCK_CONST_METHOD0() [4/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( GetTrajectoryNodePoses  ,
mapping::MapById< mapping::NodeId, mapping::TrajectoryNodePose () 
)

◆ MOCK_CONST_METHOD0() [5/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( GetLandmarkPoses  ,
std::map< std::string, transform::Rigid3d () 
)

◆ MOCK_CONST_METHOD0() [6/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( GetTrajectoryData  ,
std::map< int, mapping::PoseGraphInterface::TrajectoryData () 
)

◆ MOCK_CONST_METHOD0() [7/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( constraints  ,
std::vector< Constraint () 
)

◆ MOCK_CONST_METHOD0() [8/8]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD0 ( ToProto  ,
mapping::proto::PoseGraph()   
)

◆ MOCK_CONST_METHOD1() [1/3]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD1 ( GetLocalToGlobalTransform  ,
transform::Rigid3d(int)   
)

◆ MOCK_CONST_METHOD1() [2/3]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD1 ( IsTrajectoryFinished  ,
bool(int)   
)

◆ MOCK_CONST_METHOD1() [3/3]

cartographer::mapping::testing::MockPoseGraph::MOCK_CONST_METHOD1 ( IsTrajectoryFrozen  ,
bool(int)   
)

◆ MOCK_METHOD0()

cartographer::mapping::testing::MockPoseGraph::MOCK_METHOD0 ( RunFinalOptimization  ,
void()   
)

◆ MOCK_METHOD1()

cartographer::mapping::testing::MockPoseGraph::MOCK_METHOD1 ( SetGlobalSlamOptimizationCallback  ,
void(GlobalSlamOptimizationCallback callback)   
)

◆ MOCK_METHOD2()

cartographer::mapping::testing::MockPoseGraph::MOCK_METHOD2 ( SetLandmarkPose  ,
void(const std::string &, const transform::Rigid3d &)   
)

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