mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
adding namespace sls to public receiver api
This commit is contained in:
@ -11,6 +11,8 @@
|
||||
#include <semaphore.h>
|
||||
#include <vector>
|
||||
|
||||
namespace sls{
|
||||
|
||||
/** Circular Fifo (a.k.a. Circular Buffer)
|
||||
* Thread safe for one reader, and one writer */
|
||||
template <typename Element> class CircularFifo {
|
||||
@ -127,3 +129,5 @@ size_t CircularFifo<Element>::increment(size_t i) const {
|
||||
i = (i + 1) % capacity;
|
||||
return i;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user