23 #ifndef __ENCODER_HPP__
24 #define __ENCODER_HPP__
47 template <
typename inputDataType,
typename SDRType>
68 virtual std::shared_ptr<SDRType>
encodeSample(
const std::shared_ptr<inputDataType>& sample_) = 0;
76 virtual std::shared_ptr<inputDataType>
decodeSample(
const std::shared_ptr<SDRType>& sdr_) = 0;
Encoder()
Constructor - empty.
virtual std::shared_ptr< inputDataType > decodeSample(const std::shared_ptr< SDRType > &sdr_)=0
Abstract parent class for all encoders.
virtual std::shared_ptr< SDRType > encodeSample(const std::shared_ptr< inputDataType > &sample_)=0
Method responsible for encoding input sample into SDR.