struct P1::CameraSdk::CameraListElement

Overview

Brief description of a camera - without necessarily having to open it. More…

#include <C_P1CameraCommonCameraTypes.h>

struct CameraListElement
{
    // fields

    TetherConnection mConnection = kTetherConnection_Undefined;
    bool mIsOpen = false;

    // methods

    MSVC_ALLOW_PUBLIC_STL(std::string mName);
    MSVC_ALLOW_PUBLIC_STL(std::string mSerialNum);
    MSVC_ALLOW_PUBLIC_STL(std::string mIPv4);
};

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:

Camera::GetAvailableCameras

Fields

TetherConnection mConnection = kTetherConnection_Undefined

The connection type where camera is present

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.

Methods

MSVC_ALLOW_PUBLIC_STL(std::string mName)

Camera display name

MSVC_ALLOW_PUBLIC_STL(std::string mSerialNum)

The cameras serial number

MSVC_ALLOW_PUBLIC_STL(std::string mIPv4)

Camera ‘s IP address, if it is available via TCP/IP