Zivid  1.0.1+3607.8a7510c4
Zivid API
Public Member Functions | Friends | List of all members
Zivid::SettingsBatch Class Reference

Helper class to a apply a batch of settings changes to a camera More...

#include <Camera.h>

Public Member Functions

 SettingsBatch (Camera &camera)
 Construct a SettingsBatch helper class on a camera More...
 
 SettingsBatch (const SettingsBatch &)=delete
 
SettingsBatchoperator= (const SettingsBatch &)=delete
 
SettingsBatchoperator= (SettingsBatch &&)=delete
 
 SettingsBatch (SettingsBatch &&other) noexcept
 Move constructor More...
 
 ~SettingsBatch ()
 Apply all cached settings to the camera More...
 
template<typename Setting >
SettingsBatchset (Setting value)
 Cache the setting until object destruction More...
 

Friends

template<typename Setting >
SettingsBatch operator<< (SettingsBatch &&setter, Setting value)
 Cache the setting until object destruction More...
 

Detailed Description

Helper class to a apply a batch of settings changes to a camera

Constructor & Destructor Documentation

◆ SettingsBatch() [1/2]

Zivid::SettingsBatch::SettingsBatch ( Camera camera)
inlineexplicit

Construct a SettingsBatch helper class on a camera

Parameters
cameraCamera

◆ SettingsBatch() [2/2]

Zivid::SettingsBatch::SettingsBatch ( SettingsBatch &&  other)
inlinenoexcept

Move constructor

◆ ~SettingsBatch()

Zivid::SettingsBatch::~SettingsBatch ( )
inline

Apply all cached settings to the camera

Member Function Documentation

◆ set()

template<typename Setting >
SettingsBatch& Zivid::SettingsBatch::set ( Setting  value)
inline

Cache the setting until object destruction

Friends And Related Function Documentation

◆ operator<<

template<typename Setting >
SettingsBatch operator<< ( SettingsBatch &&  setter,
Setting  value 
)
friend

Cache the setting until object destruction


The documentation for this class was generated from the following file: