Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Standardized types for templated ports/parameters #215

Open
mormj opened this issue Apr 8, 2022 · 2 comments
Open

Standardized types for templated ports/parameters #215

mormj opened this issue Apr 8, 2022 · 2 comments

Comments

@mormj
Copy link
Contributor

mormj commented Apr 8, 2022

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
Copy link
Contributor Author

mormj commented Apr 8, 2022

@mormj
Copy link
Contributor Author

mormj commented Apr 13, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant