GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
rpcserver_booter_aggregator.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 RPCSERVER_BOOTER_AGGREGATOR
12 #define RPCSERVER_BOOTER_AGGREGATOR
13 
14 #include <gnuradio/api.h>
17 #include <memory>
18 #include <string>
19 
20 class rpcserver_server;
21 
23 {
24 public:
27 
28  rpcserver_base* i() override;
29  const std::string& type() override;
30  const std::vector<std::string> endpoints() override;
31 
32  const std::vector<std::string>& registeredServers();
33 
34 protected:
35  friend class rpcmanager;
37 
38 private:
39  std::string d_type;
40  std::shared_ptr<rpcserver_aggregator> server;
41 };
42 
43 #endif /* RPCSERVER_BOOTER_AGGREGATOR */
Definition: rpcmanager.h:20
Definition: rpcserver_aggregator.h:21
Definition: rpcserver_base.h:17
Definition: rpcserver_booter_aggregator.h:23
const std::string & type() override
const std::vector< std::string > & registeredServers()
~rpcserver_booter_aggregator() override
rpcserver_aggregator * agg()
const std::vector< std::string > endpoints() override
rpcserver_base * i() override
Definition: rpcserver_booter_base.h:20
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18