Public Member Functions | Private Attributes | List of all members
cartographer::sensor::Dispatchable< DataType > Class Template Reference

#include <dispatchable.h>

Inheritance diagram for cartographer::sensor::Dispatchable< DataType >:
Inheritance graph
[legend]

Public Member Functions

void AddToTrajectoryBuilder (mapping::TrajectoryBuilderInterface *const trajectory_builder) override
 
const DataType & data () const
 
 Dispatchable (const std::string &sensor_id, const DataType &data)
 
common::Time GetTime () const override
 
- Public Member Functions inherited from cartographer::sensor::Data
 Data (const std::string &sensor_id)
 
const std::string & GetSensorId () const
 
virtual ~Data ()
 

Private Attributes

const DataType data_
 

Additional Inherited Members

- Protected Attributes inherited from cartographer::sensor::Data
const std::string sensor_id_
 

Detailed Description

template<typename DataType>
class cartographer::sensor::Dispatchable< DataType >

Definition at line 27 of file dispatchable.h.

Constructor & Destructor Documentation

◆ Dispatchable()

template<typename DataType>
cartographer::sensor::Dispatchable< DataType >::Dispatchable ( const std::string &  sensor_id,
const DataType &  data 
)
inline

Definition at line 29 of file dispatchable.h.

Member Function Documentation

◆ AddToTrajectoryBuilder()

template<typename DataType>
void cartographer::sensor::Dispatchable< DataType >::AddToTrajectoryBuilder ( mapping::TrajectoryBuilderInterface *const  trajectory_builder)
inlineoverridevirtual

Implements cartographer::sensor::Data.

Definition at line 33 of file dispatchable.h.

◆ data()

template<typename DataType>
const DataType& cartographer::sensor::Dispatchable< DataType >::data ( ) const
inline

Definition at line 37 of file dispatchable.h.

◆ GetTime()

template<typename DataType>
common::Time cartographer::sensor::Dispatchable< DataType >::GetTime ( ) const
inlineoverridevirtual

Implements cartographer::sensor::Data.

Definition at line 32 of file dispatchable.h.

Member Data Documentation

◆ data_

template<typename DataType>
const DataType cartographer::sensor::Dispatchable< DataType >::data_
private

Definition at line 40 of file dispatchable.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