|
HARDT - The Ham Radio DSP Toolkit
|
#include <hchunkwriter.h>


Public Member Functions | |
| int | Write (T *src, size_t blocksize) |
| virtual int | WriteChunk (T *src, size_t chunksize)=0 |
| HChunkWriter () | |
| HChunkWriter (int chunksize) | |
| int | GetChunksize () |
| virtual bool | Command (HCommand *command)=0 |
Public Member Functions inherited from HWriter< T > | |
| virtual | ~HWriter ()=default |
| virtual bool | Start () |
| virtual bool | Stop () |
| HWriter< T > * | Writer () |
Public Member Functions inherited from HObject | |
| HObject () | |
Takes a block of samples and writes it to the next writer in smaller chunks.
The chunksize must be an integral part of the incomming blocksize. Ex: Write(data, 4096) ==> Write(data, 1024) + Write(data+1024, 1024) + ...
|
inline |
Construct a chunkwriter with chunk size 0 (zero). This will write all blocks straight through without chunking
|
inline |
Construct a chunkwriter with the given chunk size
|
pure virtual |
Receive, handle and propagate command
Returns: True if the command was executed correctly False otherwise. Errors is written to the error log
Implements HWriter< T >.
Implemented in HFftOutput< T >, HSignalLevelOutput< T >, and HGoertzelOutput< T >.
|
inline |
Get the chunk size used by this writer
|
virtual |
Write a block of samples
Implements HWriter< T >.
|
pure virtual |
Write a chunk of samples. This function must be implemented by classes inheriting the HChunkWriter class
Implemented in HOutput< T, O >, HOutput< T, HSignalLevelResult >, HOutput< T, HGoertzelResult >, and HOutput< T, HFftResults >.
1.8.17