Standardized types for templated ports/parameters
mormj opened this issue · comments
mormj commented
This was brought up by @dkozel in chat
Instead of specifying the c++ types and manually specifying the suffix, use standardized types for things in the yaml file
mormj commented
mormj commented
Went with the sigmf for typekeys
Need to do the same for Parameters
Just need a mapping of GR types to C++ and Python types
GR type | C++ type | Python Type |
---|---|---|
cf64 | std::complex | complex |
cf32 | std::complex | complex |
rf64 | double | float |
rf32 | float | float |
ri64 | int64_t | int |
ri32 | int32_t | int |
ri16 | int16_t | int |
ri8 | int8_t | int |
ru64 | uint64_t | int |
ru32 | uint32_t | int |
ru16 | uint16_t | int |
ru8 | uint8_t | int |
ci16 | std::complex<int16_t> | ?? |
size | size_t | int |
string | std::string | string |
bool | bool | bool |