ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
AutoFeatures Class Reference

#include <autofeatures.h>

Public Member Functions

 AutoFeatures (std::shared_ptr< peak::core::NodeMap > nodemap)
 
std::pair< double, double > ExposureLimit () const
 
std::pair< double, double > GainLimit () const
 
void ProcessImage (const peak::ipl::Image *image)
 
void RegisterExposureCallback (std::function< void(void)> callback)
 
void RegisterGainCallback (std::function< void(void)> callback)
 
void RegisterWhiteBalanceCallback (std::function< void(void)> callback)
 
void Reset ()
 
void SetExposureLimit (const std::pair< double, double > &limit)
 
void SetExposureMode (peak_afl_controller_automode mode)
 
void SetGainLimit (const std::pair< double, double > &limit)
 
void SetGainMode (peak_afl_controller_automode mode)
 
void SetSkipFrames (int skipFrames)
 
void SetWhiteBalanceMode (peak_afl_controller_automode mode)
 
 ~AutoFeatures ()
 

Private Member Functions

void CreateAutoControllers ()
 
void CreateAutoManager ()
 

Private Attributes

std::shared_ptr< peak::afl::Controller > m_autoBrightnessController {}
 
std::unique_ptr< peak::afl::Manager > m_autoFeaturesManager {}
 
std::shared_ptr< peak::afl::Controller > m_autoWhiteBalanceController {}
 
std::function< void(void)> m_exposureFinishedCallback
 
peak::ipl::Gain m_gainControllerIPL {}
 
std::function< void(void)> m_gainFinishedCallback
 
std::shared_ptr< peak::core::NodeMap > m_nodemapRemoteDevice {}
 
std::function< void(void)> m_whiteBalanceFinishedCallback
 

Constructor & Destructor Documentation

◆ AutoFeatures()

AutoFeatures::AutoFeatures ( std::shared_ptr< peak::core::NodeMap > nodemap)

◆ ~AutoFeatures()

AutoFeatures::~AutoFeatures ( )

Member Function Documentation

◆ CreateAutoControllers()

void AutoFeatures::CreateAutoControllers ( )
private

◆ CreateAutoManager()

void AutoFeatures::CreateAutoManager ( )
private

◆ ExposureLimit()

std::pair< double, double > AutoFeatures::ExposureLimit ( ) const

◆ GainLimit()

std::pair< double, double > AutoFeatures::GainLimit ( ) const

◆ ProcessImage()

void AutoFeatures::ProcessImage ( const peak::ipl::Image * image)

◆ RegisterExposureCallback()

void AutoFeatures::RegisterExposureCallback ( std::function< void(void)> callback)

◆ RegisterGainCallback()

void AutoFeatures::RegisterGainCallback ( std::function< void(void)> callback)

◆ RegisterWhiteBalanceCallback()

void AutoFeatures::RegisterWhiteBalanceCallback ( std::function< void(void)> callback)

◆ Reset()

void AutoFeatures::Reset ( )

◆ SetExposureLimit()

void AutoFeatures::SetExposureLimit ( const std::pair< double, double > & limit)

◆ SetExposureMode()

void AutoFeatures::SetExposureMode ( peak_afl_controller_automode mode)

◆ SetGainLimit()

void AutoFeatures::SetGainLimit ( const std::pair< double, double > & limit)

◆ SetGainMode()

void AutoFeatures::SetGainMode ( peak_afl_controller_automode mode)

◆ SetSkipFrames()

void AutoFeatures::SetSkipFrames ( int skipFrames)

◆ SetWhiteBalanceMode()

void AutoFeatures::SetWhiteBalanceMode ( peak_afl_controller_automode mode)

Member Data Documentation

◆ m_autoBrightnessController

std::shared_ptr<peak::afl::Controller> AutoFeatures::m_autoBrightnessController {}
private

◆ m_autoFeaturesManager

std::unique_ptr<peak::afl::Manager> AutoFeatures::m_autoFeaturesManager {}
private

◆ m_autoWhiteBalanceController

std::shared_ptr<peak::afl::Controller> AutoFeatures::m_autoWhiteBalanceController {}
private

◆ m_exposureFinishedCallback

std::function<void(void)> AutoFeatures::m_exposureFinishedCallback
private

◆ m_gainControllerIPL

peak::ipl::Gain AutoFeatures::m_gainControllerIPL {}
private

◆ m_gainFinishedCallback

std::function<void(void)> AutoFeatures::m_gainFinishedCallback
private

◆ m_nodemapRemoteDevice

std::shared_ptr<peak::core::NodeMap> AutoFeatures::m_nodemapRemoteDevice {}
private

◆ m_whiteBalanceFinishedCallback

std::function<void(void)> AutoFeatures::m_whiteBalanceFinishedCallback
private

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