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

A Binary tree representation of the Morse coding scheme. Left transitions occur when a dot is received, whereas right transitions are performed during the reception of a dash. More...

#include <morse_tree.h>

Public Member Functions

 morse_tree (size_t max_len=128)
 
 morse_tree (char unrecognized, size_t max_len=128)
 
 ~morse_tree ()
 
void reset ()
 
bool received_symbol (morse_symbol_t s)
 
std::string get_word ()
 
size_t get_max_word_len () const
 
size_t get_word_len ()
 

Detailed Description

A Binary tree representation of the Morse coding scheme. Left transitions occur when a dot is received, whereas right transitions are performed during the reception of a dash.

The tree follows the ITU International Morse code representation ITU-R M.1677-1

Constructor & Destructor Documentation

◆ morse_tree() [1/2]

gr::satnogs::morse_tree::morse_tree ( size_t  max_len = 128)

◆ morse_tree() [2/2]

gr::satnogs::morse_tree::morse_tree ( char  unrecognized,
size_t  max_len = 128 
)

◆ ~morse_tree()

gr::satnogs::morse_tree::~morse_tree ( )

Member Function Documentation

◆ get_max_word_len()

size_t gr::satnogs::morse_tree::get_max_word_len ( ) const

◆ get_word()

std::string gr::satnogs::morse_tree::get_word ( )

◆ get_word_len()

size_t gr::satnogs::morse_tree::get_word_len ( )

◆ received_symbol()

bool gr::satnogs::morse_tree::received_symbol ( morse_symbol_t  s)

◆ reset()

void gr::satnogs::morse_tree::reset ( )

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