Fawkes API
Fawkes Development Version
|
Config dialog of the config editor plugin for the fvretriever. More...
#include "retriever_config_plugin.h"
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. |
Config dialog of the config editor plugin for the fvretriever.
RetrieverConfigDialog::RetrieverConfigDialog | ( | BaseObjectType * | cobject, |
const Glib::RefPtr< Gtk::Builder > & | builder | ||
) |
Constructor.
Allows to construct a dialog by means of get_widget_derived( ... ).
cobject | base object pointer |
builder | Gtk 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.
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.
camera_name | an arbitrary name to identify the camera |
camera_string | a camera string that can be parsed by a CameraArgumentParser |
record_images | if true the images of that camera are saved |
save_path | the directory where the images are saved |
Definition at line 76 of file retriever_config_plugin.cpp.
References firevision::CameraArgumentParser::cam_type(), firevision::CameraArgumentParser::cam_id(), and firevision::CameraArgumentParser::parameters().
Referenced by RetrieverConfigPlugin::pre_run().
Obtain the list of cameras shown in the dialog.
Definition at line 112 of file retriever_config_plugin.cpp.
Referenced by RetrieverConfigPlugin::post_run().