iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
types.hpp File Reference
#include <cstdint>
#include <utility>

Go to the source code of this file.

Classes

struct  iox2::legacy::er::ErrorCode
 
struct  iox2::legacy::er::ModuleId
 

Namespaces

namespace  iox2
 
namespace  iox2::legacy
 
namespace  iox2::legacy::er
 

Macros

#define IOX2_CREATE_ERROR_ENUM(name)   name,
 
#define IOX2_CREATE_ERROR_STRING(name)   #name,
 

Functions

template<typename ErrorLike >
auto iox2::legacy::er::toError (ErrorLike &&value)
 
template<class Error >
ErrorCode iox2::legacy::er::toCode (const Error &error)
 
template<>
ErrorCode iox2::legacy::er::toCode< ErrorCode > (const ErrorCode &error)
 
template<class Error >
ModuleId iox2::legacy::er::toModule (const Error &error)
 
template<class Error >
const chariox2::legacy::er::toModuleName (const Error &error)
 
template<class Error >
const chariox2::legacy::er::toErrorName (const Error &error)
 

Variables

static constexpr const chariox2::legacy::er::UNKNOWN_ERROR_NAME = "unknown error"
 
static constexpr const chariox2::legacy::er::UNKNOWN_MODULE_NAME = "unknown module"
 

Macro Definition Documentation

◆ IOX2_CREATE_ERROR_ENUM

#define IOX2_CREATE_ERROR_ENUM (   name)    name,

Definition at line 113 of file types.hpp.

◆ IOX2_CREATE_ERROR_STRING

#define IOX2_CREATE_ERROR_STRING (   name)    #name,

Definition at line 114 of file types.hpp.