This enum describes the current status of this camera. The enum can have the following values:
More...
#include <Zivid/CameraState.h>
This enum describes the current status of this camera. The enum can have the following values:
inaccessible
: The camera was discovered, but the SDK is not able to connect to this camera. This can be because the IP settings of the camera and the PC are not compatible, or because there are several cameras with the same IP connected to your PC. The InaccessibleReason
enum will give you more details about why this camera is not accessible. The network configuration of the camera can be changed using the ZividNetworkCameraConfigurator CLI tool. See the knowledge base for more information.
busy
: The camera is currently in use by another process. This can be a different process on the same PC, or on a different PC if the camera is shared on a network.
applyingNetworkConfiguration
: The camera network configuration is being changed by the current process.
firmwareUpdateRequired
: The camera is accessible, but requires a firmware update before you can connect to it.
updatingFirmware
: The camera firmware is currently being updated in the current process.
available
: The camera is available for use by the current process. This means that you can invoke camera.connect() on this camera.
connecting
: The camera is currently connecting in the current process.
connected
: The camera is connected in the current process. This means camera.connect() has successfully completed and you can capture using this camera.
disconnecting
: The camera is currently disconnecting in the current process. When disconnection has completed, the camera will normally go back to the available
state.
disappeared
: The camera was found earlier, but it can no longer be found. The connection between the PC and the camera may be disrupted, or the camera may have lost power. When in disappeared
state, the camera will not be returned from Application::cameras()
. The camera will go back to one of the other states if the camera is later found again.
◆ ValueType
The type of the underlying value.
Enumerator |
---|
inaccessible | |
busy | |
applyingNetworkConfiguration | |
firmwareUpdateRequired | |
updatingFirmware | |
available | |
connecting | |
connected | |
disconnecting | |
disappeared | |
◆ Status() [1/2]
Zivid::CameraState::Status::Status |
( |
| ) |
|
|
default |
◆ Status() [2/2]
Zivid::CameraState::Status::Status |
( |
ValueType | value | ) |
|
|
inlineexplicitconstexpr |
◆ operator!=()
bool Zivid::CameraState::Status::operator!= |
( |
const Status & | other | ) |
const |
|
inline |
◆ operator==()
bool Zivid::CameraState::Status::operator== |
( |
const Status & | other | ) |
const |
|
inline |
◆ toString()
std::string Zivid::CameraState::Status::toString |
( |
| ) |
const |
◆ validValues()
static std::set< ValueType > Zivid::CameraState::Status::validValues |
( |
| ) |
|
|
inlinestatic |
◆ value()
ValueType Zivid::CameraState::Status::value |
( |
| ) |
const |
◆ DataModel::Detail::Befriend< Status >
friend struct DataModel::Detail::Befriend< Status > |
|
friend |
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const Status & | value ) |
|
friend |
Operator to serialize the value to a stream.
◆ operator<< [2/2]
Operator to serialize ValueType to a stream.
◆ applyingNetworkConfiguration
const Status Zivid::CameraState::Status::applyingNetworkConfiguration |
|
static |
applyingNetworkConfiguration
◆ available
const Status Zivid::CameraState::Status::available |
|
static |
◆ busy
const Status Zivid::CameraState::Status::busy |
|
static |
◆ connected
const Status Zivid::CameraState::Status::connected |
|
static |
◆ connecting
const Status Zivid::CameraState::Status::connecting |
|
static |
◆ description
const char* Zivid::CameraState::Status::description |
|
staticconstexpr |
The description for this value.
◆ disappeared
const Status Zivid::CameraState::Status::disappeared |
|
static |
◆ disconnecting
const Status Zivid::CameraState::Status::disconnecting |
|
static |
◆ firmwareUpdateRequired
const Status Zivid::CameraState::Status::firmwareUpdateRequired |
|
static |
◆ inaccessible
const Status Zivid::CameraState::Status::inaccessible |
|
static |
◆ name
const char* Zivid::CameraState::Status::name { "Status" } |
|
staticconstexpr |
◆ nodeType
◆ path
const char* Zivid::CameraState::Status::path { "Status" } |
|
staticconstexpr |
The full path for this value.
◆ updatingFirmware
const Status Zivid::CameraState::Status::updatingFirmware |
|
static |
The documentation for this class was generated from the following file: