#include "../../include/librealsense2/h/rs_types.h"
#include <memory>
#include <functional>
Go to the source code of this file.
§ MAP_EXTENSION
#define MAP_EXTENSION |
( |
|
E, |
|
|
|
T |
|
) |
| |
Value:template<> struct ExtensionToType<E> { \
using type = T; \
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.
Definition: rs_types.h:94
Preprocessor Macro to define mapping between rs2_extension and their respective interface (and vice versa)