GNU Radio's SATELLITES Package
pdu_head_tail_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2020 Daniel Estevez <daniel@destevez.net>
4 *
5 * This file is part of gr-satellites
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_SATELLITES_PDU_HEAD_TAIL_IMPL_H
12#define INCLUDED_SATELLITES_PDU_HEAD_TAIL_IMPL_H
13
15
16#define PDU_HEADTAIL_HEAD 0
17#define PDU_HEADTAIL_HEADMINUS 1
18#define PDU_HEADTAIL_TAIL 2
19#define PDU_HEADTAIL_TAILPLUS 3
20
21namespace gr {
22namespace satellites {
23
25{
26private:
27 int d_mode;
28 size_t d_num;
29
30public:
31 pdu_head_tail_impl(int mode, size_t num);
33
34 // Where all the action really happens
35 void forecast(int noutput_items, gr_vector_int& ninput_items_required);
36
37 int general_work(int noutput_items,
38 gr_vector_int& ninput_items,
39 gr_vector_const_void_star& input_items,
40 gr_vector_void_star& output_items);
41
42 void msg_handler(pmt::pmt_t pmt_msg);
43};
44
45} // namespace satellites
46} // namespace gr
47
48#endif /* INCLUDED_SATELLITES_PDU_HEAD_TAIL_IMPL_H */
Definition: pdu_head_tail_impl.h:25
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
void msg_handler(pmt::pmt_t pmt_msg)
pdu_head_tail_impl(int mode, size_t num)
<+description of block+>
Definition: pdu_head_tail.h:26
Definition: ax100_decode.h:17