54# pragma warning(disable : 4251)
70 template<
typename SettingsType>
75 PresetBase(std::string name, SettingsType settings)
noexcept;
78 const std::string &
name() const noexcept;
86 const SettingsType &settings() const noexcept;
89 std::
string toString() const;
93 SettingsType m_settings;
100 template<typename PresetType>
105 CategoryBase(std::string name, std::vector<PresetType> presets)
noexcept;
108 const std::string &
name() const noexcept;
116 const std::vector<PresetType> &presets() const noexcept;
119 std::
string toString() const;
123 std::vector<PresetType> m_presets;
#define ZIVID_CORE_EXPORT
Definition CoreExport.h:56
Information about camera model, serial number etc.
Definition CameraInfo.h:79
Preset category. A preset category contains a collection of presets optimized for one scenario or use...
Definition Presets.h:102
CategoryBase(std::string name, std::vector< PresetType > presets) noexcept
Constructor.
const std::string & name() const noexcept
Get the name of the category.
Presets are pre-defined settings that are tuned for different camera models to perform optimally unde...
Definition Presets.h:72
PresetBase(std::string name, SettingsType settings) noexcept
Constructor.
const std::string & name() const noexcept
Get the name of the preset.
Settings used when capturing with a Zivid camera.
Definition Settings.h:80
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:56