|
libgphoto2 photo camera library (libgphoto2) API 2.5.34
|
The GPhoto port structure. More...
#include <gphoto2-port.h>

Data Fields | |
| GPPortType | type |
| Actual type of this port. | |
| GPPortSettings | settings |
| Current port settings. | |
| GPPortSettings | settings_pending |
| Settings to be committed. | |
| int | timeout |
| Port timeout in milliseconds. | |
| GPPortPrivateLibrary * | pl |
| Camera driver private data pointer. | |
| GPPortPrivateCore * | pc |
| Port library private data pointer. | |
The GPhoto port structure.
This structure tracks the physical connection of the device. It can correspond the various methods of lowlevel access, serial usb and others and abstracts them as much as possible.
Frontends should consider this structure opaque and only use accessor functions.
Camera drivers should only access the type and pl members directly, and use accessor functions for the rest.
| GPPortPrivateCore* _GPPort::pc |
Port library private data pointer.
Referenced by gp_port_check_int(), gp_port_check_int_fast(), gp_port_close(), gp_port_flush(), gp_port_free(), gp_port_get_error(), gp_port_get_info(), gp_port_get_pin(), gp_port_open(), gp_port_read(), gp_port_reset(), gp_port_seek(), gp_port_send_break(), gp_port_send_scsi_cmd(), gp_port_set_error(), gp_port_set_info(), gp_port_set_pin(), gp_port_set_settings(), gp_port_usb_clear_halt(), gp_port_usb_find_device(), gp_port_usb_find_device_by_class(), gp_port_usb_msg_class_read(), gp_port_usb_msg_class_write(), gp_port_usb_msg_interface_read(), gp_port_usb_msg_interface_write(), gp_port_usb_msg_read(), gp_port_usb_msg_write(), and gp_port_write().
| GPPortSettings _GPPort::settings |
Current port settings.
Referenced by gp_port_get_settings(), and gp_port_set_info().
| GPPortSettings _GPPort::settings_pending |
Settings to be committed.
Referenced by gp_port_set_settings().
| int _GPPort::timeout |
Port timeout in milliseconds.
Referenced by gp_port_check_int(), gp_port_get_timeout(), and gp_port_set_timeout().
| GPPortType _GPPort::type |
Actual type of this port.
Referenced by gp_camera_init(), gp_camera_set_port_speed(), gp_port_open(), and gp_port_set_info().