Configure the camera's hostname. If unset, the camera will use the default hostname based on the serial number: zivid-<serial>. Note that fetchNetworkConfig will not return the default hostname in this field. If the camera is using the default hostname, then this field will be unset. Use CameraState/Network/Hostname instead, which returns the camera's current hostname.
More...
#include <Zivid/NetworkConfiguration.h>
|
| using | ValueType = std::string |
| | The type of the underlying value.
|
Configure the camera's hostname. If unset, the camera will use the default hostname based on the serial number: zivid-<serial>. Note that fetchNetworkConfig will not return the default hostname in this field. If the camera is using the default hostname, then this field will be unset. Use CameraState/Network/Hostname instead, which returns the camera's current hostname.
Must be 1 to 15 characters long, can only consist of a-z, A-Z, 0-9 and hyphen (-), and cannot start with hyphen (-).
◆ ValueType
The type of the underlying value.
◆ Hostname() [1/2]
| Zivid::NetworkConfiguration::Hostname::Hostname |
( |
| ) |
|
|
default |
◆ Hostname() [2/2]
| Zivid::NetworkConfiguration::Hostname::Hostname |
( |
std::string | value | ) |
|
|
inlineexplicit |
◆ hasValue()
| bool Zivid::NetworkConfiguration::Hostname::hasValue |
( |
| ) |
const |
Check if the value is set.
◆ operator!=()
| bool Zivid::NetworkConfiguration::Hostname::operator!= |
( |
const Hostname & | other | ) |
const |
|
inline |
◆ operator<()
| bool Zivid::NetworkConfiguration::Hostname::operator< |
( |
const Hostname & | other | ) |
const |
|
inline |
◆ operator<=()
| bool Zivid::NetworkConfiguration::Hostname::operator<= |
( |
const Hostname & | other | ) |
const |
|
inline |
◆ operator==()
| bool Zivid::NetworkConfiguration::Hostname::operator== |
( |
const Hostname & | other | ) |
const |
|
inline |
◆ operator>()
| bool Zivid::NetworkConfiguration::Hostname::operator> |
( |
const Hostname & | other | ) |
const |
|
inline |
◆ operator>=()
| bool Zivid::NetworkConfiguration::Hostname::operator>= |
( |
const Hostname & | other | ) |
const |
|
inline |
◆ reset()
| void Zivid::NetworkConfiguration::Hostname::reset |
( |
| ) |
|
Reset the node to unset state.
◆ toString()
| std::string Zivid::NetworkConfiguration::Hostname::toString |
( |
| ) |
const |
◆ value()
| const std::string & Zivid::NetworkConfiguration::Hostname::value |
( |
| ) |
const |
Get the value.
If this object does not contain a value (see hasValue) then this method throws an exception.
◆ DataModel::Detail::Befriend< Hostname >
| friend struct DataModel::Detail::Befriend< Hostname > |
|
friend |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const Hostname & | value ) |
|
friend |
Operator to serialize the value to a stream.
◆ description
| const char* Zivid::NetworkConfiguration::Hostname::description |
|
staticconstexpr |
Initial value:{
R"description(Configure the camera's hostname. If unset, the camera will use the default hostname based on the serial
number: `zivid-<serial>`. Note that `fetchNetworkConfig` will not return the default hostname in this field.
If the camera is using the default hostname, then this field will be unset. Use
`CameraState/Network/Hostname` instead, which returns the camera's current hostname.
Must be 1 to 15 characters long, can only consist of a-z, A-Z, 0-9 and hyphen (-), and cannot start with
hyphen (-).
)description"
}
The description for this value.
◆ name
| const char* Zivid::NetworkConfiguration::Hostname::name { "Hostname" } |
|
staticconstexpr |
◆ nodeType
◆ path
| const char* Zivid::NetworkConfiguration::Hostname::path { "Hostname" } |
|
staticconstexpr |
The full path for this value.
The documentation for this class was generated from the following file: