Falcon
Loading...
Searching...
No Matches

Public Member Functions

 FileSource (std::string file, bool cycle)
std::string string () override
int64_t Produce (char **data) override
YAML::Node to_yaml () const override
std::string file () const

Static Public Member Functions

static FileSource * from_yaml (YAML::Node node)

Protected Attributes

std::string file_
bool cycle_
std::ifstream raw_data_file
std::vector< char > buffer_
unsigned int nchannels_
uint16_t buffer_size_
bool convert_byte_order_
Protected Attributes inherited from DataSource
nlx::NlxSignalRecord record_

Member Function Documentation

◆ Produce()

int64_t FileSource::Produce ( char ** data)
overridevirtual

Implements DataSource.

◆ string()

std::string FileSource::string ( )
overridevirtual

Implements DataSource.

◆ to_yaml()

YAML::Node FileSource::to_yaml ( ) const
overridevirtual

Implements DataSource.


The documentation for this class was generated from the following files:
  • extensions/falcon-fklab-extensions/tools/nlxtestbench/filesource.hpp
  • extensions/falcon-fklab-extensions/tools/nlxtestbench/filesource.cpp