99# pragma warning(disable : 4251)
115 template<
typename SettingsType>
120 PresetBase(std::string name, SettingsType settings)
noexcept;
123 const std::string &
name() const noexcept;
131 const SettingsType &settings() const noexcept;
138 SettingsType m_settings;
145 template<typename PresetType>
150 CategoryBase(std::string name, std::vector<PresetType> presets)
noexcept;
153 const std::string &
name() const noexcept;
161 const std::vector<PresetType> &presets() const noexcept;
168 std::vector<PresetType> m_presets;
#define ZIVID_CORE_EXPORT
Definition: CoreExport.h:101
Information about camera model, serial number etc.
Definition: CameraInfo.h:123
Preset category. A preset category contains a collection of presets optimized for one scenario or use...
Definition: Presets.h:147
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:117
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:124
ZIVID_CORE_EXPORT std::vector< Category > categories(const CameraInfo::Model &model)
Returns a list of preset categories, where each category contains a list of recommended presets.
The main Zivid namespace. All Zivid code is found here
Definition: Application.h:99
ZIVID_CORE_EXPORT std::string toString(const std::exception &exception)
Get string representation of the exception