mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-12 18:55:36 +02:00
Buffer returns the n slots it has
This commit is contained in:
@@ -76,4 +76,9 @@ shared_ptr<char> MetadataBuffer::get_metadata_values(string name)
|
||||
shared_ptr<unordered_map<string, HeaderDataType>> MetadataBuffer::get_header_values_type()
|
||||
{
|
||||
return header_values_type;
|
||||
}
|
||||
|
||||
uint64_t MetadataBuffer::get_n_images()
|
||||
{
|
||||
return n_images;
|
||||
}
|
||||
@@ -20,6 +20,7 @@ class MetadataBuffer
|
||||
void add_metadata_to_buffer(std::string name, uint64_t frame_index, const char* data);
|
||||
std::shared_ptr<char> get_metadata_values(std::string name);
|
||||
std::shared_ptr<std::unordered_map<std::string, HeaderDataType>> get_header_values_type();
|
||||
uint64_t get_n_images();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user