RICOH Camera USB SDK for C++
1.1.0
RICOH Camera USB SDK for C++
|
The class for a response having a capture from a camera device. More...
#include <ricoh_camera_sdk/response.hpp>
Public Member Functions | |
StartCaptureResponse (Result result) | |
Constructs with the specified result. More... | |
StartCaptureResponse (Result result, const std::shared_ptr< Error > &error) | |
Constructs with the specified result and error. More... | |
StartCaptureResponse (const std::shared_ptr< const Capture > &capture) | |
Constructs with Result::Ok and the specified capture. More... | |
~StartCaptureResponse ()=default | |
std::shared_ptr< const Capture > | getCapture () const |
Returns the capture. More... | |
Public Member Functions inherited from Ricoh::CameraController::Response | |
Response (Result result) | |
Constructs with the specified result. More... | |
Response (Result result, const std::shared_ptr< Error > &error) | |
Constructs with the specified result and error. More... | |
virtual | ~Response ()=default |
Result | getResult () const |
Returns the result of request to. More... | |
const std::vector< std::shared_ptr< Error > > & | getErrors () const |
Returns the errors. More... | |
void | addError (const std::shared_ptr< Error > &error) |
Adds the error. More... | |
The class for a response having a capture from a camera device.
Ricoh::CameraController::StartCaptureResponse::StartCaptureResponse | ( | Result | result | ) |
Constructs with the specified result.
result | The result |
Ricoh::CameraController::StartCaptureResponse::StartCaptureResponse | ( | Result | result, |
const std::shared_ptr< Error > & | error | ||
) |
Constructs with the specified result and error.
result | The result |
error | The error |
Ricoh::CameraController::StartCaptureResponse::StartCaptureResponse | ( | const std::shared_ptr< const Capture > & | capture | ) |
Constructs with Result::Ok and the specified capture.
capture | The capture |
|
default |
std::shared_ptr<const Capture> Ricoh::CameraController::StartCaptureResponse::getCapture | ( | ) | const |
Returns the capture.