Class Encoder

Class Documentation

class Encoder

used to configure the osf::Writer class.

Right now it only contains a shared ptr to a LidarScanEncoder, but in the future it may contain other items to allow parts of the OSF encoding to vary independently.

Public Functions

inline Encoder(const std::shared_ptr<LidarScanEncoder> &lidar_scan_encoder)

Construct an Encoder with a given LidarScanEncoder.

Parameters:

lidar_scan_encoder[in] – Shared pointer to the scan encoder instance.

inline LidarScanEncoder &lidar_scan_encoder() const

Access the internal LidarScanEncoder instance.

Returns:

Reference to the LidarScanEncoder.