Skip to content

suppress output of otf IrDecoder (c++) #559

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
hbcoba opened this issue May 29, 2018 · 3 comments
Closed

suppress output of otf IrDecoder (c++) #559

hbcoba opened this issue May 29, 2018 · 3 comments
Assignees

Comments

@hbcoba
Copy link

hbcoba commented May 29, 2018

I am using the IR OTF decoder to get a readable ascii representation of SBE messages (c++ version).
The IrDecoder.h currently does some output to std::cout, which makes it difficult to be used in a command line tool: our tool is meant to only output the ascii message representation and nothing else (to be usable in combination with classic text processing tools like sed, awk, grep, etc).

I would suggest to remove any output of IrDecoder or at least make it optional.

@mjpt777
Copy link
Contributor

mjpt777 commented May 29, 2018

I agree this would make sense. @tmontgomery any reason for the output to be in there?

@tmontgomery
Copy link
Contributor

No reason other than debugging.

@hbcoba
Copy link
Author

hbcoba commented May 29, 2018

Great, thank you!

@mjpt777 mjpt777 closed this as completed Jun 14, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants