GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
msg_handler.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2005,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_MSG_HANDLER_H
12
#define INCLUDED_GR_MSG_HANDLER_H
13
14
#include <
gnuradio/api.h
>
15
#include <
gnuradio/message.h
>
16
17
namespace
gr
{
18
19
class
msg_handler;
20
typedef
std::shared_ptr<msg_handler> msg_handler_sptr;
21
22
/*!
23
* \brief abstract class of message handlers
24
* \ingroup base
25
*/
26
class
GR_RUNTIME_API
msg_handler
27
{
28
public
:
29
virtual
~
msg_handler
();
30
31
//! handle \p msg
32
virtual
void
handle(
message::sptr
msg) = 0;
33
};
34
35
}
/* namespace gr */
36
37
#endif
/* INCLUDED_GR_MSG_HANDLER_H */
gr::msg_handler
abstract class of message handlers
Definition:
msg_handler.h:26
message.h
GR_RUNTIME_API
#define GR_RUNTIME_API
Definition:
gnuradio-runtime/include/gnuradio/api.h:18
gr::message::sptr
std::shared_ptr< message > sptr
Definition:
message.h:30
api.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gnuradio-runtime
include
gnuradio
msg_handler.h
Generated by
1.8.17