Add device model & config

This commit is contained in:
John Zhao
2018-04-04 15:52:10 +08:00
parent c7390993dc
commit d1740c625e
10 changed files with 186 additions and 2 deletions

View File

@@ -16,6 +16,17 @@ MYNTEYE_BEGIN_NAMESPACE
* @brief Public enumeration types.
*/
/**
* @ingroup enumerations
* @brief Device model.
*/
enum class Model : std::uint8_t {
/** Standard */
STANDARD,
/** Last guard */
LAST
};
/**
* @ingroup enumerations
* @brief Streams define different type of data.
@@ -154,6 +165,7 @@ enum class Option : std::uint8_t {
return os << static_cast<utype>(value); \
}
MYNTEYE_ENUM_HELPERS(Model)
MYNTEYE_ENUM_HELPERS(Stream)
MYNTEYE_ENUM_HELPERS(Capabilities)
MYNTEYE_ENUM_HELPERS(Info)