Classes | Public Member Functions

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< 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.

Detailed Description

Config dialog of the config editor plugin for the fvretriever.

Author:
Daniel Beck

Definition at line 33 of file retriever_config_plugin.h.


Constructor & Destructor Documentation

RetrieverConfigDialog::RetrieverConfigDialog ( BaseObjectType *  cobject,
const Glib::RefPtr< Gnome::Glade::Xml > &  ref_xml 
)

Constructor.

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

Parameters:
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.


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_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.

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: