2 #ifndef RICOH_CAMERA_SDK_CAMERA_EVENT_LISTENER_HPP_ 3 #define RICOH_CAMERA_SDK_CAMERA_EVENT_LISTENER_HPP_ 10 namespace CameraController {
35 virtual void imageAdded(
const std::shared_ptr<const CameraDevice>& sender,
36 const std::shared_ptr<const CameraImage>& image) {}
44 virtual void imageStored(
const std::shared_ptr<const CameraDevice>& sender,
45 const std::shared_ptr<const CameraImage>& image) {}
54 const std::shared_ptr<const Capture>& capture) {}
75 const std::shared_ptr<const unsigned char>& liveViewFrame,
76 uint64_t frameSize) {}
85 const std::shared_ptr<const CameraDevice>& sender,
86 const std::vector<std::shared_ptr<const CaptureSetting>>& newSettings) {}
95 #endif // RICOH_CAMERA_SDK_CAMERA_EVENT_LISTENER_HPP_ Definition: camera_device.hpp:13
#define RCSDK_API
Definition: export.hpp:17
The class of Event listener receiving notification from the camera device.
Definition: camera_event_listener.hpp:20
virtual void liveViewFrameUpdated(const std::shared_ptr< const CameraDevice > &sender, const std::shared_ptr< const unsigned char > &liveViewFrame, uint64_t frameSize)
Invoked when a liveview image data was send.
Definition: camera_event_listener.hpp:74
virtual void captureComplete(const std::shared_ptr< const CameraDevice > &sender, const std::shared_ptr< const Capture > &capture)
Invoked when a capture that has been started by this SDK was completed.
Definition: camera_event_listener.hpp:53
virtual void imageStored(const std::shared_ptr< const CameraDevice > &sender, const std::shared_ptr< const CameraImage > &image)
Invoked when a image was stored to a storage of the camera device.
Definition: camera_event_listener.hpp:44
virtual void captureSettingsChanged(const std::shared_ptr< const CameraDevice > &sender, const std::vector< std::shared_ptr< const CaptureSetting >> &newSettings)
Invoked when a capture setting was changed without being used setCaptureSettings method directly...
Definition: camera_event_listener.hpp:84
virtual void deviceDisconnected(const std::shared_ptr< const CameraDevice > &sender, DeviceInterface inf)
Invoked when the connection was broken unexpectedly.
Definition: camera_event_listener.hpp:64
DeviceInterface
The type of a interface for connection.
Definition: camera_device.hpp:27
virtual void imageAdded(const std::shared_ptr< const CameraDevice > &sender, const std::shared_ptr< const CameraImage > &image)
Invoked when a image was added to the camera device.
Definition: camera_event_listener.hpp:35