Move StagingBuffer+FrameAssemblyDesc into libattachmentSupport
This is in preparation for using StagingBuffer to implement StimulusFrame and StimulusBuffer.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
add_library(attachmentSupport SHARED
|
add_library(attachmentSupport SHARED
|
||||||
stimulusProducer.cpp
|
stimulusProducer.cpp
|
||||||
|
stagingBuffer.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(attachmentSupport PUBLIC
|
target_include_directories(attachmentSupport PUBLIC
|
||||||
|
|||||||
+3
-1
@@ -1,10 +1,12 @@
|
|||||||
#include "stagingBuffer.h"
|
#include <user/stagingBuffer.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <user/frameAssemblyDesc.h>
|
||||||
|
|
||||||
namespace smo {
|
namespace smo {
|
||||||
namespace stim_buff {
|
namespace stim_buff {
|
||||||
|
|
||||||
@@ -62,4 +62,3 @@ public:
|
|||||||
|
|
||||||
#endif // _LIVOX_GEN1_FRAME_ASSEMBLY_DESC_H
|
#endif // _LIVOX_GEN1_FRAME_ASSEMBLY_DESC_H
|
||||||
|
|
||||||
|
|
||||||
@@ -9,11 +9,12 @@
|
|||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
|
||||||
#include "frameAssemblyDesc.h"
|
|
||||||
|
|
||||||
namespace smo {
|
namespace smo {
|
||||||
namespace stim_buff {
|
namespace stim_buff {
|
||||||
|
|
||||||
|
// Forward declaration
|
||||||
|
class FrameAssemblyDesc;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* StagingBuffer manages a large buffer to guide io_uring in assembling some
|
* StagingBuffer manages a large buffer to guide io_uring in assembling some
|
||||||
* number of Livox Avia pcloud UDP dgrams into a single stim frame.
|
* number of Livox Avia pcloud UDP dgrams into a single stim frame.
|
||||||
@@ -58,7 +58,6 @@ if(ENABLE_STIMBUFFAPI_livoxGen1)
|
|||||||
|
|
||||||
add_library(livoxGen1 SHARED
|
add_library(livoxGen1 SHARED
|
||||||
livoxGen1.cpp
|
livoxGen1.cpp
|
||||||
stagingBuffer.cpp
|
|
||||||
pcloudStimulusProducer.cpp
|
pcloudStimulusProducer.cpp
|
||||||
ioUringAssemblyEngine.cpp
|
ioUringAssemblyEngine.cpp
|
||||||
openClCollatingAndMeshingEngine.cpp
|
openClCollatingAndMeshingEngine.cpp
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#include <asynchronousLoop.h>
|
#include <asynchronousLoop.h>
|
||||||
#include <callback.h>
|
#include <callback.h>
|
||||||
#include <spinLock.h>
|
#include <spinLock.h>
|
||||||
#include "frameAssemblyDesc.h"
|
#include <user/frameAssemblyDesc.h>
|
||||||
|
|
||||||
namespace smo {
|
namespace smo {
|
||||||
namespace stim_buff {
|
namespace stim_buff {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "openClCollatingAndMeshingEngine.h"
|
#include "openClCollatingAndMeshingEngine.h"
|
||||||
#include "pcloudStimulusProducer.h"
|
#include "pcloudStimulusProducer.h"
|
||||||
#include "openClKernels.h"
|
#include "openClKernels.h"
|
||||||
#include "frameAssemblyDesc.h"
|
#include <user/frameAssemblyDesc.h>
|
||||||
#include "ioUringAssemblyEngine.h"
|
#include "ioUringAssemblyEngine.h"
|
||||||
|
|
||||||
namespace smo {
|
namespace smo {
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
#include <callback.h>
|
#include <callback.h>
|
||||||
#include <spinLock.h>
|
#include <spinLock.h>
|
||||||
#include <user/stimulusFrame.h>
|
#include <user/stimulusFrame.h>
|
||||||
#include "stagingBuffer.h"
|
#include <user/stagingBuffer.h>
|
||||||
#include "frameAssemblyDesc.h"
|
#include <user/frameAssemblyDesc.h>
|
||||||
|
|
||||||
namespace smo {
|
namespace smo {
|
||||||
namespace stim_buff {
|
namespace stim_buff {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <asynchronousLoop.h>
|
#include <asynchronousLoop.h>
|
||||||
#include <user/stimulusFrame.h>
|
#include <user/stimulusFrame.h>
|
||||||
#include "pcloudStimulusProducer.h"
|
#include "pcloudStimulusProducer.h"
|
||||||
#include "frameAssemblyDesc.h"
|
#include <user/frameAssemblyDesc.h>
|
||||||
|
|
||||||
namespace smo {
|
namespace smo {
|
||||||
namespace stim_buff {
|
namespace stim_buff {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <livoxProto1/device.h>
|
#include <livoxProto1/device.h>
|
||||||
#include <asynchronousContinuation.h>
|
#include <asynchronousContinuation.h>
|
||||||
#include <callback.h>
|
#include <callback.h>
|
||||||
#include "stagingBuffer.h"
|
#include <user/stagingBuffer.h>
|
||||||
#include "ioUringAssemblyEngine.h"
|
#include "ioUringAssemblyEngine.h"
|
||||||
#include "openClCollatingAndMeshingEngine.h"
|
#include "openClCollatingAndMeshingEngine.h"
|
||||||
#include "pcloudXyzStimulusBuffer.h"
|
#include "pcloudXyzStimulusBuffer.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user