RICOH Camera USB SDK for C++  1.1.0
RICOH Camera USB SDK for C++
Public Member Functions | List of all members
Ricoh::CameraController::CameraEventListener Class Reference

The class of Event listener receiving notification from the camera device. More...

#include <ricoh_camera_sdk/camera_event_listener.hpp>

Public Member Functions

 CameraEventListener (const CameraEventListener &rhs)=delete
 
virtual ~CameraEventListener ()=default
 
CameraEventListeneroperator= (const CameraEventListener &rhs)=delete
 
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. More...
 
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. More...
 
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. More...
 
virtual void deviceDisconnected (const std::shared_ptr< const CameraDevice > &sender, DeviceInterface inf)
 Invoked when the connection was broken unexpectedly. More...
 
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. More...
 
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. More...
 

Detailed Description

The class of Event listener receiving notification from the camera device.

Constructor & Destructor Documentation

Ricoh::CameraController::CameraEventListener::CameraEventListener ( const CameraEventListener rhs)
delete
virtual Ricoh::CameraController::CameraEventListener::~CameraEventListener ( )
virtualdefault

Member Function Documentation

virtual void Ricoh::CameraController::CameraEventListener::captureComplete ( const std::shared_ptr< const CameraDevice > &  sender,
const std::shared_ptr< const Capture > &  capture 
)
inlinevirtual

Invoked when a capture that has been started by this SDK was completed.

Parameters
senderThe camera device sending this event
captureThe completed capture
virtual void Ricoh::CameraController::CameraEventListener::captureSettingsChanged ( const std::shared_ptr< const CameraDevice > &  sender,
const std::vector< std::shared_ptr< const CaptureSetting >> &  newSettings 
)
inlinevirtual

Invoked when a capture setting was changed without being used setCaptureSettings method directly.

Parameters
senderThe camera device sending this event
newSettingsThe changed settings
virtual void Ricoh::CameraController::CameraEventListener::deviceDisconnected ( const std::shared_ptr< const CameraDevice > &  sender,
DeviceInterface  inf 
)
inlinevirtual

Invoked when the connection was broken unexpectedly.

If call "disconnect()" method, this event is not invoked.

Parameters
senderThe camera device sending this event
infThe disconnected interface
virtual void Ricoh::CameraController::CameraEventListener::imageAdded ( const std::shared_ptr< const CameraDevice > &  sender,
const std::shared_ptr< const CameraImage > &  image 
)
inlinevirtual

Invoked when a image was added to the camera device.

You can transfer image data faster than stored CameraImage.

Parameters
senderThe camera device sending this event
imageThe added image
virtual void Ricoh::CameraController::CameraEventListener::imageStored ( const std::shared_ptr< const CameraDevice > &  sender,
const std::shared_ptr< const CameraImage > &  image 
)
inlinevirtual

Invoked when a image was stored to a storage of the camera device.

Parameters
senderThe camera device sending this event
imageThe stored image
virtual void Ricoh::CameraController::CameraEventListener::liveViewFrameUpdated ( const std::shared_ptr< const CameraDevice > &  sender,
const std::shared_ptr< const unsigned char > &  liveViewFrame,
uint64_t  frameSize 
)
inlinevirtual

Invoked when a liveview image data was send.

Parameters
senderThe camera device sending this event
liveViewFrameThe send live view image data
frameSizeThe size of the send live view image data
CameraEventListener& Ricoh::CameraController::CameraEventListener::operator= ( const CameraEventListener rhs)
delete

The documentation for this class was generated from the following file: