RICOH Camera USB SDK for C++
1.1.0
RICOH Camera USB SDK for C++
|
The class for information and operations on a camera device. More...
#include <ricoh_camera_sdk/camera_device.hpp>
Public Member Functions | |
virtual | ~CameraDevice ()=default |
virtual bool | operator== (const CameraDevice &obj) const =0 |
virtual bool | operator!= (const CameraDevice &obj) const =0 |
virtual Response | connect (DeviceInterface deviceInterface)=0 |
Connects the camera device with a specified device interface. More... | |
virtual Response | disconnect (DeviceInterface deviceInterface)=0 |
Disconnects the camera device with a specified device interface. More... | |
virtual bool | isConnected (DeviceInterface deviceInterface) const =0 |
Returns true if the camera device is connected by the interface. More... | |
virtual const std::string & | getManufacturer () const =0 |
Returns the manufacturer of the camera device. More... | |
virtual const std::string & | getModel () const =0 |
Returns the model of the camera device. More... | |
virtual const std::string & | getFirmwareVersion () const =0 |
Returns the serial number of the camera device. More... | |
virtual const std::string & | getSerialNumber () const =0 |
Returns the serial number of the camera device. More... | |
virtual const CameraStatus & | getStatus () const =0 |
Returns the status of the camera device. More... | |
virtual const CameraStorageList & | getStorages () const =0 |
Returns the storage list of the camera device. More... | |
virtual const CameraImageList & | getImages () const =0 |
Returns the image information list. More... | |
virtual void | addEventListener (const std::shared_ptr< CameraEventListener > &listener)=0 |
Adds the specified event listener to the camera device. More... | |
virtual void | removeEventListener (const std::shared_ptr< CameraEventListener > &listener)=0 |
Removes the specified event listener from the camera device. More... | |
virtual const std::vector< std::shared_ptr< CameraEventListener > > & | getEventListeners () const =0 |
Returns the event listeners of the camera device. More... | |
virtual Response | focus ()=0 |
Performs auto focus. More... | |
virtual Response | focus (const Point &point)=0 |
Performs auto focus at specified focus point. More... | |
virtual Response | focus (int adjustment)=0 |
Adjusts focus. More... | |
virtual StartCaptureResponse | startCapture (bool withFocus=true)=0 |
Starts a capture. More... | |
virtual StartCaptureResponse | startCapture (const Point &point)=0 |
Starts a capture with doing auto-focus at specified focus point. More... | |
virtual Response | stopCapture ()=0 |
Stop a capture. More... | |
virtual Response | startLiveView ()=0 |
Starts a live view. More... | |
virtual Response | stopLiveView ()=0 |
Stops a live view. More... | |
virtual Response | getCameraDeviceSettings (const std::vector< CameraDeviceSetting * > &settings) const =0 |
Gets settings for camera device. More... | |
virtual Response | setCameraDeviceSettings (const std::vector< const CameraDeviceSetting * > &settings) const =0 |
Sets settings for camera device. More... | |
virtual Response | getCaptureSettings (const std::vector< CaptureSetting * > &settings) const =0 |
Gets settings for capture. More... | |
virtual Response | setCaptureSettings (const std::vector< const CaptureSetting * > &settings) const =0 |
Sets settings for capture. More... | |
The class for information and operations on a camera device.
|
virtualdefault |
|
pure virtual |
Adds the specified event listener to the camera device.
listener | The event listener |
|
pure virtual |
Connects the camera device with a specified device interface.
deviceInterface | The interface for connection |
|
pure virtual |
Disconnects the camera device with a specified device interface.
deviceInterface | The interface for connection |
|
pure virtual |
Performs auto focus.
Performs auto focus at specified focus point.
point | The focus point. |
|
pure virtual |
Adjusts focus.
adjustment | The movement of image surface |
|
pure virtual |
Gets settings for camera device.
settings | The settings |
|
pure virtual |
Gets settings for capture.
settings | The settings |
|
pure virtual |
Returns the event listeners of the camera device.
|
pure virtual |
Returns the serial number of the camera device.
|
pure virtual |
Returns the image information list.
Image list is updated automatically while connected in the background.
|
pure virtual |
Returns the manufacturer of the camera device.
|
pure virtual |
Returns the model of the camera device.
|
pure virtual |
Returns the serial number of the camera device.
|
pure virtual |
Returns the status of the camera device.
|
pure virtual |
Returns the storage list of the camera device.
|
pure virtual |
Returns true
if the camera device is connected by the interface.
deviceInterface | The interface for connection |
true
If the camera device is connected by the interface and false
otherwise
|
pure virtual |
|
pure virtual |
|
pure virtual |
Removes the specified event listener from the camera device.
listener | The event listener |
|
pure virtual |
Sets settings for camera device.
settings | The settings |
|
pure virtual |
Sets settings for capture.
settings | The settings |
|
pure virtual |
Starts a capture.
withFocus | true If capturing with doing auto-focus. Default value is true. |
|
pure virtual |
Starts a capture with doing auto-focus at specified focus point.
point | The focus point. |
|
pure virtual |
Starts a live view.
|
pure virtual |
Stop a capture.
|
pure virtual |
Stops a live view.