class P1::CameraSdk::PreviewImpl

Overview

#include <C_P1CameraPrivStructs.hpp>

class PreviewImpl:
    public P1::CameraSdk::IPreview,
    public P1::CameraSdk::ImageEnumBuffer
{
public:
    // typedefs

    typedef P1::IQP::ImageEnumerationAgent::ImageBuffer const PrivStructType;

    // construction

    PreviewImpl(PrivStructType*const dataStruct);

    // methods

    virtual uint32_t DestinationWidth() const;
    virtual uint32_t DestinationHeight() const;
};

Inherited Members

public:
    // typedefs

    typedef P1::IQP::ImageEnumerationAgent::AssembleStatus const PrivStructTypeCommon;
    typedef P1::IQP::ImageEnumerationAgent::ImageBuffer const PrivStructType;

    // enums

    enum Type;
    enum Errors;

    // methods

    virtual std::shared_ptr<uint8_t const> Data() const = 0;
    virtual size_t DataSizeBytes() const = 0;
    virtual ImageFormat Format() const = 0;
    virtual Type BufferType() const = 0;
    virtual char const* BufferTypeStr() const = 0;
    virtual char const* FormatStr() const = 0;
    virtual uint32_t DestinationWidth() const = 0;
    virtual uint32_t DestinationHeight() const = 0;
    virtual uint32_t ImageId() const = 0;
    virtual bool AnyErrors() const = 0;
    virtual Errors ImageFileErrors() const = 0;
    virtual std::string ErrorsString() const = 0;
    virtual uint32_t ImageId() const;
    virtual bool AnyErrors() const;
    virtual IImageFileCommon::Errors ImageFileErrors() const;
    virtual std::string ErrorsString() const;
    virtual std::shared_ptr<uint8_t const> Data() const;
    virtual size_t DataSizeBytes() const;
    virtual ImageFormat Format() const;
    virtual Type BufferType() const;
    virtual char const* BufferTypeStr() const;
    virtual char const* FormatStr() const;

Detailed Documentation

Methods

virtual uint32_t DestinationWidth() const

Return the buffers width in pixels.

virtual uint32_t DestinationHeight() const

Returns the buffers height in pixels.