File error_code.hpp

Core API objects - error code.

template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<ErrorCodeInterface, T>::type>
#include <error_code.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::ErrorCode
namespace slamcore

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class ErrorCodeInterface
#include <error_code.hpp>

Interface to transfer error codes.

Public Types

using Ptr = std::shared_ptr<ErrorCodeInterface>
using CPtr = std::shared_ptr<const ErrorCodeInterface>

Public Functions

virtual ~ErrorCodeInterface() = default
virtual std::error_code getValue() const = 0
template<typename T> type >
#include <error_code.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::ErrorCode