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

The class for a response having a capture from a camera device. More...

#include <ricoh_camera_sdk/response.hpp>

Inheritance diagram for Ricoh::CameraController::StartCaptureResponse:
Inheritance graph
[legend]
Collaboration diagram for Ricoh::CameraController::StartCaptureResponse:
Collaboration graph
[legend]

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 CapturegetCapture () 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...
 

Detailed Description

The class for a response having a capture from a camera device.

Constructor & Destructor Documentation

Ricoh::CameraController::StartCaptureResponse::StartCaptureResponse ( Result  result)

Constructs with the specified result.

Parameters
resultThe result
Ricoh::CameraController::StartCaptureResponse::StartCaptureResponse ( Result  result,
const std::shared_ptr< Error > &  error 
)

Constructs with the specified result and error.

Parameters
resultThe result
errorThe error
Ricoh::CameraController::StartCaptureResponse::StartCaptureResponse ( const std::shared_ptr< const Capture > &  capture)

Constructs with Result::Ok and the specified capture.

Parameters
captureThe capture
Ricoh::CameraController::StartCaptureResponse::~StartCaptureResponse ( )
default

Member Function Documentation

std::shared_ptr<const Capture> Ricoh::CameraController::StartCaptureResponse::getCapture ( ) const

Returns the capture.

Returns
The capture

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