| OrbbecSDK 1.5.7 OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Error.hpp
Go to the documentation of this file.
1
10 #pragma once
11
12 #include "Types.hpp"
13 #include <memory>
14
15 struct ErrorImpl;
16
17 namespace ob {
18 class OB_EXTENSION_API Error {
19 private:
20 std::unique_ptr<ErrorImpl> impl_;
21
22 public:
23 Error(std::unique_ptr<ErrorImpl> impl) noexcept;
24
25 Error(const Error &error) noexcept;
26
27 ~Error() noexcept;
35 const char *getMessage() const noexcept;
36
45 OBExceptionType getExceptionType() const noexcept;
46
54 const char *getName() const noexcept;
55
63 const char *getArgs() const noexcept;
64 };
65 } // namespace ob
ob
Definition: Context.hpp:20
ob::Error
Definition: Error.hpp:18
OBExceptionType
OBExceptionType
The exception types in the SDK, through the exception type, you can easily determine the specific typ...
Definition: ObTypes.h:118
Types.hpp
Provide SDK structure and enumeration constant definition (depending on libobsensor/h/ObTypes.h)
OB_EXTENSION_API
#define OB_EXTENSION_API
Definition: ObTypes.h:25