30 #include <unordered_map>
35 class SaleaeOutputFile;
43 std::filesystem::path mDir;
45 std::unordered_map<int,SaleaeOutputFile*> mDataFiles;
The SaleaeDirectory class provides the API for the SALEAE directory file. The SALEAE directory file w...
The SaleaeWriter class is a helper class which provides utility methods when importing data to SALEAE...
SaleaeWriter(const std::string &filename)
void add_directory_entry(int inx, const std::string &name, uint32_t id)
Adds directory entry for net/waveform with binary file index inx.
~SaleaeWriter()
Destructor closes all open binary files updating their file header. It also updates SALEAE directory.
SaleaeOutputFile * add_or_replace_waveform(const std::string &name, uint32_t id)
Create new empty output file. Will delete existing binary file if directory links already a data file...