rec::robotino::api2 C++ interface
Public Member Functions | Public Attributes | List of all members
rec::robotino::api2::CameraFormat Class Reference

Camera format description. More...

#include <CameraFormat.h>

Public Member Functions

 CameraFormat ()
 
 CameraFormat (unsigned int width_, unsigned int height_, const char *name)
 
 CameraFormat (const CameraFormat &other)
 
virtual ~CameraFormat ()
 
CameraFormatoperator= (const CameraFormat &other)
 
void setName (const char *str)
 
const char * name () const
 

Public Attributes

unsigned int width
 
unsigned int height
 

Detailed Description

Camera format description.

Constructor & Destructor Documentation

rec::robotino::api2::CameraFormat::CameraFormat ( )
inline

Constructs a camera format description with empty name and size 0.

rec::robotino::api2::CameraFormat::CameraFormat ( unsigned int  width_,
unsigned int  height_,
const char *  name 
)
inline

Constructs a camera format description.

Parameters
width_Image width.
height_Image height.
nameDescription name.

References setName().

rec::robotino::api2::CameraFormat::CameraFormat ( const CameraFormat other)
inline

Copys an existing camera format description.

Parameters
otherExisting description to copy.

References setName().

virtual rec::robotino::api2::CameraFormat::~CameraFormat ( )
inlinevirtual

Destructor.

Member Function Documentation

const char* rec::robotino::api2::CameraFormat::name ( ) const
inline

Read the format name

Returns
Format name
CameraFormat& rec::robotino::api2::CameraFormat::operator= ( const CameraFormat other)
inline

Copys an existing camera format description.

Parameters
otherExisting description to copy.

References height, setName(), and width.

void rec::robotino::api2::CameraFormat::setName ( const char *  str)
inline

Set the format name

Parameters
strThe name like "mjpeg", "yuyv" ...

Referenced by CameraFormat(), and operator=().

Member Data Documentation

unsigned int rec::robotino::api2::CameraFormat::height

Image height in pixel

Referenced by operator=().

unsigned int rec::robotino::api2::CameraFormat::width

Image width in pixel

Referenced by operator=().


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