GNU Radio's SATNOGS Package
gr::satnogs::multi_format_msg_sink Class Reference

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>

Inheritance diagram for gr::satnogs::multi_format_msg_sink:
gr::satnogs::multi_format_msg_sink_impl

Public Types

typedef boost::shared_ptr< multi_format_msg_sinksptr
 

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...
 

Detailed Description

Block accepting clear text messages from various decoders. Its purpose is to forward these messages at other services, programs, stdout, etc,.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ 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
formatthe format that will used to display the messages. 0: Clear Text 1: Hexademical 2: Binary
timestampif set, a ISO 8601 timestamp is inserted in front of each message
out_stdoutif set, the messages are displayed in the stdout. Otherwise messages are saved in a text file
filepathspecifies the file path of the text file

The documentation for this class was generated from the following file: