21 #ifndef INCLUDED_CCSDS_SYNCHRONIZECADUSOFT_IMPL_H 22 #define INCLUDED_CCSDS_SYNCHRONIZECADUSOFT_IMPL_H 40 std::string d_tag_name;
42 uint64_t d_access_code_0;
43 uint64_t d_access_code_1;
44 uint64_t d_access_code_2;
45 uint64_t d_access_code_3;
46 std::vector<uint64_t> d_wrong_bits;
47 std::vector<uint64_t> d_nwrong;
49 unsigned long long d_access_code;
51 unsigned long long d_data_reg;
52 unsigned long long d_mask;
54 unsigned int d_threshold;
57 pmt::pmt_t d_key, d_me;
58 const char* hex_char_to_bin(
char c);
59 std::string hex_str_to_bin_str(
const std::string& hex);
60 gr::thread::mutex d_mutex_access_code;
62 uint64_t abs_out_sample_cnt_last;
63 uint64_t abs_out_sample_cnt_now;
64 uint64_t d_consec_sync;
65 uint64_t d_consec_loss;
70 bool d_invert_g1, d_invert_g2;
71 std::string convEncode(std::string in,
bool invG1,
bool invG2,
int code);
74 synchronizeCADUSoft_impl(std::string sync,
int stl,
int lts,
int slip,
int frame_size,
int fec,
int invCC, std::string tag_name);
78 int work(
int noutput_items,
79 gr_vector_const_void_star &input_items,
80 gr_vector_void_star &output_items);
cc
Definition: synchronizeCADUSoft_impl.h:26
~synchronizeCADUSoft_impl()
Definition: synchronizeCADUSoft_impl.h:26
Definition: synchronizeCADUSoft_impl.h:25
bool set_access_code(const std::string &access_code)
synchronizeCADUSoft_impl(std::string sync, int stl, int lts, int slip, int frame_size, int fec, int invCC, std::string tag_name)
state
Definition: synchronizeCADUHard_impl.h:25
Definition: synchronizeCADUSoft_impl.h:26
Definition: cc_depuncture.h:28
Definition: synchronizeCADUSoft_impl.h:30
Definition: synchronizeCADUSoft_impl.h:26
Definition: synchronizeCADUSoft_impl.h:25
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
<+description of block+>
Definition: synchronizeCADUSoft.h:36
Definition: synchronizeCADUSoft_impl.h:26
Definition: synchronizeCADUSoft_impl.h:26