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< Gnome::Glade::Xml > &ref_xml) | |
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.
Definition at line 33 of file retriever_config_plugin.h.
RetrieverConfigDialog::RetrieverConfigDialog | ( | BaseObjectType * | cobject, | |
const Glib::RefPtr< Gnome::Glade::Xml > & | ref_xml | |||
) |
Constructor.
Allows to construct a dialog by means of get_widget_derived( ... ).
cobject | base object pointer | |
ref_xml | Glade XML object representing the Glade input file |
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_id(), firevision::CameraArgumentParser::cam_type(), and firevision::CameraArgumentParser::parameters().
std::map< string, string > RetrieverConfigDialog::get_cameras | ( | ) | const |
Obtain the list of cameras shown in the dialog.
Definition at line 112 of file retriever_config_plugin.cpp.
Referenced by RetrieverConfigPlugin::post_run().