You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

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

Main namespace for the Slamcore public API

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