Public Types | Public Member Functions | List of all members
cartographer::sensor::CollatorInterface Class Referenceabstract

#include <collator_interface.h>

Inheritance diagram for cartographer::sensor::CollatorInterface:
Inheritance graph
[legend]

Public Types

using Callback = std::function< void(const std::string &, std::unique_ptr< Data >)>
 

Public Member Functions

virtual void AddSensorData (int trajectory_id, std::unique_ptr< Data > data)=0
 
virtual void AddTrajectory (int trajectory_id, const std::unordered_set< std::string > &expected_sensor_ids, const Callback &callback)=0
 
 CollatorInterface ()
 
 CollatorInterface (const CollatorInterface &)=delete
 
virtual void FinishTrajectory (int trajectory_id)=0
 
virtual void Flush ()=0
 
virtual common::optional< int > GetBlockingTrajectoryId () const =0
 
CollatorInterfaceoperator= (const CollatorInterface &)=delete
 
virtual ~CollatorInterface ()
 

Detailed Description

Definition at line 31 of file collator_interface.h.

Member Typedef Documentation

◆ Callback

using cartographer::sensor::CollatorInterface::Callback = std::function<void(const std::string&, std::unique_ptr<Data>)>

Definition at line 34 of file collator_interface.h.

Constructor & Destructor Documentation

◆ CollatorInterface() [1/2]

cartographer::sensor::CollatorInterface::CollatorInterface ( )
inline

Definition at line 36 of file collator_interface.h.

◆ ~CollatorInterface()

virtual cartographer::sensor::CollatorInterface::~CollatorInterface ( )
inlinevirtual

Definition at line 37 of file collator_interface.h.

◆ CollatorInterface() [2/2]

cartographer::sensor::CollatorInterface::CollatorInterface ( const CollatorInterface )
delete

Member Function Documentation

◆ AddSensorData()

virtual void cartographer::sensor::CollatorInterface::AddSensorData ( int  trajectory_id,
std::unique_ptr< Data data 
)
pure virtual

◆ AddTrajectory()

virtual void cartographer::sensor::CollatorInterface::AddTrajectory ( int  trajectory_id,
const std::unordered_set< std::string > &  expected_sensor_ids,
const Callback callback 
)
pure virtual

◆ FinishTrajectory()

virtual void cartographer::sensor::CollatorInterface::FinishTrajectory ( int  trajectory_id)
pure virtual

◆ Flush()

virtual void cartographer::sensor::CollatorInterface::Flush ( )
pure virtual

◆ GetBlockingTrajectoryId()

virtual common::optional<int> cartographer::sensor::CollatorInterface::GetBlockingTrajectoryId ( ) const
pure virtual

◆ operator=()

CollatorInterface& cartographer::sensor::CollatorInterface::operator= ( const CollatorInterface )
delete

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