17#ifndef INCLUDED_RDS_PARSER_IMPL_H
18#define INCLUDED_RDS_PARSER_IMPL_H
21#include <gnuradio/thread/thread.h>
26class parser_impl :
public parser
29 parser_impl(
bool log,
bool debug,
unsigned char pty_locale);
35 void send_message(
long, std::string);
36 void parse(pmt::pmt_t pdu);
37 void decode_af_pairs();
38 int decode_af(
unsigned int af_code,
bool lf_mf);
39 void decode_optional_content(
int,
unsigned long int *);
41 void decode_type0(
unsigned int* group,
bool B);
42 void decode_type1(
unsigned int* group,
bool B);
43 void decode_type2(
unsigned int* group,
bool B);
44 void decode_type3(
unsigned int* group,
bool B);
45 void decode_type4(
unsigned int* group,
bool B);
46 void decode_type5(
unsigned int* group,
bool B);
47 void decode_type6(
unsigned int* group,
bool B);
48 void decode_type7(
unsigned int* group,
bool B);
49 void decode_type8(
unsigned int* group,
bool B);
50 void decode_type9(
unsigned int* group,
bool B);
51 void decode_type10(
unsigned int* group,
bool B);
52 void decode_type11(
unsigned int* group,
bool B);
53 void decode_type12(
unsigned int* group,
bool B);
54 void decode_type13(
unsigned int* group,
bool B);
55 void decode_type14(
unsigned int* group,
bool B);
56 void decode_type15(
unsigned int* group,
bool B);
58 unsigned int program_identification;
59 unsigned char program_type;
60 unsigned char pi_country_identification;
61 unsigned char pi_area_coverage;
62 unsigned char pi_program_reference_number;
64 unsigned int radiotext_segment_flags;
65 char program_service_name[8];
66 unsigned int program_service_name_segment_flags;
67 bool radiotext_AB_flag;
68 std::vector<unsigned int> af_pairs;
70 bool traffic_announcement;
78 unsigned char pty_locale;
79 unsigned long int free_format[4];
82 gr::thread::mutex d_mutex;