mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-02 20:14:12 +02:00
Add get path suffixes method to BufferUtils
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define BUFFER_UTILS_HPP
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace BufferUtils
|
||||
{
|
||||
@@ -21,6 +22,16 @@ namespace BufferUtils
|
||||
const std::string& filename_to_write);
|
||||
|
||||
std::string get_latest_file(const std::string& latest_filename);
|
||||
|
||||
struct path_sufix {
|
||||
uint64_t start_pulse_id;
|
||||
uint64_t stop_pulse_id;
|
||||
std::string path;
|
||||
};
|
||||
|
||||
std::vector<path_sufix> BufferUtils::get_path_suffixes(
|
||||
const uint64_t start_pulse_id,
|
||||
const uint64_t stop_pulse_id);
|
||||
}
|
||||
|
||||
#endif //BUFFER_UTILS_HPP
|
||||
|
||||
Reference in New Issue
Block a user