Squash: into "make use of pcloudDataFdDesc"
This commit is contained in:
@@ -0,0 +1,36 @@
|
|||||||
|
#ifndef LIVOX_GEN1_H
|
||||||
|
#define LIVOX_GEN1_H
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
#include <dlfcn.h>
|
||||||
|
#include <livoxProto1/livoxProto1.h>
|
||||||
|
|
||||||
|
namespace smo {
|
||||||
|
namespace stim_buff {
|
||||||
|
|
||||||
|
// LivoxProto1 library state
|
||||||
|
struct LivoxProto1DllState
|
||||||
|
{
|
||||||
|
LivoxProto1DllState();
|
||||||
|
|
||||||
|
static void DlCloser(void* handle);
|
||||||
|
|
||||||
|
std::unique_ptr<void, void(*)(void*)> dlopenHandle;
|
||||||
|
livoxProto1_mainFn *livoxProto1_main;
|
||||||
|
livoxProto1_exitFn *livoxProto1_exit;
|
||||||
|
livoxProto1_getOrCreateDeviceReqFn *livoxProto1_getOrCreateDeviceReq;
|
||||||
|
livoxProto1_destroyDeviceReqFn *livoxProto1_destroyDeviceReq;
|
||||||
|
livoxProto1_device_enablePcloudDataReqFn
|
||||||
|
*livoxProto1_device_enablePcloudDataReq;
|
||||||
|
livoxProto1_device_disablePcloudDataReqFn
|
||||||
|
*livoxProto1_device_disablePcloudDataReq;
|
||||||
|
livoxProto1_device_getReturnModeReqFn *livoxProto1_device_getReturnModeReq;
|
||||||
|
livoxProto1_getPcloudDataFdDescFn *livoxProto1_getPcloudDataFdDesc;
|
||||||
|
};
|
||||||
|
|
||||||
|
extern LivoxProto1DllState livoxProto1;
|
||||||
|
|
||||||
|
} // namespace stim_buff
|
||||||
|
} // namespace smo
|
||||||
|
|
||||||
|
#endif // LIVOX_GEN1_H
|
||||||
Reference in New Issue
Block a user