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

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

#include <ricoh_camera_sdk/response.hpp>

Inheritance diagram for Ricoh::CameraController::Response:
Inheritance graph
[legend]

Public Member Functions

 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 from a camera device.

Constructor & Destructor Documentation

Ricoh::CameraController::Response::Response ( Result  result)

Constructs with the specified result.

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

Constructs with the specified result and error.

Parameters
resultThe result
errorThe error
virtual Ricoh::CameraController::Response::~Response ( )
virtualdefault

Member Function Documentation

void Ricoh::CameraController::Response::addError ( const std::shared_ptr< Error > &  error)

Adds the error.

Parameters
errorThe error
const std::vector<std::shared_ptr<Error> >& Ricoh::CameraController::Response::getErrors ( ) const

Returns the errors.

Returns
The errors
Result Ricoh::CameraController::Response::getResult ( ) const

Returns the result of request to.

Returns
The result

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