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
14#include <satellites/pdu_head_tail.h>
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
21 namespace gr {
22 namespace satellites {
23
24 class pdu_head_tail_impl : public pdu_head_tail
25{
26 private:
27 int d_mode;
28 size_t d_num;
29
30 public:
31 pdu_head_tail_impl(int mode, size_t num);
32 ~pdu_head_tail_impl();
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 */
gr::satellites::pdu_head_tail_impl::general_work
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::satellites::pdu_head_tail_impl::forecast
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
gr::satellites::pdu_head_tail_impl::msg_handler
void msg_handler(pmt::pmt_t pmt_msg)
gr::satellites::pdu_head_tail_impl::pdu_head_tail_impl
pdu_head_tail_impl(int mode, size_t num)
gr::satellites::pdu_head_tail_impl::~pdu_head_tail_impl
~pdu_head_tail_impl()
gr::satellites::pdu_head_tail
<+description of block+>
Definition pdu_head_tail.h:26
gr
Definition ax100_decode.h:17
pdu_head_tail.h