RTC Toolkit 5.0.0
|
RTC toolkit MUDPI publisher component business logic declaration. More...
#include <cstdint>
#include <map>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
std::map< std::string, std::vector< std::vector< uint8_t > > > | ExtractDataFromFile (const std::string &filename) |
User Function that reads data from input file and returns big data structure. | |
RTC toolkit MUDPI publisher component business logic declaration.
std::map< std::string, std::vector< std::vector< uint8_t > > > ExtractDataFromFile | ( | const std::string & | filename | ) |
User Function that reads data from input file and returns big data structure.
This function is only invoked once during Initialisation and returns a data structure that is a map with a key for each named publisher object / topic the map value is a vector of samples and each sample is a vector of bytes
If the map does not contain a key for a certain publisher object, the default behaviour is that the specific publisher object falls back to pattern generation mode.
[in] | filename | pathname of the file to read, can also be used as a generic discriminator. |