.. index:: pair: class; P1::CameraSdk::ImageEnumBuffer .. _doxid-class_p1_1_1_camera_sdk_1_1_image_enum_buffer: class P1::CameraSdk::ImageEnumBuffer ==================================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ImageEnumBuffer: public :ref:`P1::CameraSdk::IImageBuffer`, public :ref:`P1::CameraSdk::ImageFileCommonImpl` { public: // typedefs typedef P1::IQP::ImageEnumerationAgent::ImageBuffer const :target:`PrivStructType`; // construction :target:`ImageEnumBuffer`(:ref:`PrivStructType`*const dataStruct); // methods virtual std::shared_ptr :ref:`Data`() const; virtual size_t :ref:`DataSizeBytes`() const; virtual :ref:`ImageFormat` :ref:`Format`() const; virtual :ref:`Type` :ref:`BufferType`() const; virtual char const* :ref:`BufferTypeStr`() const; virtual char const* :ref:`FormatStr`() const; }; // direct descendants class :ref:`PreviewImpl`; class :ref:`TileImpl`; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // typedefs typedef P1::IQP::ImageEnumerationAgent::AssembleStatus const :ref:`PrivStructTypeCommon`; // enums enum :ref:`Type`; enum :ref:`Errors`; // methods virtual std::shared_ptr :ref:`Data`() const = 0; virtual size_t :ref:`DataSizeBytes`() const = 0; virtual :ref:`ImageFormat` :ref:`Format`() const = 0; virtual :ref:`Type` :ref:`BufferType`() const = 0; virtual char const* :ref:`BufferTypeStr`() const = 0; virtual char const* :ref:`FormatStr`() const = 0; virtual uint32_t :ref:`ImageId`() const = 0; virtual bool :ref:`AnyErrors`() const = 0; virtual :ref:`Errors` :ref:`ImageFileErrors`() const = 0; virtual std::string :ref:`ErrorsString`() const = 0; virtual uint32_t :ref:`ImageId`() const; virtual bool :ref:`AnyErrors`() const; virtual :ref:`IImageFileCommon::Errors` :ref:`ImageFileErrors`() const; virtual std::string :ref:`ErrorsString`() const; .. _details-class_p1_1_1_camera_sdk_1_1_image_enum_buffer: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; Data .. _doxid-class_p1_1_1_camera_sdk_1_1_image_enum_buffer_1a9f8b14443c243c5a9f61d5b13fc5a389: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::shared_ptr Data() const Returns a pointer to the pixel buffer data. .. index:: pair: function; DataSizeBytes .. _doxid-class_p1_1_1_camera_sdk_1_1_image_enum_buffer_1a8ef8d358e6b541eabc2d1af66d172bcd: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual size_t DataSizeBytes() const Returns the size of the pixel buffer in bytes. .. index:: pair: function; Format .. _doxid-class_p1_1_1_camera_sdk_1_1_image_enum_buffer_1a1919186c5f924db23cdfd40a360dd8ff: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`ImageFormat` Format() const Returns the image encoding type of this buffer (bitmap, jpeg) .. index:: pair: function; BufferType .. _doxid-class_p1_1_1_camera_sdk_1_1_image_enum_buffer_1aa0142a65d131c8bb0e7127e34ec1e50e: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`Type` BufferType() const Returns the type kind of this buffer, (preview or tile) .. index:: pair: function; BufferTypeStr .. _doxid-class_p1_1_1_camera_sdk_1_1_image_enum_buffer_1a5c95b69497b9de3713d60a3ff807c489: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual char const* BufferTypeStr() const Returns a string of the type kind of this buffer, (preview or tile) .. index:: pair: function; FormatStr .. _doxid-class_p1_1_1_camera_sdk_1_1_image_enum_buffer_1ac2c929290a66a25a82b63d0726567d08: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual char const* FormatStr() const Returns a string of the type kind of this buffer, (RGB, JPEG, etc.)