GNU Radio's SATNOGS Package
|
Block accepting clear text messages from various decoders. Its purpose is to forward these messages at other services, programs, stdout, etc,. More...
#include <multi_format_msg_sink.h>
Public Types | |
typedef boost::shared_ptr< multi_format_msg_sink > | sptr |
Static Public Member Functions | |
static sptr | make (size_t format, bool timestamp=true, bool out_stdout=true, const std::string &filepath="") |
Block accepting clear text messages from various decoders. Its purpose is to either print these messages to stdout or save them in text format in a file. More... | |
Block accepting clear text messages from various decoders. Its purpose is to forward these messages at other services, programs, stdout, etc,.
typedef boost::shared_ptr<multi_format_msg_sink> gr::satnogs::multi_format_msg_sink::sptr |
|
static |
Block accepting clear text messages from various decoders. Its purpose is to either print these messages to stdout or save them in text format in a file.
Depending on format parameter, the contents of each message are converted to hexademical, binary or ASCII format.
format | the format that will used to display the messages. 0: Clear Text 1: Hexademical 2: Binary |
timestamp | if set, a ISO 8601 timestamp is inserted in front of each message |
out_stdout | if set, the messages are displayed in the stdout. Otherwise messages are saved in a text file |
filepath | specifies the file path of the text file |