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

#include <device.h>

Public Member Functions

std::shared_ptr< peak::core::DataStream > DataSteam () const
 
 Device ()
 
void DisableAutoFeatures ()
 
double Exposure () const
 
std::pair< double, double > ExposureRange () const
 
void FindAndOpen ()
 
double Framerate () const
 
std::pair< double, double > FramerateRange () const
 
double Gain () const
 
std::pair< double, double > GainRange () const
 
bool HasColorGain () const
 
bool HasGain () const
 
bool IsMono () const
 
void LoadDefaults ()
 
void OpenDataStream ()
 
std::shared_ptr< peak::core::NodeMap > RemoteNodeMap () const
 
void SetExposure (double value)
 
void SetFrameRate (double value)
 
void SetGain (double value)
 
void StopAcquisition ()
 
void UpdateFramerate ()
 

Private Member Functions

void CheckColorGain ()
 
void CheckGain ()
 

Private Attributes

std::shared_ptr< peak::core::DataStream > m_dataStream {}
 
std::shared_ptr< peak::core::Device > m_device {}
 
double m_frameRate {}
 
std::string m_gainType {}
 
bool m_hasColorGain {}
 
bool m_hasGain {}
 
std::shared_ptr< peak::core::NodeMap > m_nodemapRemoteDevice {}
 

Constructor & Destructor Documentation

◆ Device()

Device::Device ( )
explicit

Member Function Documentation

◆ CheckColorGain()

void Device::CheckColorGain ( )
private

◆ CheckGain()

void Device::CheckGain ( )
private

◆ DataSteam()

std::shared_ptr< peak::core::DataStream > Device::DataSteam ( ) const

◆ DisableAutoFeatures()

void Device::DisableAutoFeatures ( )

◆ Exposure()

double Device::Exposure ( ) const

◆ ExposureRange()

std::pair< double, double > Device::ExposureRange ( ) const

◆ FindAndOpen()

void Device::FindAndOpen ( )

◆ Framerate()

double Device::Framerate ( ) const

◆ FramerateRange()

std::pair< double, double > Device::FramerateRange ( ) const

◆ Gain()

double Device::Gain ( ) const

◆ GainRange()

std::pair< double, double > Device::GainRange ( ) const

◆ HasColorGain()

bool Device::HasColorGain ( ) const

◆ HasGain()

bool Device::HasGain ( ) const

◆ IsMono()

bool Device::IsMono ( ) const

◆ LoadDefaults()

void Device::LoadDefaults ( )

◆ OpenDataStream()

void Device::OpenDataStream ( )

◆ RemoteNodeMap()

std::shared_ptr< peak::core::NodeMap > Device::RemoteNodeMap ( ) const

◆ SetExposure()

void Device::SetExposure ( double value)

◆ SetFrameRate()

void Device::SetFrameRate ( double value)

◆ SetGain()

void Device::SetGain ( double value)

◆ StopAcquisition()

void Device::StopAcquisition ( )

◆ UpdateFramerate()

void Device::UpdateFramerate ( )

Member Data Documentation

◆ m_dataStream

std::shared_ptr<peak::core::DataStream> Device::m_dataStream {}
private

◆ m_device

std::shared_ptr<peak::core::Device> Device::m_device {}
private

◆ m_frameRate

double Device::m_frameRate {}
private

◆ m_gainType

std::string Device::m_gainType {}
private

◆ m_hasColorGain

bool Device::m_hasColorGain {}
private

◆ m_hasGain

bool Device::m_hasGain {}
private

◆ m_nodemapRemoteDevice

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

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