Class NlxParser

Inheritance Relationships

Base Type

  • public IProcessor

Class Documentation

class NlxParser : public IProcessor

Public Functions

NlxParser()
void CreatePorts() override
void CompleteStreamInfo() override
void Prepare(GlobalContext &context) override
void Preprocess(ProcessingContext &context) override
void Process(ProcessingContext &context) override
void Postprocess(ProcessingContext &context) override

Protected Functions

void print_stats(bool condition = true)

Protected Attributes

unsigned int nchannels_
unsigned int sample_counter_
uint64_t valid_packet_counter_
TimePoint first_valid_packet_arrival_time_
uint64_t timestamp_
uint64_t last_timestamp_
nlx::NlxSignalRecord nlxrecord_
nlx::NlxStatistics stats_
std::vector<unsigned int> channel_list_
int64_t n_filling_packets_
PortOut<MultiChannelType<double>> *output_port_signal_
PortOut<MultiChannelType<uint32_t>> *output_port_ttl_
PortIn<VectorType<uint32_t>> *data_in_port_
BroadcasterState<uint64_t> *n_invalid_
options::Value<unsigned int, false> batch_size_ = {2}
options::Measurement<std::uint64_t, false> update_interval_{20, "second", options::multiplied<std::uint64_t>(nlx::NLX_SIGNAL_SAMPLING_FREQUENCY) + options::zeroismax<std::uint64_t>()}
options::Bool triggered_ = {false}
options::Value<uint32_t, false> hardware_trigger_channel_ = {0}
options::Value<GapFill, false> gap_fill_ = {GapFill::ASAP}