struct P1::CameraSdk::CameraListElement
Overview
Brief description of a camera - without necessarily having to open it. More…
#include <P1CameraTypes.hpp> struct CameraListElement { // fields TetherConnection mConnection = kTetherConnection_Undefined; std::string mName; std::string mSerialNum; std::string mIPv4; bool mIsOpen = false; };
Detailed Documentation
Brief description of a camera - without necessarily having to open it.
This class is used by the Camera::GetAvailableCameras method, to return a list of available cameras. You do not have to create instances of this class yourself.
See also:
Fields
TetherConnection mConnection = kTetherConnection_Undefined
The connection type where camera is present
std::string mName
Camera display name
std::string mSerialNum
The cameras serial number
std::string mIPv4
Camera ‘s IP address, if it is available via TCP/IP
bool mIsOpen = false
Bool indicating if the camera is open by the SDK. Note, this is a snapshot of the state when this camera-list-element is created, hence may have changed since.