37 #ifndef LibMultiSense_MultiSenseChannel_hh 38 #define LibMultiSense_MultiSenseChannel_hh 47 namespace multisense {
83 static Channel* Create(
const std::string& sensorAddress);
93 static void Destroy(
Channel *instanceP);
108 static const char *statusString(
Status status);
152 void *userDataP=NULL) = 0;
179 void *userDataP=NULL) = 0;
205 void *userDataP=NULL) = 0;
233 void *userDataP=NULL) = 0;
302 virtual void *reserveCallbackBuffer() = 0;
316 virtual Status releaseCallbackBuffer(
void *referenceP) = 0;
339 virtual Status networkTimeSynchronization(
bool enabled) = 0;
361 virtual Status ptpTimeSynchronization(
bool enabled) = 0;
459 virtual Status startDirectedStreams(
const std::vector<DirectedStream>& streams) = 0;
482 virtual Status getDirectedStreams (std::vector<DirectedStream>& streams) = 0;
496 virtual Status maxDirectedStreams (uint32_t& maximum) = 0;
526 virtual Status setMotorSpeed (
float rpm) = 0;
756 virtual Status getPtpStatus(int64_t frameId,
772 virtual Status getDeviceModes (std::vector<system::DeviceMode>& m) = 0;
789 virtual Status getMtu (int32_t& mtu) = 0;
803 virtual Status getMotorPos (int32_t& mtu) = 0;
814 virtual Status setMtu (int32_t mtu) = 0;
870 virtual Status setDeviceInfo (
const std::string& key,
917 virtual Status flashBitstream (
const std::string& file) = 0;
932 virtual Status flashFirmware (
const std::string& file) = 0;
944 virtual Status verifyBitstream (
const std::string& file) = 0;
956 virtual Status verifyFirmware (
const std::string& file) = 0;
996 virtual Status getImuInfo (uint32_t& maxSamplesPerMesage,
997 std::vector<imu::Info>& info) = 0;
1015 virtual Status getImuConfig (uint32_t& samplesPerMessage,
1016 std::vector<imu::Config>& c) = 0;
1038 virtual Status setImuConfig (
bool storeSettingsInFlash,
1039 uint32_t samplesPerMessage,
1040 const std::vector<imu::Config>& c) = 0;
1059 virtual Status getLargeBufferDetails(uint32_t& bufferCount,
1060 uint32_t& bufferSize) = 0;
1081 virtual Status setLargeBuffers (
const std::vector<uint8_t*>& buffers,
1082 uint32_t bufferSize) = 0;
1093 virtual Status getLocalUdpPort(uint16_t& port) = 0;
1100 #endif // LibMultiSense_MultiSenseChannel_hh
void(* Callback)(const Header &header, void *userDataP)
std::string * frameId(M &m)
void(* Callback)(const Header &header, void *userDataP)
void(* Callback)(const Header &header, void *userDataP)
void(* Callback)(const Header &header, void *userDataP)