RTC Toolkit
1.0.0
|
Implementation of camera factory. More...
#include "cameraFactory.hpp"
#include "genericCamera.hpp"
#include "lisaCamera.hpp"
#include <memory>
#include <map>
#include <functional>
#include <boost/pointer_cast.hpp>
Typedefs | |
typedef std::function< std::unique_ptr< FitsConverterIf >const std::string &, const bool)> | CameraFactory |
Functions | |
std::unique_ptr< FitsConverterIf > | GetCamera (const std::string &name, const std::string &directory, const bool split_files) |
Factory for camera from camera string. More... | |
std::vector< std::string > | ListCameras () |
Get all available cameras. More... | |
Variables | |
const std::map< std::string, CameraFactory > | CAMERAS |
Implementation of camera factory.
typedef std::function<std::unique_ptr<FitsConverterIf>const std::string&, const bool)> CameraFactory |
std::unique_ptr<FitsConverterIf> GetCamera | ( | const std::string & | name, |
const std::string & | directory, | ||
const bool | split_files | ||
) |
Factory for camera from camera string.
name | Name of the camera |
directory | Output directory for the FITS files. |
split_files | If true, split samples into extra files. |
std::vector<std::string> ListCameras | ( | ) |
Get all available cameras.
const std::map<std::string, CameraFactory> CAMERAS |