00001 00002 /*************************************************************************** 00003 * source.cpp - Abstract class defining a camera source controller 00004 * 00005 * Created: Mon Jun 29 15:47:11 2009 00006 * Copyright 2009 Tobias Kellner 00007 * 2005-2009 Tim Niemueller [www.niemueller.de] 00008 * 00009 ****************************************************************************/ 00010 00011 /* This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version. A runtime exception applies to 00015 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU Library General Public License for more details. 00021 * 00022 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00023 */ 00024 00025 #include <cams/control/source.h> 00026 00027 namespace firevision { 00028 #if 0 /* just to make Emacs auto-indent happy */ 00029 } 00030 #endif 00031 00032 /** @class CameraControlSource <cams/control/source.h> 00033 * Camera source control interface. 00034 * Some cameras have multiple image sources; with this control, it is 00035 * possible to switch between them. 00036 * 00037 * @author Tobias Kellner 00038 * 00039 * 00040 * @fn unsigned char CameraControlSource::source() = 0 00041 * Return the currently selected image source. 00042 * @return id of the currently selected source 00043 * 00044 * @fn void CameraControlSource::set_source(unsigned char source) = 0 00045 * Set the current image source. 00046 * @param source id of the new source 00047 */ 00048 00049 /** Empty virtual destructor. */ 00050 CameraControlSource::~CameraControlSource() 00051 { 00052 } 00053 00054 } // end namespace firevision