Class DeviceGate::USBImpl

Nested Relationships

This class is a nested type of Class DeviceGate.

Inheritance Relationships

Base Type

  • public dai::DeviceGate::GateImpl

Class Documentation

class USBImpl : public dai::DeviceGate::GateImpl

Public Functions

USBImpl(DeviceInfo deviceInfo, int timeout)
~USBImpl() = default
bool isOkay() override
bool createSession(std::string version, bool exclusive, XLinkPlatform_t platform, std::string &sessionId, std::atomic_bool &sessionCreated) override
bool startSession(std::string sessionId) override
bool stopSession(std::string sessionId) override
bool deleteSession(std::string sessionId) override
bool destroySession(std::string sessionId) override
SessionState getState(std::string sessionId) override
Version getVersion() override
VersionInfo getAllVersion() override
std::optional<std::vector<uint8_t>> getFile(const std::string &fileUrl, std::string &filename) override