Class DataSource

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class maplab::DataSource : public maplab::CallbackManager

Subclassed by maplab::DataSourceRosbag, maplab::DataSourceRostopic

Public Functions

MAPLAB_DISALLOW_EVIL_CONSTRUCTORS(DataSource)
inline explicit DataSource(const vi_map::SensorManager &sensor_manager)
inline virtual ~DataSource()
virtual void startStreaming() = 0
virtual void shutdown() = 0
virtual bool allDataStreamed() const = 0
virtual std::string getDatasetName() const = 0
inline virtual void registerEndOfDataCallback(const std::function<void()> &cb)
inline void invokeEndOfDataCallbacks() const
inline bool shiftByFirstTimestamp(int64_t *timestamp_ns)

Public Members

DataSource

Protected Functions

DataSource() = default

Protected Attributes

const vi_map::SensorManager &sensor_manager_