Move SequenceLock into libspinscale
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
#include <string>
|
||||
#include <new>
|
||||
#include <memory>
|
||||
#include <spinscale/sequenceLock.h>
|
||||
#include <user/stimulusFrame.h>
|
||||
#include <user/frameAssemblyDesc.h>
|
||||
#include <user/sequenceLock.h>
|
||||
#include <user/senseApiDesc.h>
|
||||
#define CL_TARGET_OPENCL_VERSION 120
|
||||
#include <CL/cl.h>
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
return slots[slotIndex];
|
||||
}
|
||||
|
||||
SequenceLock& getSequenceLockAtSlot(size_t slotIndex)
|
||||
sscl::SequenceLock& getSequenceLockAtSlot(size_t slotIndex)
|
||||
{
|
||||
if (slotIndex >= nBuffers)
|
||||
{
|
||||
@@ -146,7 +146,7 @@ private:
|
||||
std::shared_ptr<FrameAssemblyDesc> frameAssemblyDesc;
|
||||
// Frames vector: each frame contains a sequence lock and SlotDesc
|
||||
std::vector<StimulusFrame> slots;
|
||||
SequenceLock producerNextUsableIndexLock;
|
||||
sscl::SequenceLock producerNextUsableIndexLock;
|
||||
size_t producerNextUsableIndex;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user