baz_fastrak_decoder
gr::sync_block
baz_fastrak_decoder.h
state
baz_fastrak_decoder::state
STATE_UNKNOWN
STATE_SEARCHING
STATE_SYNC
STATE_TYPE
STATE_DECODE
STATE_CRC
STATE_DONE
packet_type
baz_fastrak_decoder::packet_type
PT_UNKNOWN
= 0xFFFF
PT_ID
= 0x0001
enum baz_fastrak_decoder::state typedef enum baz_fastrak_decoder::state baz_fastrak_decoder::state_t state_t baz_fastrak_decoder::state_t
enum baz_fastrak_decoder::packet_type typedef enum baz_fastrak_decoder::packet_type baz_fastrak_decoder::packet_type_t packet_type_t baz_fastrak_decoder::packet_type_t
std::map< packet_type_t, int > typedef std::map<packet_type_t,int> baz_fastrak_decoder::TypeLengthMap TypeLengthMap baz_fastrak_decoder::TypeLengthMap
float float baz_fastrak_decoder::d_sync_threshold d_sync_threshold baz_fastrak_decoder::d_sync_threshold
int int baz_fastrak_decoder::d_sample_rate d_sample_rate baz_fastrak_decoder::d_sample_rate
int int baz_fastrak_decoder::d_oversampling d_oversampling baz_fastrak_decoder::d_oversampling
std::string std::string baz_fastrak_decoder::d_last_id_string d_last_id_string baz_fastrak_decoder::d_last_id_string
packet_type_t packet_type_t baz_fastrak_decoder::d_current_packet_type d_current_packet_type baz_fastrak_decoder::d_current_packet_type
TypeLengthMap TypeLengthMap baz_fastrak_decoder::d_type_length_map d_type_length_map baz_fastrak_decoder::d_type_length_map
state_t state_t baz_fastrak_decoder::d_state d_state baz_fastrak_decoder::d_state
unsigned long long unsigned long long baz_fastrak_decoder::d_bit_buffer d_bit_buffer baz_fastrak_decoder::d_bit_buffer
int int baz_fastrak_decoder::d_bit_counter d_bit_counter baz_fastrak_decoder::d_bit_counter
int int baz_fastrak_decoder::d_sub_symbol_counter d_sub_symbol_counter baz_fastrak_decoder::d_sub_symbol_counter
int int baz_fastrak_decoder::d_payload_bit_counter d_payload_bit_counter baz_fastrak_decoder::d_payload_bit_counter
unsigned int unsigned int baz_fastrak_decoder::d_id d_id baz_fastrak_decoder::d_id
unsigned short unsigned short baz_fastrak_decoder::d_crc d_crc baz_fastrak_decoder::d_crc
unsigned char unsigned char baz_fastrak_decoder::d_crc_buffer d_crc_buffer baz_fastrak_decoder::d_crc_buffer
int int baz_fastrak_decoder::d_total_bit_counter d_total_bit_counter baz_fastrak_decoder::d_total_bit_counter
bool bool baz_fastrak_decoder::d_compute_crc d_compute_crc baz_fastrak_decoder::d_compute_crc
int int baz_fastrak_decoder::d_crc_bit_counter d_crc_bit_counter baz_fastrak_decoder::d_crc_bit_counter
unsigned int unsigned int baz_fastrak_decoder::d_last_id d_last_id baz_fastrak_decoder::d_last_id
unsigned int unsigned int baz_fastrak_decoder::d_last_id_count d_last_id_count baz_fastrak_decoder::d_last_id_count
BAZ_API baz_fastrak_decoder_sptr BAZ_API baz_fastrak_decoder_sptr baz_make_fastrak_decoder (int sample_rate) baz_make_fastrak_decoder baz_fastrak_decoder::baz_make_fastrak_decoder int sample_rate

Return a shared_ptr to a new instance of baz_fastrak_decoder.

To avoid accidental use of raw pointers, baz_fastrak_decoder's constructor is private. baz_make_fastrak_decoder is the public interface for creating new instances.

baz_fastrak_decoder::baz_fastrak_decoder
(int sample_rate)
baz_fastrak_decoder
baz_fastrak_decoder::baz_fastrak_decoder
int sample_rate
void void baz_fastrak_decoder::enter_state (state_t state) enter_state baz_fastrak_decoder::enter_state state_t state
baz_fastrak_decoder::~baz_fastrak_decoder
()
~baz_fastrak_decoder
baz_fastrak_decoder::~baz_fastrak_decoder
void void baz_fastrak_decoder::set_sync_threshold (float threshold) set_sync_threshold baz_fastrak_decoder::set_sync_threshold float threshold
unsigned int unsigned int baz_fastrak_decoder::last_id_count (bool reset=false) last_id_count baz_fastrak_decoder::last_id_count bool reset false
unsigned int unsigned int baz_fastrak_decoder::last_id () const last_id baz_fastrak_decoder::last_id
int int baz_fastrak_decoder::work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) work baz_fastrak_decoder::work int noutput_items gr_vector_const_void_star & input_items gr_vector_void_star & output_items

square2 a stream of floats.

This uses the preferred technique: subclassing gr_sync_block.

baz_fastrak_decoder
gr::sync_block
baz_fastrak_decoder
gr::sync_block
- baz_fastrak_decoder
  baz_fastrak_decoder
- baz_fastrak_decoder
  baz_make_fastrak_decoder
- baz_fastrak_decoder
  d_bit_buffer
- baz_fastrak_decoder
  d_bit_counter
- baz_fastrak_decoder
  d_compute_crc
- baz_fastrak_decoder
  d_crc
- baz_fastrak_decoder
  d_crc_bit_counter
- baz_fastrak_decoder
  d_crc_buffer
- baz_fastrak_decoder
  d_current_packet_type
- baz_fastrak_decoder
  d_id
- baz_fastrak_decoder
  d_last_id
- baz_fastrak_decoder
  d_last_id_count
- baz_fastrak_decoder
  d_last_id_string
- baz_fastrak_decoder
  d_oversampling
- baz_fastrak_decoder
  d_payload_bit_counter
- baz_fastrak_decoder
  d_sample_rate
- baz_fastrak_decoder
  d_state
- baz_fastrak_decoder
  d_sub_symbol_counter
- baz_fastrak_decoder
  d_sync_threshold
- baz_fastrak_decoder
  d_total_bit_counter
- baz_fastrak_decoder
  d_type_length_map
- baz_fastrak_decoder
  enter_state
- baz_fastrak_decoder
  last_id
- baz_fastrak_decoder
  last_id_count
- baz_fastrak_decoder
  packet_type
- baz_fastrak_decoder
  packet_type_t
- baz_fastrak_decoder
  PT_ID
- baz_fastrak_decoder
  PT_UNKNOWN
- baz_fastrak_decoder
  set_sync_threshold
- baz_fastrak_decoder
  state
- baz_fastrak_decoder
  STATE_CRC
- baz_fastrak_decoder
  STATE_DECODE
- baz_fastrak_decoder
  STATE_DONE
- baz_fastrak_decoder
  STATE_SEARCHING
- baz_fastrak_decoder
  STATE_SYNC
- baz_fastrak_decoder
  state_t
- baz_fastrak_decoder
  STATE_TYPE
- baz_fastrak_decoder
  STATE_UNKNOWN
- baz_fastrak_decoder
  TypeLengthMap
- baz_fastrak_decoder
  work
- baz_fastrak_decoder
  ~baz_fastrak_decoder