GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
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 <memory>
18 
20 {
21 public:
24 
26 
27  static void register_booter(rpcserver_booter_base* booter);
28 
29  template <typename T>
31  {
32  public:
34 
35  // TODO: unregister
36  };
37 
38 private:
39  static bool make_aggregator;
40  static bool booter_registered;
41  static bool aggregator_registered;
42  static void rpcserver_booter_base_sptr_dest(rpcserver_booter_base* b) { (void)b; }
43  static std::unique_ptr<rpcserver_booter_base> boot;
44  static std::unique_ptr<rpcserver_booter_aggregator> aggregator;
45 };
46 
47 #endif /* RPCMANAGER_H */
rpcserver_booter_register_helper()
Definition: rpcmanager.h:33
Definition: rpcmanager_base.h:20
Definition: rpcmanager.h:20
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