| OrbbecSDK 1.10.18 OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras

Loading...
Searching...
No Matches
Error.hpp
Go to the documentation of this file.
1
6#pragma once
7
8#include "Types.hpp"
9#include <memory>
10
11 struct ErrorImpl;
12
13 namespace ob {
14 class OB_EXTENSION_API Error {
15 private:
16 std::unique_ptr<ErrorImpl> impl_;
17
18 public:
19 Error(std::unique_ptr<ErrorImpl> impl) noexcept;
20
21 Error(const Error &error) noexcept;
22
23 ~Error() noexcept;
24
29 const char *getMessage() const noexcept;
30
35 OBExceptionType getExceptionType() const noexcept;
36
41 const char *getName() const noexcept;
42
47 const char *getArgs() const noexcept;
48};
49} // namespace ob
OBExceptionType
OBExceptionType
The exception types in the SDK, through the exception type, you can easily determine the specific typ...
Definition ObTypes.h:134
OB_EXTENSION_API
#define OB_EXTENSION_API
Definition ObTypes.h:28
Types.hpp
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
ob::Error
Definition Error.hpp:14
ob::Error::Error
Error(const Error &error) noexcept
ob::Error::Error
Error(std::unique_ptr< ErrorImpl > impl) noexcept
ob::Error::~Error
~Error() noexcept
ob
Definition Context.hpp:16