The end-to-end link speed between the camera and the host computer, defined as the minimum of the camera's link speed and the PC's link speed. The possible link speeds are 10 Mbps, 100 Mbps, 1 Gbps, 2.5 Gbps, 5 Gbps, 10 Gbps, 14 Gbps, 20 Gbps, 25 Gbps, 40 Gbps, 50 Gbps, 56 Gbps, 80 Gbps, 100 Gbps, 200 Gbps, 400 Gbps, 800 Gbps and 1.6 Tbps.
More...
#include <Zivid/CameraHealth.h>
|
| class | Status |
| | Severity of the max transfer speed check. More...
|
| class | Value |
| | Max transfer speed in megabits per second (Mbps). More...
|
|
| | MaxTransferSpeed () |
| | Default constructor.
|
| template<typename... Args> |
| | MaxTransferSpeed (Args &&...args) |
| | Constructor taking variadic number of arguments.
|
| template<typename... Args> |
| void | set (Args &&...args) |
| | Set multiple arguments.
|
| template<typename... Args> |
| MaxTransferSpeed | copyWith (Args &&...args) const |
| | Returns a copy of this object with the given argument(s) set to the new value(s)
|
| const Status & | status () const |
| | Get Status.
|
| Status & | status () |
| | Get Status.
|
| MaxTransferSpeed & | set (const Status &value) |
| | Set Status.
|
| const Value & | value () const |
| | Get Value.
|
| Value & | value () |
| | Get Value.
|
| MaxTransferSpeed & | set (const Value &value) |
| | Set Value.
|
| template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Status >::value, int >::type = 0> |
| const CameraHealth::MaxTransferSpeed::Status & | get () const |
| template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Value >::value, int >::type = 0> |
| const CameraHealth::MaxTransferSpeed::Value & | get () const |
| template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
| const CameraHealth::MaxTransferSpeed::Status & | get () const |
| template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
| const CameraHealth::MaxTransferSpeed::Value & | get () const |
| template<typename F> |
| void | forEach (const F &f) const |
| | Run the given function on each direct member with the value of the member as parameter.
|
| template<typename F> |
| void | forEach (const F &f) |
| | Run the given function on each direct member with the value of the member as parameter.
|
| bool | operator== (const MaxTransferSpeed &other) const |
| | Equality operator.
|
| bool | operator!= (const MaxTransferSpeed &other) const |
| | Inequality operator.
|
| std::string | toString () const |
| | Get the value as string.
|
The end-to-end link speed between the camera and the host computer, defined as the minimum of the camera's link speed and the PC's link speed. The possible link speeds are 10 Mbps, 100 Mbps, 1 Gbps, 2.5 Gbps, 5 Gbps, 10 Gbps, 14 Gbps, 20 Gbps, 25 Gbps, 40 Gbps, 50 Gbps, 56 Gbps, 80 Gbps, 100 Gbps, 200 Gbps, 400 Gbps, 800 Gbps and 1.6 Tbps.
- OK: Max transfer speed > 1 Gbps
- Suboptimal: Max transfer speed = 1 Gbps
- Error: Max transfer speed < 1 Gbps
- Unknown: Max transfer speed could not be determined
◆ Descendants
Initial value:
std::tuple<CameraHealth::MaxTransferSpeed::Status, CameraHealth::MaxTransferSpeed::Value>
◆ MaxTransferSpeed() [1/2]
| Zivid::CameraHealth::MaxTransferSpeed::MaxTransferSpeed |
( |
| ) |
|
◆ MaxTransferSpeed() [2/2]
template<typename... Args>
| Zivid::CameraHealth::MaxTransferSpeed::MaxTransferSpeed |
( |
Args &&... | args | ) |
|
|
inlineexplicit |
Constructor taking variadic number of arguments.
One or more descendant types can be provided. All types not provided will be set to their default value. The result is the same as default constructing MaxTransferSpeed then invoking set(args).
The provided arguments must be descendants of MaxTransferSpeed. These types can be provided:
◆ copyWith()
template<typename... Args>
| MaxTransferSpeed Zivid::CameraHealth::MaxTransferSpeed::copyWith |
( |
Args &&... | args | ) |
const |
|
inline |
Returns a copy of this object with the given argument(s) set to the new value(s)
Creates a copy of this MaxTransferSpeed object, then invokes set(args) on the copy, and finally returns the copy. This method does not modify the original object.
The provided arguments must be descendants of MaxTransferSpeed. These types can be provided:
◆ forEach() [1/2]
template<typename F>
| void Zivid::CameraHealth::MaxTransferSpeed::forEach |
( |
const F & | f | ) |
|
|
inline |
Run the given function on each direct member with the value of the member as parameter.
◆ forEach() [2/2]
template<typename F>
| void Zivid::CameraHealth::MaxTransferSpeed::forEach |
( |
const F & | f | ) |
const |
|
inline |
Run the given function on each direct member with the value of the member as parameter.
◆ get() [1/4]
◆ get() [2/4]
◆ get() [3/4]
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
◆ get() [4/4]
template<size_t i, typename std::enable_if< i==1, int >::type = 0>
◆ operator!=()
| bool Zivid::CameraHealth::MaxTransferSpeed::operator!= |
( |
const MaxTransferSpeed & | other | ) |
const |
◆ operator==()
| bool Zivid::CameraHealth::MaxTransferSpeed::operator== |
( |
const MaxTransferSpeed & | other | ) |
const |
◆ set() [1/3]
template<typename... Args>
| void Zivid::CameraHealth::MaxTransferSpeed::set |
( |
Args &&... | args | ) |
|
|
inline |
Set multiple arguments.
The method invokes set(arg) with each of the provided arguments.
The provided arguments must be descendants of MaxTransferSpeed. These types can be provided:
◆ set() [2/3]
◆ set() [3/3]
◆ status() [1/2]
| Status & Zivid::CameraHealth::MaxTransferSpeed::status |
( |
| ) |
|
|
inline |
◆ status() [2/2]
| const Status & Zivid::CameraHealth::MaxTransferSpeed::status |
( |
| ) |
const |
|
inline |
◆ toString()
| std::string Zivid::CameraHealth::MaxTransferSpeed::toString |
( |
| ) |
const |
◆ value() [1/2]
| Value & Zivid::CameraHealth::MaxTransferSpeed::value |
( |
| ) |
|
|
inline |
◆ value() [2/2]
| const Value & Zivid::CameraHealth::MaxTransferSpeed::value |
( |
| ) |
const |
|
inline |
◆ DataModel::Detail::Befriend< MaxTransferSpeed >
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const MaxTransferSpeed & | value ) |
|
friend |
Operator to send the value as string to a stream.
◆ description
| const char* Zivid::CameraHealth::MaxTransferSpeed::description |
|
staticconstexpr |
Initial value:{
R"description(The end-to-end link speed between the camera and the host
computer, defined as the minimum of the camera's link speed
and the PC's link speed. The possible link speeds are 10 Mbps,
100 Mbps, 1 Gbps, 2.5 Gbps, 5 Gbps, 10 Gbps, 14 Gbps, 20 Gbps,
25 Gbps, 40 Gbps, 50 Gbps, 56 Gbps, 80 Gbps, 100 Gbps, 200 Gbps,
400 Gbps, 800 Gbps and 1.6 Tbps.
- OK: Max transfer speed > 1 Gbps
- Suboptimal: Max transfer speed = 1 Gbps
- Error: Max transfer speed < 1 Gbps
- Unknown: Max transfer speed could not be determined
)description"
}
The description for this value.
◆ name
| const char* Zivid::CameraHealth::MaxTransferSpeed::name { "MaxTransferSpeed" } |
|
staticconstexpr |
◆ nodeType
◆ path
| const char* Zivid::CameraHealth::MaxTransferSpeed::path { "MaxTransferSpeed" } |
|
staticconstexpr |
The full path for this value.
The documentation for this class was generated from the following file: