Public Types | Public Member Functions | Private Member Functions | Private Attributes
avt_vimba_camera::AvtVimbaCamera Class Reference

#include <avt_vimba_camera.h>

List of all members.

Public Types

typedef
avt_vimba_camera::AvtVimbaCameraConfig 
Config
typedef boost::function< void(const
FramePtr)> 
frameCallbackFunc

Public Member Functions

 AvtVimbaCamera ()
 AvtVimbaCamera (std::string name)
CameraPtr getCameraPtr (void)
double getDeviceTemp (void)
int getHeight ()
int getMaxHeight ()
int getMaxWidth ()
double getTimestamp (void)
int getWidth ()
bool isOpened (void)
bool resetTimestamp (void)
void setCallback (frameCallbackFunc callback=&avt_vimba_camera::AvtVimbaCamera::defaultFrameCallback)
void start (std::string ip_str, std::string guid_str, bool debug_prints=true)
void startImaging (void)
void stop ()
void stopImaging (void)
void updateConfig (Config &config)

Private Member Functions

std::string accessModeToString (VmbAccessModeType modeType)
void defaultFrameCallback (const FramePtr vimba_frame_ptr)
void frameCallback (const FramePtr vimba_frame_ptr)
void getCurrentState (diagnostic_updater::DiagnosticStatusWrapper &stat)
template<typename T >
bool getFeatureValue (const std::string &feature_str, T &val)
bool getFeatureValue (const std::string &feature_str, std::string &val)
int getTriggerModeInt (std::string mode_str)
std::string interfaceToString (VmbInterfaceType interfaceType)
CameraPtr openCamera (std::string id_str)
void printAllCameraFeatures (CameraPtr camera)
bool runCommand (const std::string &command_str)
template<typename T >
bool setFeatureValue (const std::string &feature_str, const T &val)
void updateAcquisitionConfig (Config &config)
void updateBandwidthConfig (Config &config)
void updateExposureConfig (Config &config)
void updateGainConfig (Config &config)
void updateGPIOConfig (Config &config)
void updateImageModeConfig (Config &config)
void updatePixelFormatConfig (Config &config)
void updatePtpModeConfig (Config &config)
void updateROIConfig (Config &config)
void updateWhiteBalanceConfig (Config &config)

Private Attributes

AvtVimbaApi api_
CameraState camera_state_
Config config_
boost::mutex config_mutex_
std::string diagnostic_msg_
std::string frame_id_
std::string guid_
std::string name_
int num_frames_
bool on_init_
bool opened_
bool show_debug_prints_
bool streaming_
boost::thread thread_callback_
std::string trigger_source_
int trigger_source_int_
diagnostic_updater::Updater updater_
frameCallbackFunc userFrameCallback
VmbInt64_t vimba_camera_max_height_
VmbInt64_t vimba_camera_max_width_
CameraPtr vimba_camera_ptr_
FrameObservervimba_frame_observer_ptr_
FramePtr vimba_frame_ptr_

Detailed Description

Definition at line 76 of file avt_vimba_camera.h.


Member Typedef Documentation

typedef avt_vimba_camera::AvtVimbaCameraConfig avt_vimba_camera::AvtVimbaCamera::Config

Definition at line 101 of file avt_vimba_camera.h.

typedef boost::function<void (const FramePtr)> avt_vimba_camera::AvtVimbaCamera::frameCallbackFunc

Definition at line 96 of file avt_vimba_camera.h.


Constructor & Destructor Documentation

Definition at line 87 of file avt_vimba_camera.cpp.

Definition at line 91 of file avt_vimba_camera.cpp.


Member Function Documentation

Definition at line 575 of file avt_vimba_camera.cpp.

void avt_vimba_camera::AvtVimbaCamera::defaultFrameCallback ( const FramePtr  vimba_frame_ptr) [inline, private]

Definition at line 149 of file avt_vimba_camera.h.

void avt_vimba_camera::AvtVimbaCamera::frameCallback ( const FramePtr  vimba_frame_ptr) [private]

Definition at line 317 of file avt_vimba_camera.cpp.

Definition at line 86 of file avt_vimba_camera.h.

Definition at line 1117 of file avt_vimba_camera.cpp.

Definition at line 331 of file avt_vimba_camera.cpp.

template<typename T >
bool avt_vimba_camera::AvtVimbaCamera::getFeatureValue ( const std::string feature_str,
T val 
) [private]

Definition at line 356 of file avt_vimba_camera.cpp.

bool avt_vimba_camera::AvtVimbaCamera::getFeatureValue ( const std::string feature_str,
std::string val 
) [private]

Definition at line 418 of file avt_vimba_camera.cpp.

Definition at line 343 of file avt_vimba_camera.cpp.

Definition at line 590 of file avt_vimba_camera.cpp.

Definition at line 563 of file avt_vimba_camera.cpp.

Definition at line 105 of file avt_vimba_camera.h.

Definition at line 265 of file avt_vimba_camera.cpp.

Definition at line 610 of file avt_vimba_camera.cpp.

Definition at line 339 of file avt_vimba_camera.cpp.

bool avt_vimba_camera::AvtVimbaCamera::runCommand ( const std::string command_str) [private]

Definition at line 531 of file avt_vimba_camera.cpp.

Definition at line 97 of file avt_vimba_camera.h.

template<typename T >
bool avt_vimba_camera::AvtVimbaCamera::setFeatureValue ( const std::string feature_str,
const T val 
) [private]

Definition at line 473 of file avt_vimba_camera.cpp.

void avt_vimba_camera::AvtVimbaCamera::start ( std::string  ip_str,
std::string  guid_str,
bool  debug_prints = true 
)

Definition at line 106 of file avt_vimba_camera.cpp.

Definition at line 175 of file avt_vimba_camera.cpp.

Definition at line 259 of file avt_vimba_camera.cpp.

Definition at line 200 of file avt_vimba_camera.cpp.

Change the Trigger configuration

Definition at line 750 of file avt_vimba_camera.cpp.

Change the Bandwidth configuration

Definition at line 1058 of file avt_vimba_camera.cpp.

Definition at line 223 of file avt_vimba_camera.cpp.

Change the Exposure configuration

Definition at line 802 of file avt_vimba_camera.cpp.

Change the Gain configuration

Definition at line 860 of file avt_vimba_camera.cpp.

Change the GPIO configuration

Definition at line 1086 of file avt_vimba_camera.cpp.

Change the Binning and Decimation configuration

Definition at line 959 of file avt_vimba_camera.cpp.

Change the Pixel Format configuration

Definition at line 1073 of file avt_vimba_camera.cpp.

Change the Binning and Decimation configuration

Definition at line 945 of file avt_vimba_camera.cpp.

Change the ROI configuration

Todo:
Replicating logic from polledCallback

Definition at line 988 of file avt_vimba_camera.cpp.

Change the White Balance configuration

Definition at line 912 of file avt_vimba_camera.cpp.


Member Data Documentation

Definition at line 110 of file avt_vimba_camera.h.

Definition at line 135 of file avt_vimba_camera.h.

Definition at line 108 of file avt_vimba_camera.h.

Definition at line 123 of file avt_vimba_camera.h.

Definition at line 136 of file avt_vimba_camera.h.

Definition at line 141 of file avt_vimba_camera.h.

Definition at line 140 of file avt_vimba_camera.h.

Definition at line 132 of file avt_vimba_camera.h.

Definition at line 139 of file avt_vimba_camera.h.

Definition at line 130 of file avt_vimba_camera.h.

Definition at line 128 of file avt_vimba_camera.h.

Definition at line 131 of file avt_vimba_camera.h.

Definition at line 129 of file avt_vimba_camera.h.

Definition at line 126 of file avt_vimba_camera.h.

Definition at line 142 of file avt_vimba_camera.h.

Definition at line 143 of file avt_vimba_camera.h.

Definition at line 134 of file avt_vimba_camera.h.

Definition at line 147 of file avt_vimba_camera.h.

Definition at line 120 of file avt_vimba_camera.h.

Definition at line 118 of file avt_vimba_camera.h.

Definition at line 114 of file avt_vimba_camera.h.

Definition at line 112 of file avt_vimba_camera.h.

Definition at line 116 of file avt_vimba_camera.h.


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


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Thu Jun 6 2019 18:23:39