bool & output) const;
// Widgets
- void reloadConfig() throw (GPhoto2Exception);
+ void reloadConfig();
CameraWidget * getWidget(int widgetId) const;
CameraWidget * findWidgetByName(const char * name) const;
// Loading
- void readFrameFromFile(CameraFile * file, OutputArray outputFrame) throw (GPhoto2Exception);
+ void readFrameFromFile(CameraFile * file, OutputArray outputFrame);
// Context feedback
friend void ctxErrorFunc(GPContext *, const char *, void *);
// Widgets
int noOfWidgets;
- int widgetDescription(std::ostream &os, CameraWidget * widget) const
- throw (GPhoto2Exception);
- int collectWidgets(std::ostream &os, CameraWidget * widget)
- throw (GPhoto2Exception);
+ int widgetDescription(std::ostream &os, CameraWidget * widget) const;
+ int collectWidgets(std::ostream &os, CameraWidget * widget);
// Messages / debug
mutable std::ostringstream msgsBuffer; // CV_CAP_PROP_GPHOTO2_FLUSH_MSGS
/**
* Load device settings.
*/
-void DigitalCameraCapture::reloadConfig() throw (GPhoto2Exception)
+void DigitalCameraCapture::reloadConfig()
{
std::ostringstream widgetInfoListStream;
* @FUTURE: RAW format reader.
*/
void DigitalCameraCapture::readFrameFromFile(CameraFile * file, OutputArray outputFrame)
- throw (GPhoto2Exception)
+
{
// FUTURE: OpenCV cannot read RAW files right now.
const char * data;
* then IDs won't be the same)
*/
int DigitalCameraCapture::widgetDescription(std::ostream &os,
- CameraWidget * widget) const throw (GPhoto2Exception)
+ CameraWidget * widget) const
{
const char * label, *name, *info;
int id, readonly;
* @return maximum of widget ID
*/
int DigitalCameraCapture::collectWidgets(std::ostream & os,
- CameraWidget * widget) throw (GPhoto2Exception)
+ CameraWidget * widget)
{
int id = widgetDescription(os, widget);
os << lineDelimiter;