class P1::CameraSdk::FullImageImpl

Overview

#include <C_P1CameraPrivStructs.hpp>

class FullImageImpl: public P1::CameraSdk::IFullImage
{
public:
    // typedefs

    typedef P1::IQP::ImageReceivePackage const PrivStructType;

    // construction

    FullImageImpl(PrivStructType*const dataStruct);

    // methods

    virtual std::string FileName() 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;
};

Inherited Members

public:
    // enums

    enum Type;

    // 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 std::string FileName() const = 0;

Detailed Documentation

Methods

virtual std::shared_ptr<uint8_t const> Data() const

Returns a pointer to the pixel buffer data.

virtual size_t DataSizeBytes() const

Returns the size of the pixel buffer in bytes.

virtual ImageFormat Format() const

Returns the image encoding type of this buffer (bitmap, jpeg)

virtual Type BufferType() const

Returns the type of this buffer.

virtual char const* BufferTypeStr() const

Returns a string of the type this buffer.

virtual char const* FormatStr() const

Returns a string of the type kind of this buffer, (RGB, JPEG, etc.)