Classes | Typedefs | Functions
cartographer::cloud::testing Namespace Reference

Classes

class  HandlerTest
 
class  MockLocalTrajectoryUploader
 
class  MockMapBuilderContext
 

Typedefs

using DataPredicateType = std::function< bool(const sensor::Data &)>
 
using ProtoPredicateType = std::function< bool(const google::protobuf::Message &)>
 

Functions

template<typename T >
DataPredicateType BuildDataPredicateEquals (const T &proto)
 
template<>
DataPredicateType BuildDataPredicateEquals< proto::AddFixedFramePoseDataRequest > (const proto::AddFixedFramePoseDataRequest &proto)
 
template<>
DataPredicateType BuildDataPredicateEquals< proto::AddImuDataRequest > (const proto::AddImuDataRequest &proto)
 
template<>
DataPredicateType BuildDataPredicateEquals< proto::AddLandmarkDataRequest > (const proto::AddLandmarkDataRequest &proto)
 
template<>
DataPredicateType BuildDataPredicateEquals< proto::AddOdometryDataRequest > (const proto::AddOdometryDataRequest &proto)
 
template<>
DataPredicateType BuildDataPredicateEquals< proto::AddRangefinderDataRequest > (const proto::AddRangefinderDataRequest &proto)
 
ProtoPredicateType BuildProtoPredicateEquals (const google::protobuf::Message *proto)
 

Typedef Documentation

◆ DataPredicateType

using cartographer::cloud::testing::DataPredicateType = typedef std::function<bool(const sensor::Data &)>

Definition at line 28 of file cloud/internal/testing/test_helpers.h.

◆ ProtoPredicateType

using cartographer::cloud::testing::ProtoPredicateType = typedef std::function<bool(const google::protobuf::Message &)>

Definition at line 30 of file cloud/internal/testing/test_helpers.h.

Function Documentation

◆ BuildDataPredicateEquals()

template<typename T >
DataPredicateType cartographer::cloud::testing::BuildDataPredicateEquals ( const T &  proto)

◆ BuildDataPredicateEquals< proto::AddFixedFramePoseDataRequest >()

template<>
DataPredicateType cartographer::cloud::testing::BuildDataPredicateEquals< proto::AddFixedFramePoseDataRequest > ( const proto::AddFixedFramePoseDataRequest &  proto)

Definition at line 37 of file cloud/internal/testing/test_helpers.cc.

◆ BuildDataPredicateEquals< proto::AddImuDataRequest >()

template<>
DataPredicateType cartographer::cloud::testing::BuildDataPredicateEquals< proto::AddImuDataRequest > ( const proto::AddImuDataRequest &  proto)

Definition at line 24 of file cloud/internal/testing/test_helpers.cc.

◆ BuildDataPredicateEquals< proto::AddLandmarkDataRequest >()

template<>
DataPredicateType cartographer::cloud::testing::BuildDataPredicateEquals< proto::AddLandmarkDataRequest > ( const proto::AddLandmarkDataRequest &  proto)

Definition at line 65 of file cloud/internal/testing/test_helpers.cc.

◆ BuildDataPredicateEquals< proto::AddOdometryDataRequest >()

template<>
DataPredicateType cartographer::cloud::testing::BuildDataPredicateEquals< proto::AddOdometryDataRequest > ( const proto::AddOdometryDataRequest &  proto)

Definition at line 52 of file cloud/internal/testing/test_helpers.cc.

◆ BuildDataPredicateEquals< proto::AddRangefinderDataRequest >()

template<>
DataPredicateType cartographer::cloud::testing::BuildDataPredicateEquals< proto::AddRangefinderDataRequest > ( const proto::AddRangefinderDataRequest &  proto)

Definition at line 78 of file cloud/internal/testing/test_helpers.cc.

◆ BuildProtoPredicateEquals()

ProtoPredicateType cartographer::cloud::testing::BuildProtoPredicateEquals ( const google::protobuf::Message *  proto)

Definition at line 92 of file cloud/internal/testing/test_helpers.cc.



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