#include "../../include/librealsense2/h/rs_types.h"
#include <memory>
#include <functional>
Go to the source code of this file.
#define MAP_EXTENSION |
( |
|
E, |
|
|
|
T |
|
) |
| |
Value:template<> struct ExtensionToType<E> { \
static constexpr
const char*
to_string() {
return #
T; }; \
}; \
template<>
struct TypeToExtension<
T> { \
static constexpr
const char*
to_string() {
return #
T; }; \
} \
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
std::string to_string(T value)
Preprocessor Macro to define mapping between rs2_extension and their respective interface (and vice versa)
Definition at line 10 of file extension.h.