RICOH Camera USB SDK for C++
1.1.0
RICOH Camera USB SDK for C++
Main Page
Namespaces
Classes
Files
File List
File Members
include
ricoh_camera_sdk
error.hpp
Go to the documentation of this file.
1
// Copyright (c) 2017 Ricoh Company, Ltd. All Rights Reserved.
2
#ifndef RICOH_CAMERA_SDK_ERROR_HPP_
3
#define RICOH_CAMERA_SDK_ERROR_HPP_
4
5
#include <string>
6
7
#include <
ricoh_camera_sdk/export.hpp
>
8
9
namespace
Ricoh
{
10
namespace
CameraController {
11
15
enum class
ErrorCode
{
19
NetworkError
,
20
24
DeviceNotFound
,
25
29
ImageNotFound
,
30
34
InvalidSetting
,
35
39
InvalidArgument
,
40
44
NoSpace
,
45
49
Forbidden
,
50
54
UnknownValue
,
55
59
AFFailed
,
60
64
Incomplete
,
65
69
UnknownError
70
};
71
75
class
RCSDK_API
Error
{
76
public
:
83
Error
(
ErrorCode
code,
const
std::string& message);
84
85
~
Error
() =
default
;
86
92
ErrorCode
getCode()
const
;
93
99
const
std::string& getMessage()
const
;
100
101
private
:
102
ErrorCode
code_;
103
std::string message_;
104
};
105
106
}
// namespace CameraController
107
}
// namespace Ricoh
108
109
#endif // RICOH_CAMERA_SDK_ERROR_HPP_
Ricoh
Definition:
camera_device.hpp:13
Ricoh::CameraController::ErrorCode::DeviceNotFound
Ricoh::CameraController::ErrorCode::UnknownError
RCSDK_API
#define RCSDK_API
Definition:
export.hpp:17
Ricoh::CameraController::ErrorCode::AFFailed
Ricoh::CameraController::ErrorCode::Incomplete
export.hpp
Ricoh::CameraController::ErrorCode::InvalidSetting
Ricoh::CameraController::ErrorCode::NoSpace
Ricoh::CameraController::Error
This class represents a error of a request to a camera device.
Definition:
error.hpp:75
Ricoh::CameraController::ErrorCode::UnknownValue
Ricoh::CameraController::ErrorCode::InvalidArgument
Ricoh::CameraController::Result::Error
Ricoh::CameraController::ErrorCode::ImageNotFound
Ricoh::CameraController::ErrorCode::Forbidden
Ricoh::CameraController::ErrorCode
ErrorCode
The type of a error code of a request to a camera device.
Definition:
error.hpp:15
Ricoh::CameraController::ErrorCode::NetworkError
Generated by
1.8.11