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>
|
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,.
◆ sptr
◆ make()
static sptr gr::satnogs::multi_format_msg_sink::make |
( |
size_t |
format, |
|
|
bool |
timestamp = true , |
|
|
bool |
out_stdout = true , |
|
|
const std::string & |
filepath = "" |
|
) |
| |
|
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.
- Parameters
-
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 |
The documentation for this class was generated from the following file: