18 #ifndef INCLUDED_UHD_TYPES_METADATA_HPP 19 #define INCLUDED_UHD_TYPES_METADATA_HPP 23 #include <boost/cstdint.hpp> 43 has_time_spec =
false;
45 more_fragments =
false;
47 start_of_burst =
false;
49 error_code = ERROR_CODE_NONE;
50 out_of_sequence =
false;
96 ERROR_CODE_NONE = 0x0,
98 ERROR_CODE_TIMEOUT = 0x1,
100 ERROR_CODE_LATE_COMMAND = 0x2,
102 ERROR_CODE_BROKEN_CHAIN = 0x4,
111 ERROR_CODE_OVERFLOW = 0x8,
113 ERROR_CODE_ALIGNMENT = 0xc,
115 ERROR_CODE_BAD_PACKET = 0xf
127 std::string to_pp_string(
bool compact=
true)
const;
133 std::string strerror(
void)
const;
183 EVENT_CODE_BURST_ACK = 0x1,
185 EVENT_CODE_UNDERFLOW = 0x2,
187 EVENT_CODE_SEQ_ERROR = 0x4,
189 EVENT_CODE_TIME_ERROR = 0x8,
191 EVENT_CODE_UNDERFLOW_IN_PACKET = 0x10,
193 EVENT_CODE_SEQ_ERROR_IN_BURST = 0x20,
195 EVENT_CODE_USER_PAYLOAD = 0x40
201 boost::uint32_t user_payload[4];
Definition: time_spec.hpp:39
#define UHD_API
Definition: config.hpp:79
Definition: convert.hpp:28