Class CallbackManager

Inheritance Relationships

Derived Type

Class Documentation

class maplab::CallbackManager

Subclassed by maplab::DataSource

Public Types

typedef std::function<void(vio::ImageMeasurement::ConstPtr)> ImageCallback
typedef std::function<void(vio::BatchedImuMeasurements::ConstPtr)> ImuCallback
typedef std::function<void(vi_map::RosLidarMeasurement::ConstPtr)> LidarCallback
typedef std::function<void(maplab::OdometryEstimate::ConstPtr)> OdometryCallback
typedef std::function<void(vi_map::Absolute6DoFMeasurement::Ptr)> Absolute6DoFConstraintCallback
typedef std::function<void(vi_map::LoopClosureMeasurement::ConstPtr)> LoopClosureConstraintCallback
typedef std::function<void(vi_map::WheelOdometryMeasurement::Ptr)> WheelOdometryConstraintCallback
typedef std::function<void(vi_map::RosPointCloudMapSensorMeasurement::ConstPtr)> PointCloudMapCallback

Public Functions

inline void registerImageCallback(const ImageCallback &cb)
inline void invokeImageCallbacks(const vio::ImageMeasurement::ConstPtr &measurement) const
inline void registerImuCallback(const ImuCallback &cb)
inline void invokeImuCallbacks(const vio::BatchedImuMeasurements::ConstPtr &measurement) const
inline void registerLidarCallback(const LidarCallback &cb)
inline void invokeLidarCallbacks(const vi_map::RosLidarMeasurement::ConstPtr &measurement) const
inline void registerOdometryCallback(const OdometryCallback &cb)
inline void invokeOdometryCallbacks(const maplab::OdometryEstimate::ConstPtr &measurement) const
inline void registerAbsolute6DoFConstraintCallback(const Absolute6DoFConstraintCallback &cb)
inline void invokeAbsolute6DoFConstraintCallbacks(const vi_map::Absolute6DoFMeasurement::Ptr &measurement) const
inline void registerLoopClosureConstraintCallback(const LoopClosureConstraintCallback &cb)
inline void invokeLoopClosureConstraintCallbacks(const vi_map::LoopClosureMeasurement::ConstPtr &measurement) const
inline void registerWheelOdometryConstraintCallback(const WheelOdometryConstraintCallback &cb)
inline void invokeWheelOdometryConstraintCallbacks(const vi_map::WheelOdometryMeasurement::Ptr &measurement) const
inline void registerPointCloudMapCallback(const PointCloudMapCallback &cb)
inline void invokePointCloudMapCallbacks(const vi_map::RosPointCloudMapSensorMeasurement::ConstPtr &measurement) const