include
depthai
common
include/depthai/common/UsbSpeed.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <ostream>
4
5
#include "
depthai-shared/common/UsbSpeed.hpp
"
6
7
// Global namespace
8
inline
std::ostream&
operator<<
(std::ostream& out,
const
dai::UsbSpeed
& speed) {
9
switch
(speed) {
10
case
dai::UsbSpeed::UNKNOWN
:
11
out <<
"UNKNOWN"
;
12
break
;
13
case
dai::UsbSpeed::LOW
:
14
out <<
"LOW"
;
15
break
;
16
case
dai::UsbSpeed::FULL
:
17
out <<
"FULL"
;
18
break
;
19
case
dai::UsbSpeed::HIGH
:
20
out <<
"HIGH"
;
21
break
;
22
case
dai::UsbSpeed::SUPER
:
23
out <<
"SUPER"
;
24
break
;
25
case
dai::UsbSpeed::SUPER_PLUS
:
26
out <<
"SUPER_PLUS"
;
27
break
;
28
}
29
return
out;
30
}
dai::UsbSpeed
UsbSpeed
Definition:
shared/depthai-shared/include/depthai-shared/common/UsbSpeed.hpp:12
dai::UsbSpeed::SUPER
@ SUPER
dai::UsbSpeed::LOW
@ LOW
dai::copyable_unique_ptr::operator<<
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &os, const copyable_unique_ptr< T > &cu_ptr)
Definition:
copyable_unique_ptr.hpp:374
dai::UsbSpeed::HIGH
@ HIGH
UsbSpeed.hpp
dai::UsbSpeed::FULL
@ FULL
dai::UsbSpeed::SUPER_PLUS
@ SUPER_PLUS
dai::UsbSpeed::UNKNOWN
@ UNKNOWN
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19