#include <ximea_ros_cluster.h>
Public Member Functions | |
void | add_camera (ximea_ros_driver xd) |
void | clusterAcquire () |
void | clusterEnd () |
void | clusterInit () |
void | clusterPublishCamInfo () |
void | clusterPublishImageAndCamInfo () |
void | clusterPublishImages () |
bool | isDeviceOpen () |
void | remove_camera (int serial_no) |
void | setExposure (int serial_no, int time) |
void | setImageDataFormat (int serial_no, std::string s) |
void | setROI (int serial_no, int l, int t, int w, int h) |
ximea_ros_cluster (int num_cams) | |
ximea_ros_cluster (std::vector< std::string > filenames) | |
Private Member Functions | |
int | getCameraIndex (int serial_no) |
Private Attributes | |
std::vector< ximea_ros_driver > | cams_ |
bool | devices_open_ |
bool | fixed_init_ |
int | num_cams_ |
std::vector< boost::thread * > | threads_ |
const int | USB3_BANDWIDTH |
const int | USB_BUS_SAFETY_MARGIN |
Definition at line 21 of file ximea_ros_cluster.h.
ximea_ros_cluster::ximea_ros_cluster | ( | int | num_cams | ) | [explicit] |
Definition at line 41 of file ximea_ros_cluster.cpp.
ximea_ros_cluster::ximea_ros_cluster | ( | std::vector< std::string > | filenames | ) | [explicit] |
Definition at line 55 of file ximea_ros_cluster.cpp.
void ximea_ros_cluster::add_camera | ( | ximea_ros_driver | xd | ) |
Definition at line 70 of file ximea_ros_cluster.cpp.
void ximea_ros_cluster::clusterAcquire | ( | ) |
Definition at line 131 of file ximea_ros_cluster.cpp.
void ximea_ros_cluster::clusterEnd | ( | ) |
Definition at line 120 of file ximea_ros_cluster.cpp.
void ximea_ros_cluster::clusterInit | ( | ) |
Definition at line 101 of file ximea_ros_cluster.cpp.
Definition at line 159 of file ximea_ros_cluster.cpp.
Definition at line 167 of file ximea_ros_cluster.cpp.
Definition at line 144 of file ximea_ros_cluster.cpp.
int ximea_ros_cluster::getCameraIndex | ( | int | serial_no | ) | [private] |
Definition at line 185 of file ximea_ros_cluster.cpp.
bool ximea_ros_cluster::isDeviceOpen | ( | ) | [inline] |
Definition at line 36 of file ximea_ros_cluster.h.
void ximea_ros_cluster::remove_camera | ( | int | serial_no | ) |
Definition at line 82 of file ximea_ros_cluster.cpp.
void ximea_ros_cluster::setExposure | ( | int | serial_no, |
int | time | ||
) |
Definition at line 197 of file ximea_ros_cluster.cpp.
void ximea_ros_cluster::setImageDataFormat | ( | int | serial_no, |
std::string | s | ||
) |
Definition at line 206 of file ximea_ros_cluster.cpp.
void ximea_ros_cluster::setROI | ( | int | serial_no, |
int | l, | ||
int | t, | ||
int | w, | ||
int | h | ||
) |
Definition at line 215 of file ximea_ros_cluster.cpp.
std::vector<ximea_ros_driver> ximea_ros_cluster::cams_ [private] |
Definition at line 47 of file ximea_ros_cluster.h.
bool ximea_ros_cluster::devices_open_ [private] |
Definition at line 49 of file ximea_ros_cluster.h.
bool ximea_ros_cluster::fixed_init_ [private] |
Definition at line 54 of file ximea_ros_cluster.h.
int ximea_ros_cluster::num_cams_ [private] |
Definition at line 50 of file ximea_ros_cluster.h.
std::vector<boost::thread*> ximea_ros_cluster::threads_ [private] |
Definition at line 48 of file ximea_ros_cluster.h.
const int ximea_ros_cluster::USB3_BANDWIDTH [private] |
Definition at line 53 of file ximea_ros_cluster.h.
const int ximea_ros_cluster::USB_BUS_SAFETY_MARGIN [private] |
Definition at line 52 of file ximea_ros_cluster.h.