Public Member Functions | Protected Member Functions | Protected Attributes
ximea_driver Class Reference

#include <ximea_driver.h>

Inheritance diagram for ximea_driver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void acquireImage ()
void applyParameters ()
void closeDevice ()
void enableTrigger (unsigned char trigger_mode)
void errorHandling (XI_RETURN ret, std::string message)
const XI_IMG & getImage () const
int getSerialNo () const
bool hasValidHandle ()
void limitBandwidth (int mbps)
void openDevice ()
int readParamsFromFile (std::string file_name)
void setAutoExposure (int auto_exposure)
void setAutoExposureLimit (int ae_limit)
void setAutoExposurePriority (float exp_priority)
void setAutoGainLimit (int ag_limit)
void setExposure (int time)
virtual void setImageDataFormat (std::string s)
void setROI (int rect_left, int rect_top, int rect_width, int rect_height)
void startAcquisition ()
void stopAcquisition ()
void triggerDevice ()
 ximea_driver (int serial_no=0, std::string cam_name="")
 ximea_driver (std::string file_name)

Protected Member Functions

void assignDefaultValues ()

Protected Attributes

bool acquisition_active_
int auto_exposure_
int auto_exposure_limit_
float auto_exposure_priority_
int auto_gain_limit_
int bandwidth_
int bandwidth_safety_margin_
bool binning_enabled_
std::string cam_name_
int cams_on_bus_
int downsample_factor_
int exposure_time_
std::string frame_id_
int frame_rate_
XI_IMG image_
int image_capture_timeout_
std::string image_data_format_
int rect_height_
int rect_left_
int rect_top_
int rect_width_
int serial_no_
unsigned char trigger_mode_
HANDLE xiH_
std::string yaml_url_

Detailed Description

Definition at line 32 of file ximea_driver.h.


Constructor & Destructor Documentation

ximea_driver::ximea_driver ( int  serial_no = 0,
std::string  cam_name = "" 
) [explicit]

Definition at line 19 of file ximea_driver.cpp.

ximea_driver::ximea_driver ( std::string  file_name) [explicit]

Definition at line 52 of file ximea_driver.cpp.


Member Function Documentation

Definition at line 133 of file ximea_driver.cpp.

Definition at line 69 of file ximea_driver.cpp.

void ximea_driver::assignDefaultValues ( ) [protected]

Definition at line 26 of file ximea_driver.cpp.

Definition at line 101 of file ximea_driver.cpp.

void ximea_driver::enableTrigger ( unsigned char  trigger_mode)

Definition at line 427 of file ximea_driver.cpp.

void ximea_driver::errorHandling ( XI_RETURN  ret,
std::string  message 
)

Definition at line 59 of file ximea_driver.cpp.

const XI_IMG& ximea_driver::getImage ( ) const [inline]

Definition at line 64 of file ximea_driver.h.

int ximea_driver::getSerialNo ( ) const [inline]

Definition at line 49 of file ximea_driver.h.

bool ximea_driver::hasValidHandle ( ) [inline]

Definition at line 60 of file ximea_driver.h.

void ximea_driver::limitBandwidth ( int  mbps)

Definition at line 471 of file ximea_driver.cpp.

Definition at line 83 of file ximea_driver.cpp.

int ximea_driver::readParamsFromFile ( std::string  file_name)

Definition at line 300 of file ximea_driver.cpp.

void ximea_driver::setAutoExposure ( int  auto_exposure)

Definition at line 258 of file ximea_driver.cpp.

void ximea_driver::setAutoExposureLimit ( int  ae_limit)

Definition at line 268 of file ximea_driver.cpp.

void ximea_driver::setAutoExposurePriority ( float  exp_priority)

Definition at line 289 of file ximea_driver.cpp.

void ximea_driver::setAutoGainLimit ( int  ag_limit)

Definition at line 278 of file ximea_driver.cpp.

void ximea_driver::setExposure ( int  time)

Definition at line 248 of file ximea_driver.cpp.

void ximea_driver::setImageDataFormat ( std::string  s) [virtual]

Reimplemented in ximea_ros_driver.

Definition at line 146 of file ximea_driver.cpp.

void ximea_driver::setROI ( int  rect_left,
int  rect_top,
int  rect_width,
int  rect_height 
)

Definition at line 196 of file ximea_driver.cpp.

Definition at line 122 of file ximea_driver.cpp.

Definition at line 110 of file ximea_driver.cpp.

Definition at line 451 of file ximea_driver.cpp.


Member Data Documentation

Definition at line 91 of file ximea_driver.h.

Definition at line 81 of file ximea_driver.h.

Definition at line 82 of file ximea_driver.h.

Definition at line 84 of file ximea_driver.h.

Definition at line 83 of file ximea_driver.h.

int ximea_driver::bandwidth_ [protected]

Definition at line 79 of file ximea_driver.h.

Definition at line 77 of file ximea_driver.h.

Definition at line 85 of file ximea_driver.h.

std::string ximea_driver::cam_name_ [protected]

Definition at line 73 of file ximea_driver.h.

int ximea_driver::cams_on_bus_ [protected]

Definition at line 76 of file ximea_driver.h.

Definition at line 86 of file ximea_driver.h.

Definition at line 80 of file ximea_driver.h.

std::string ximea_driver::frame_id_ [protected]

Definition at line 75 of file ximea_driver.h.

int ximea_driver::frame_rate_ [protected]

Definition at line 78 of file ximea_driver.h.

XI_IMG ximea_driver::image_ [protected]

Definition at line 95 of file ximea_driver.h.

Definition at line 96 of file ximea_driver.h.

std::string ximea_driver::image_data_format_ [protected]

Definition at line 92 of file ximea_driver.h.

int ximea_driver::rect_height_ [protected]

Definition at line 90 of file ximea_driver.h.

int ximea_driver::rect_left_ [protected]

Definition at line 87 of file ximea_driver.h.

int ximea_driver::rect_top_ [protected]

Definition at line 88 of file ximea_driver.h.

int ximea_driver::rect_width_ [protected]

Definition at line 89 of file ximea_driver.h.

int ximea_driver::serial_no_ [protected]

Definition at line 74 of file ximea_driver.h.

unsigned char ximea_driver::trigger_mode_ [protected]

Definition at line 97 of file ximea_driver.h.

HANDLE ximea_driver::xiH_ [protected]

Definition at line 94 of file ximea_driver.h.

std::string ximea_driver::yaml_url_ [protected]

Definition at line 93 of file ximea_driver.h.


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


ximea_camera
Author(s): Abdelhamid El-Bably, Arun Das, Michael Tribou
autogenerated on Thu Jun 6 2019 21:17:12