ATEsystem.PIRIS-driver: ATEsystem_PIRIS::CPirisMain Class Reference

ATEsystem.PIRIS

ATEsystem.PIRIS-driver  1.0.1
ATEsystem.PIRIS-driver

More...

#include <ATEsystem.PIRIS.h>

Inheritance diagram for ATEsystem_PIRIS::CPirisMain:
ATEsystem_PIRIS::CPirisEthernet ATEsystem_PIRIS::CPirisSerial

Public Member Functions

Status Open (void *dev, PirisDeviceType type, VerboseLevel verbose=VerboseLevel::NONE)
 
Status Open (const PirisDevice &dev, VerboseLevel verbose=VerboseLevel::NONE)
 
Status Close ()
 
std::tuple< StatusEx, DataIDReadID ()
 
std::tuple< StatusEx, DataPositionReadPosition ()
 
std::tuple< StatusEx, DataParamsReadParams ()
 
std::tuple< StatusEx, DataStateReadState ()
 
StatusEx DevReset ()
 
StatusEx DevHoming ()
 
StatusEx SetAbsolute (uint16_t focus=0, uint16_t zoom=0, uint16_t iris=0, bool ir_filter=false)
 
StatusEx SetAbsolute (const FocusZoomIris< uint16_t > &values, bool ir_filter=false)
 
StatusEx SetRelative (int16_t focus=0, int16_t zoom=0, int16_t iris=0)
 
StatusEx SetRelative (const FocusZoomIris< int16_t > &values)
 
YesNoNA GetFwPollSupport ()
 
VerboseLevel GetVerboseLevel ()
 
void SetVerboseLevel (VerboseLevel level)
 
 CPirisMain ()
 
virtual ~CPirisMain ()
 

Static Public Member Functions

static int16_t ScanEthernet (std::vector< Pylon::CDeviceInfo > &devices, bool verbose=false)
 
static int16_t ScanSerial (std::vector< serial::PortInfo > &devices, bool verbose=false)
 

Protected Member Functions

void state_set (State _state)
 
State state_get ()
 
bool state_is (State _state)
 
void state_reset ()
 
bool verbose_is (VerboseLevel _verbose)
 
void verbose_set (VerboseLevel _verbose)
 

Protected Attributes

uint16_t rx_timeout = RX_TIMEOUT_NEW_FW
 

Detailed Description

Main abstract class with all key functionality, need to have overridden comm func in derived class.

Constructor & Destructor Documentation

◆ CPirisMain()

ATEsystem_PIRIS::CPirisMain::CPirisMain ( )

◆ ~CPirisMain()

virtual ATEsystem_PIRIS::CPirisMain::~CPirisMain ( )
inlinevirtual

Member Function Documentation

◆ Close()

Status ATEsystem_PIRIS::CPirisMain::Close ( )

◆ DevHoming()

StatusEx ATEsystem_PIRIS::CPirisMain::DevHoming ( )

◆ DevReset()

StatusEx ATEsystem_PIRIS::CPirisMain::DevReset ( )

◆ GetFwPollSupport()

YesNoNA ATEsystem_PIRIS::CPirisMain::GetFwPollSupport ( )

◆ GetVerboseLevel()

VerboseLevel ATEsystem_PIRIS::CPirisMain::GetVerboseLevel ( )

◆ Open() [1/2]

Status ATEsystem_PIRIS::CPirisMain::Open ( void *  dev,
PirisDeviceType  type,
VerboseLevel  verbose = VerboseLevel::NONE 
)

◆ Open() [2/2]

Status ATEsystem_PIRIS::CPirisMain::Open ( const PirisDevice dev,
VerboseLevel  verbose = VerboseLevel::NONE 
)

◆ ReadID()

std::tuple< StatusEx, DataID > ATEsystem_PIRIS::CPirisMain::ReadID ( )

◆ ReadParams()

std::tuple< StatusEx, DataParams > ATEsystem_PIRIS::CPirisMain::ReadParams ( )

◆ ReadPosition()

std::tuple< StatusEx, DataPosition > ATEsystem_PIRIS::CPirisMain::ReadPosition ( )

◆ ReadState()

std::tuple< StatusEx, DataState > ATEsystem_PIRIS::CPirisMain::ReadState ( )

◆ ScanEthernet()

int16_t ATEsystem_PIRIS::CPirisMain::ScanEthernet ( std::vector< Pylon::CDeviceInfo > &  devices,
bool  verbose = false 
)
static

◆ ScanSerial()

int16_t ATEsystem_PIRIS::CPirisMain::ScanSerial ( std::vector< serial::PortInfo > &  devices,
bool  verbose = false 
)
static

◆ SetAbsolute() [1/2]

StatusEx ATEsystem_PIRIS::CPirisMain::SetAbsolute ( uint16_t  focus = 0,
uint16_t  zoom = 0,
uint16_t  iris = 0,
bool  ir_filter = false 
)

◆ SetAbsolute() [2/2]

StatusEx ATEsystem_PIRIS::CPirisMain::SetAbsolute ( const FocusZoomIris< uint16_t > &  values = FocusZoomIris<uint16_t>(0, 0, 0),
bool  ir_filter = false 
)

◆ SetRelative() [1/2]

StatusEx ATEsystem_PIRIS::CPirisMain::SetRelative ( int16_t  focus = 0,
int16_t  zoom = 0,
int16_t  iris = 0 
)

◆ SetRelative() [2/2]

StatusEx ATEsystem_PIRIS::CPirisMain::SetRelative ( const FocusZoomIris< int16_t > &  values = FocusZoomIris<int16_t>(0, 0, 0))

◆ SetVerboseLevel()

void ATEsystem_PIRIS::CPirisMain::SetVerboseLevel ( VerboseLevel  level)

◆ state_get()

State ATEsystem_PIRIS::CPirisMain::state_get ( )
protected

◆ state_is()

bool ATEsystem_PIRIS::CPirisMain::state_is ( State  _state)
protected

◆ state_reset()

void ATEsystem_PIRIS::CPirisMain::state_reset ( )
protected

◆ state_set()

void ATEsystem_PIRIS::CPirisMain::state_set ( State  _state)
protected

◆ verbose_is()

bool ATEsystem_PIRIS::CPirisMain::verbose_is ( VerboseLevel  _verbose)
protected

◆ verbose_set()

void ATEsystem_PIRIS::CPirisMain::verbose_set ( VerboseLevel  _verbose)
protected

Member Data Documentation

◆ rx_timeout

uint16_t ATEsystem_PIRIS::CPirisMain::rx_timeout = RX_TIMEOUT_NEW_FW
protected

The documentation for this class was generated from the following files:
Generated by   doxygen 1.8.15