16 #ifndef PSEN_SCAN_V2_STANDALONE_SCANNER_REPLY_MSG_H 17 #define PSEN_SCAN_V2_STANDALONE_SCANNER_REPLY_MSG_H 23 namespace data_conversion_layer
28 namespace scanner_reply
53 static constexpr std::size_t
SIZE{ 16u };
72 Type retval{
static_cast<Type>(value) };
107 #endif // PSEN_SCAN_V2_STANDALONE_SCANNER_REPLY_MSG_H static constexpr OperationResult convertToOperationResult(const uint32_t &value)
static constexpr Type convertToReplyType(const uint32_t &value)
constexpr Message(const Type &type, const OperationResult &result)
static constexpr std::size_t SIZE
OperationResult
Defines the operation result from the scanner.
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
Type
Defines the possible types of reply messages which can be received from the scanner.
constexpr OperationResult result() const
const OperationResult result_
constexpr Type type() const
Higher level data type representing a reply message from the scanner.