Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RetrieverConfigDialog Class Reference

Config dialog of the config editor plugin for the fvretriever. More...

#include "retriever_config_plugin.h"

List of all members.

Classes

class  CameraRecord

Public Member Functions

 RetrieverConfigDialog (BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &builder)
 Constructor.
virtual ~RetrieverConfigDialog ()
 Destructor.
void add_camera (std::string camera_name, std::string camera_string, bool record_images=false, std::string save_path="")
 Adds a camera to the list of cameras.
std::map< std::string,
std::string > 
get_cameras () const
 Obtain the list of cameras shown in the dialog.

Detailed Description

Config dialog of the config editor plugin for the fvretriever.

Author:
Daniel Beck

Definition at line 32 of file retriever_config_plugin.h.


Constructor & Destructor Documentation

RetrieverConfigDialog::RetrieverConfigDialog ( BaseObjectType *  cobject,
const Glib::RefPtr< Gtk::Builder > &  builder 
)

Constructor.

Allows to construct a dialog by means of get_widget_derived( ... ).

Parameters:
cobjectbase object pointer
builderGtk builder

Definition at line 43 of file retriever_config_plugin.cpp.

RetrieverConfigDialog::~RetrieverConfigDialog ( )
virtual

Destructor.

Definition at line 65 of file retriever_config_plugin.cpp.


Member Function Documentation

void RetrieverConfigDialog::add_camera ( std::string  camera_name,
std::string  camera_string,
bool  record_images = false,
std::string  save_path = "" 
)

Adds a camera to the list of cameras.

Parameters:
camera_namean arbitrary name to identify the camera
camera_stringa camera string that can be parsed by a CameraArgumentParser
record_imagesif true the images of that camera are saved
save_paththe directory where the images are saved

Definition at line 76 of file retriever_config_plugin.cpp.

References firevision::CameraArgumentParser::cam_id(), firevision::CameraArgumentParser::cam_type(), and firevision::CameraArgumentParser::parameters().

Referenced by RetrieverConfigPlugin::pre_run().

std::map< string, string > RetrieverConfigDialog::get_cameras ( ) const

Obtain the list of cameras shown in the dialog.

Returns:
a map camera name => camera string

Definition at line 112 of file retriever_config_plugin.cpp.

Referenced by RetrieverConfigPlugin::post_run().


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