Class Encoder

Class Documentation

class Encoder

used to configure the osf::Writer class.

Right now it only contains a shared ptr to a LidarFrameEncoder, 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<LidarFrameEncoder> &lidar_frame_encoder)

Construct an Encoder with a given LidarFrameEncoder.

Parameters:

lidar_frame_encoder[in] Shared pointer to the frame encoder instance.

inline LidarFrameEncoder &lidar_frame_encoder() const

Access the internal LidarFrameEncoder instance.

Returns:

Reference to the LidarFrameEncoder.