mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-30 15:12:23 +02:00
Get n_frames from WriterManager
This commit is contained in:
@@ -202,4 +202,9 @@ bool WriterManager::are_all_parameters_set()
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
size_t WriterManager::get_n_frames()
|
||||
{
|
||||
return n_frames;
|
||||
}
|
||||
@@ -53,6 +53,8 @@ class WriterManager
|
||||
void received_frame(size_t frame_index);
|
||||
void written_frame(size_t frame_index);
|
||||
void lost_frame(size_t frame_index);
|
||||
|
||||
size_t get_n_frames();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user