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

#include <mock_map_builder.h>

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

Public Member Functions

 MOCK_CONST_METHOD0 (num_trajectory_builders, int())
 
 MOCK_CONST_METHOD0 (GetAllTrajectoryBuilderOptions, const std::vector< mapping::proto::TrajectoryBuilderOptionsWithSensorIds > &())
 
 MOCK_CONST_METHOD1 (GetTrajectoryBuilder, mapping::TrajectoryBuilderInterface *(int trajectory_id))
 
 MOCK_METHOD0 (pose_graph, mapping::PoseGraphInterface *())
 
 MOCK_METHOD1 (AddTrajectoryForDeserialization, int(const mapping::proto::TrajectoryBuilderOptionsWithSensorIds &options_with_sensor_ids_proto))
 
 MOCK_METHOD1 (FinishTrajectory, void(int trajectory_id))
 
 MOCK_METHOD1 (SerializeState, void(io::ProtoStreamWriterInterface *))
 
 MOCK_METHOD2 (SubmapToProto, std::string(const mapping::SubmapId &, mapping::proto::SubmapQuery::Response *))
 
 MOCK_METHOD2 (LoadState, void(io::ProtoStreamReaderInterface *, bool))
 
 MOCK_METHOD3 (AddTrajectoryBuilder, int(const std::set< SensorId > &expected_sensor_ids, const mapping::proto::TrajectoryBuilderOptions &trajectory_options, mapping::MapBuilderInterface::LocalSlamResultCallback local_slam_result_callback))
 
- Public Member Functions inherited from cartographer::mapping::MapBuilderInterface
virtual int AddTrajectoryBuilder (const std::set< SensorId > &expected_sensor_ids, const proto::TrajectoryBuilderOptions &trajectory_options, LocalSlamResultCallback local_slam_result_callback)=0
 
virtual int AddTrajectoryForDeserialization (const proto::TrajectoryBuilderOptionsWithSensorIds &options_with_sensor_ids_proto)=0
 
virtual void FinishTrajectory (int trajectory_id)=0
 
virtual const std::vector< proto::TrajectoryBuilderOptionsWithSensorIds > & GetAllTrajectoryBuilderOptions () const =0
 
virtual mapping::TrajectoryBuilderInterfaceGetTrajectoryBuilder (int trajectory_id) const =0
 
virtual void LoadState (io::ProtoStreamReaderInterface *reader, bool load_frozen_state)=0
 
 MapBuilderInterface ()
 
 MapBuilderInterface (const MapBuilderInterface &)=delete
 
virtual int num_trajectory_builders () const =0
 
MapBuilderInterfaceoperator= (const MapBuilderInterface &)=delete
 
virtual mapping::PoseGraphInterfacepose_graph ()=0
 
virtual void SerializeState (io::ProtoStreamWriterInterface *writer)=0
 
virtual std::string SubmapToProto (const SubmapId &submap_id, proto::SubmapQuery::Response *response)=0
 
virtual ~MapBuilderInterface ()
 

Additional Inherited Members

- Public Types inherited from cartographer::mapping::MapBuilderInterface
using LocalSlamResultCallback = TrajectoryBuilderInterface::LocalSlamResultCallback
 
using SensorId = TrajectoryBuilderInterface::SensorId
 

Detailed Description

Definition at line 33 of file mock_map_builder.h.

Member Function Documentation

◆ MOCK_CONST_METHOD0() [1/2]

cartographer::mapping::testing::MockMapBuilder::MOCK_CONST_METHOD0 ( num_trajectory_builders  ,
int()   
)

◆ MOCK_CONST_METHOD0() [2/2]

cartographer::mapping::testing::MockMapBuilder::MOCK_CONST_METHOD0 ( GetAllTrajectoryBuilderOptions  ,
const std::vector< mapping::proto::TrajectoryBuilderOptionsWithSensorIds > &  () 
)

◆ MOCK_CONST_METHOD1()

cartographer::mapping::testing::MockMapBuilder::MOCK_CONST_METHOD1 ( GetTrajectoryBuilder  ,
mapping::TrajectoryBuilderInterface int trajectory_id 
)

◆ MOCK_METHOD0()

cartographer::mapping::testing::MockMapBuilder::MOCK_METHOD0 ( pose_graph  ,
mapping::PoseGraphInterface () 
)

◆ MOCK_METHOD1() [1/3]

cartographer::mapping::testing::MockMapBuilder::MOCK_METHOD1 ( AddTrajectoryForDeserialization  ,
int(const mapping::proto::TrajectoryBuilderOptionsWithSensorIds &options_with_sensor_ids_proto)   
)

◆ MOCK_METHOD1() [2/3]

cartographer::mapping::testing::MockMapBuilder::MOCK_METHOD1 ( FinishTrajectory  ,
void(int trajectory_id)   
)

◆ MOCK_METHOD1() [3/3]

cartographer::mapping::testing::MockMapBuilder::MOCK_METHOD1 ( SerializeState  ,
void(io::ProtoStreamWriterInterface *)   
)

◆ MOCK_METHOD2() [1/2]

cartographer::mapping::testing::MockMapBuilder::MOCK_METHOD2 ( SubmapToProto  ,
std::string(const mapping::SubmapId &, mapping::proto::SubmapQuery::Response *)   
)

◆ MOCK_METHOD2() [2/2]

cartographer::mapping::testing::MockMapBuilder::MOCK_METHOD2 ( LoadState  ,
void(io::ProtoStreamReaderInterface *, bool)   
)

◆ MOCK_METHOD3()

cartographer::mapping::testing::MockMapBuilder::MOCK_METHOD3 ( AddTrajectoryBuilder  ,
int(const std::set< SensorId > &expected_sensor_ids, const mapping::proto::TrajectoryBuilderOptions &trajectory_options, mapping::MapBuilderInterface::LocalSlamResultCallback local_slam_result_callback)   
)

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