Fawkes API  Fawkes Development Version
firevision::CameraControlSource Class Referenceabstract

Camera source control interface. More...

#include <>>

Inheritance diagram for firevision::CameraControlSource:

Public Member Functions

virtual ~CameraControlSource ()
 Empty virtual destructor. More...
 
virtual unsigned char source ()=0
 Return the currently selected image source. More...
 
virtual void set_source (unsigned char source)=0
 Set the current image source. More...
 
- Public Member Functions inherited from firevision::CameraControl
virtual ~CameraControl ()
 Virtual empty destructor. More...
 

Detailed Description

Camera source control interface.

Some cameras have multiple image sources; with this control, it is possible to switch between them.

Author
Tobias Kellner

Definition at line 35 of file source.h.

Constructor & Destructor Documentation

◆ ~CameraControlSource()

firevision::CameraControlSource::~CameraControlSource ( )
virtual

Empty virtual destructor.

Definition at line 50 of file source.cpp.

Member Function Documentation

◆ set_source()

void firevision::CameraControlSource::set_source ( unsigned char  source)
pure virtual

Set the current image source.

Parameters
sourceid of the new source

Implemented in firevision::NaoCamera.

◆ source()

unsigned char firevision::CameraControlSource::source ( )
pure virtual

Return the currently selected image source.

Returns
id of the currently selected source

Implemented in firevision::NaoCamera.


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