Zivid C++ API  1.8.1+6967bc1b-1
Defining the Future of 3D Machine Vision
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 <Zivid/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 () noexcept(false)
 Apply all cached settings to the camera More...
 
template<typename Setting >
SettingsBatchset (const 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/3]

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

Construct a SettingsBatch helper class on a camera

Parameters
cameraCamera

◆ SettingsBatch() [2/3]

Zivid::SettingsBatch::SettingsBatch ( const SettingsBatch )
delete

◆ SettingsBatch() [3/3]

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

Move constructor

◆ ~SettingsBatch()

Zivid::SettingsBatch::~SettingsBatch ( )
inlinenoexcept

Apply all cached settings to the camera

Member Function Documentation

◆ operator=() [1/2]

SettingsBatch& Zivid::SettingsBatch::operator= ( const SettingsBatch )
delete

◆ operator=() [2/2]

SettingsBatch& Zivid::SettingsBatch::operator= ( SettingsBatch &&  )
delete

◆ set()

template<typename Setting >
SettingsBatch& Zivid::SettingsBatch::set ( const 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: