libgphoto2 photo camera library (libgphoto2) Internals
2.5.23
|
The GPhoto port structure. More...
#include <gphoto2-port.h>
Data Fields | |
GPPortType | type |
Actual type of this port. More... | |
GPPortSettings | settings |
Current port settings. More... | |
GPPortSettings | settings_pending |
Settings to be committed. More... | |
int | timeout |
Port timeout in milliseconds. More... | |
GPPortPrivateLibrary * | pl |
Camera driver private data pointer. More... | |
GPPortPrivateCore * | pc |
Port library private data pointer. More... | |
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.
Definition at line 143 of file gphoto2-port.h.
GPPortPrivateCore* _GPPort::pc |
Port library private data pointer.
Definition at line 153 of file gphoto2-port.h.
Referenced by gp_port_check_int(), gp_port_check_int_fast(), gp_port_close(), gp_port_exit(), gp_port_flush(), gp_port_free(), gp_port_get_error(), gp_port_get_info(), gp_port_get_pin(), gp_port_init(), 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().
GPPortPrivateLibrary* _GPPort::pl |
Camera driver private data pointer.
Definition at line 152 of file gphoto2-port.h.
GPPortSettings _GPPort::settings |
Current port settings.
Definition at line 147 of file gphoto2-port.h.
Referenced by gp_port_get_settings(), and gp_port_set_info().
GPPortSettings _GPPort::settings_pending |
Settings to be committed.
Definition at line 148 of file gphoto2-port.h.
Referenced by gp_port_set_settings().
int _GPPort::timeout |
Port timeout in milliseconds.
Definition at line 150 of file gphoto2-port.h.
Referenced by gp_port_check_int(), gp_port_get_timeout(), and gp_port_set_timeout().
GPPortType _GPPort::type |
Actual type of this port.
Definition at line 145 of file gphoto2-port.h.
Referenced by gp_abilities_list_detect_usb(), gp_camera_init(), gp_camera_set_port_speed(), gp_port_open(), and gp_port_set_info().