GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
msg_accepter.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2009,2013 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* SPDX-License-Identifier: GPL-3.0-or-later
8
*
9
*/
10
11
#ifndef INCLUDED_GR_RUNTIME_MSG_ACCEPTER_H
12
#define INCLUDED_GR_RUNTIME_MSG_ACCEPTER_H
13
14
#include <
gnuradio/api.h
>
15
#include <
gnuradio/messages/msg_accepter.h
>
16
#include <
pmt/pmt.h
>
17
18
namespace
gr
{
19
20
/*!
21
* \brief Accepts messages and inserts them into a message queue,
22
* then notifies subclass gr::basic_block there is a message pending.
23
*/
24
class
GR_RUNTIME_API
msg_accepter
:
public
gr::messages::msg_accepter
25
{
26
public
:
27
msg_accepter
();
28
~
msg_accepter
()
override
;
29
30
void
post(
pmt::pmt_t
which_port,
pmt::pmt_t
msg)
override
;
31
};
32
33
}
/* namespace gr */
34
35
#endif
/* INCLUDED_GR_RUNTIME_MSG_ACCEPTER_H */
gr::msg_accepter
Accepts messages and inserts them into a message queue, then notifies subclass gr::basic_block there ...
Definition:
msg_accepter.h:24
msg_accepter.h
GR_RUNTIME_API
#define GR_RUNTIME_API
Definition:
gnuradio-runtime/include/gnuradio/api.h:18
pmt::pmt_t
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition:
pmt.h:84
pmt.h
api.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr::messages::msg_accepter
Virtual base class that accepts messages.
Definition:
messages/msg_accepter.h:24
gnuradio-runtime
include
gnuradio
msg_accepter.h
Generated by
1.8.17