pdu_head_tail_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2020 Daniel Estevez <daniel@destevez.net>
*
* This file is part of gr-satellites
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_SATELLITES_PDU_HEAD_TAIL_IMPL_H
#define INCLUDED_SATELLITES_PDU_HEAD_TAIL_IMPL_H
#include <satellites/pdu_head_tail.h>
#define PDU_HEADTAIL_HEAD 0
#define PDU_HEADTAIL_HEADMINUS 1
#define PDU_HEADTAIL_TAIL 2
#define PDU_HEADTAIL_TAILPLUS 3
namespace gr {
namespace satellites {
class pdu_head_tail_impl : public pdu_head_tail
{
private:
int d_mode;
size_t d_num;
public:
pdu_head_tail_impl(int mode, size_t num);
~pdu_head_tail_impl();
// Where all the action really happens
void forecast(int noutput_items, gr_vector_int& ninput_items_required);
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 msg_handler(pmt::pmt_t pmt_msg);
};
} // namespace satellites
} // namespace gr
#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