Class DeviceGate

Nested Relationships

Nested Types

Class Documentation

class DeviceGate

Represents the DepthAI Gate with the methods to interact with it.

Public Types

enum class SessionState

Values:

enumerator NOT_CREATED
enumerator CREATED
enumerator RUNNING
enumerator STOPPED
enumerator STOPPING
enumerator CRASHED
enumerator DESTROYED
enumerator ERROR_STATE

Public Functions

DeviceGate(const DeviceInfo &deviceInfo)

Connects to DepthAI Gate

Parameters:

deviceInfoDevice to connect to

~DeviceGate()
bool isOkay()
bool createSession(bool exclusive = true)
bool startSession()
bool stopSession()
bool deleteSession()
bool destroySession()
SessionState getState()
std::optional<CrashDump> waitForSessionEnd()
std::optional<CrashDump> getCrashDump()
Version getVersion()
VersionInfo getAllVersion()
bool isBootedNonExclusive()
struct CrashDump

Public Members

std::vector<uint8_t> data
std::string filename
struct VersionInfo

Public Members

std::string gate
std::string os