Files
salmanoff/stimBuffApis/livoxGen1/livoxGen1Proto1CpsBridge.h
T

40 lines
1.3 KiB
C++
Raw Normal View History

2026-05-28 15:17:50 -04:00
#ifndef LIVOX_GEN1_PROTO1_CPS_BRIDGE_H
#define LIVOX_GEN1_PROTO1_CPS_BRIDGE_H
#include <memory>
#include <adapters/smo/livoxProto1CpsAwaiters.h>
#include <spinscale/co/invokers.h>
#include <spinscale/componentThread.h>
#include "livoxGen1Internal.h"
namespace smo::stim_buff {
sscl::co::ViralNonPostingInvoker<adapters::smo::GetOrCreateDeviceResult>
coAwaitGetOrCreateDevice(
const std::shared_ptr<sscl::ComponentThread> &componentThread,
const std::string &deviceIdentifier,
const LivoxProviderParams &params);
sscl::co::ViralNonPostingInvoker<adapters::smo::GetReturnModeResult>
coAwaitGetReturnMode(
const std::shared_ptr<sscl::ComponentThread> &componentThread,
const std::shared_ptr<livoxProto1::Device> &device);
sscl::co::ViralNonPostingInvoker<bool> coAwaitEnablePcloudData(
const std::shared_ptr<sscl::ComponentThread> &componentThread,
const std::shared_ptr<livoxProto1::Device> &device);
sscl::co::ViralNonPostingInvoker<bool> coAwaitDisablePcloudData(
const std::shared_ptr<sscl::ComponentThread> &componentThread,
const std::shared_ptr<livoxProto1::Device> &device);
sscl::co::ViralNonPostingInvoker<bool> coAwaitDestroyDevice(
const std::shared_ptr<sscl::ComponentThread> &componentThread,
const std::shared_ptr<livoxProto1::Device> &device);
} // namespace smo::stim_buff
#endif // LIVOX_GEN1_PROTO1_CPS_BRIDGE_H