#include <uhd/types/io_type.hpp>
Public Types | |
enum | tid_t { CUSTOM_TYPE = int('?'), COMPLEX_FLOAT64 = int('d'), COMPLEX_FLOAT32 = int('f'), COMPLEX_INT16 = int('s'), COMPLEX_INT8 = int('b') } |
Public Member Functions | |
io_type_t (tid_t tid) | |
io_type_t (size_t size) | |
Public Attributes | |
const size_t | size |
const tid_t | tid |
The DEPRECATED Input/Output configuration struct: Used to specify the IO type with device send/recv.
Deprecated in favor of streamer interface. Its still in this file for the sake of gr-uhd swig.
Built in IO types known to the system.
uhd::io_type_t::io_type_t | ( | tid_t | tid | ) |
Create an io type from a built-in type id.
tid | a type id known to the system |
uhd::io_type_t::io_type_t | ( | size_t | size | ) |
Create an io type from attributes. The tid will be set to custom.
size | the size in bytes |
const size_t uhd::io_type_t::size |
The size of this io type in bytes.
const tid_t uhd::io_type_t::tid |
The type id of this io type. Good for using with switch statements.