Agora
1.2.0
Agora project
|
Go to the documentation of this file.
5 #ifndef AGORA_RECORDER_WORKER_H_
6 #define AGORA_RECORDER_WORKER_H_
22 [[maybe_unused]]
size_t antenna_offset,
23 [[maybe_unused]]
size_t num_antennas,
24 [[maybe_unused]]
size_t record_interval,
25 [[maybe_unused]]
Direction rx_direction) {}
28 virtual void Init() = 0;
36 static std::unique_ptr<RecorderWorker>
Create(
38 size_t num_antennas,
size_t record_interval,
Direction rx_direction);
virtual size_t NumAntennas() const
Definition: recorder_worker.h:32
Definition: recorder_worker.h:18
Direction
Definition: symbols.h:39
Recorder worker interface factory.
Definition: hdf5_lib.cc:17
Recorder worker to write to multiple bin files per rx symbol.
RecorderWorkerTypes
Definition: recorder_worker.h:20
Self defined functions for message storage and passing.
virtual int Record(const Packet *pkg)=0
virtual void Finalize()=0
virtual ~RecorderWorker()=default
Definition: message.h:164
RecorderWorker([[maybe_unused]] const Config *in_cfg, [[maybe_unused]] size_t antenna_offset, [[maybe_unused]] size_t num_antennas, [[maybe_unused]] size_t record_interval, [[maybe_unused]] Direction rx_direction)
Definition: recorder_worker.h:21
static const std::string kOutputFilePath
Definition: recorder_worker.h:16
virtual size_t AntennaOffset() const
Definition: recorder_worker.h:33
@ kRecorderWorkerMultiFile
Definition: recorder_worker.h:20
@ kRecorderWorkerHdf5
Definition: recorder_worker.h:20
Declaration file for the configuration class which importants json configuration values into class va...
static std::unique_ptr< RecorderWorker > Create(RecorderWorkerTypes type, const Config *in_cfg, size_t antenna_offset, size_t num_antennas, size_t record_interval, Direction rx_direction)
Factory function to make concrete worker.
Definition: recorder_worker.cc:14
type
Definition: core.h:1131