ifw-rtmstools 3.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage Class Reference

DDT Image Class. More...

#include <ddtImage.hpp>

Public Member Functions

 DdtImage (int width, int height, int bpp)
 Constructor.
 
 DdtImage (const DdtImage &)=delete
 
DdtImageoperator= (DdtImage &)=delete
 
virtual ~DdtImage ()
 
int GetWidth ()
 Get image width.
 
int GetHeight ()
 Get image height.
 
int GetBpp ()
 Get image bytes per pixel.
 
int GetSize ()
 Get image size.
 
unsigned char * GetImage ()
 Get a pointer to the image data.
 

Detailed Description

DDT Image Class.

This class is used store the image received through RTMS to be shared with the class that will send it to the DDT.

Constructor & Destructor Documentation

◆ DdtImage() [1/2]

ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::DdtImage ( int width,
int height,
int bpp )

Constructor.

Initialize image memory and main properties.

◆ DdtImage() [2/2]

ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::DdtImage ( const DdtImage & )
delete

◆ ~DdtImage()

ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::~DdtImage ( )
virtual

Member Function Documentation

◆ GetBpp()

int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetBpp ( )

Get image bytes per pixel.

◆ GetHeight()

int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetHeight ( )

Get image height.

◆ GetImage()

unsigned char * ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetImage ( )

Get a pointer to the image data.

The image is stored as an array of bytes.

◆ GetSize()

int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetSize ( )

Get image size.

Size is width * height * bytes per pixel

◆ GetWidth()

int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetWidth ( )

Get image width.

◆ operator=()

DdtImage & ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::operator= ( DdtImage & )
delete

The documentation for this class was generated from the following files: