CameraControlSource Class Reference

Camera source control interface. More...

#include <cams/control/source.h>

Inheritance diagram for CameraControlSource:

List of all members.


Public Member Functions

virtual ~CameraControlSource ()
 Empty virtual destructor.
virtual unsigned char source ()=0
 Return the currently selected image source.
virtual void set_source (unsigned char source)=0
 Set the current image source.

Detailed Description

Camera source control interface.

Some cameras have multiple image sources; with this control, it is possible to switch between them. In general methods might throw an NotImplementedException if a particular method if not available.

Author:
Tobias Kellner

Definition at line 30 of file source.h.


Constructor & Destructor Documentation

CameraControlSource::~CameraControlSource (  )  [virtual]

Empty virtual destructor.

Definition at line 47 of file source.cpp.


Member Function Documentation

void CameraControlSource::set_source ( unsigned char  source  )  [pure virtual]

Set the current image source.

Parameters:
source id of the new source

unsigned char CameraControlSource::source (  )  [pure virtual]

Return the currently selected image source.

Returns:
id of the currently selected source


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