GNU Radio Manual and C++ API Reference 3.9.8.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
rpcmanager.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2012 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 RPCMANAGER_H
12#define RPCMANAGER_H
13
14#include <gnuradio/api.h>
17#include <iostream>
18#include <memory>
19
21{
22public:
25
27
29
30 template <typename T>
32 {
33 public:
35
36 // TODO: unregister
37 };
38
39private:
40 static bool make_aggregator;
41 static bool booter_registered;
42 static bool aggregator_registered;
43 static void rpcserver_booter_base_sptr_dest(rpcserver_booter_base* b) { (void)b; }
44 static std::unique_ptr<rpcserver_booter_base> boot;
45 static std::unique_ptr<rpcserver_booter_aggregator> aggregator;
46};
47
48#endif /* RPCMANAGER_H */
rpcserver_booter_register_helper()
Definition: rpcmanager.h:34
Definition: rpcmanager_base.h:20
Definition: rpcmanager.h:21
static rpcserver_booter_base * get()
static void register_booter(rpcserver_booter_base *booter)
Definition: rpcserver_booter_base.h:20
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18