summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/controlport
diff options
context:
space:
mode:
authorNate Goergen <nate.goergen.gitlab1@mile10.com>2015-03-07 23:20:36 -0600
committerTom Rondeau <tom@trondeau.com>2015-04-02 15:38:57 -0700
commit44466b0037ef4fead18c8a28e9cc198120ce23e8 (patch)
tree4f25fb7c0ec62a8067f7f19ba9a7f7cc8bc101ea /gnuradio-runtime/lib/controlport
parente1352dd3cd401dcb36575e89894d14be71860dc8 (diff)
controlport: Some documentation
Diffstat (limited to 'gnuradio-runtime/lib/controlport')
-rw-r--r--gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc17
-rw-r--r--gnuradio-runtime/lib/controlport/thrift/thrift_application_base.cc1
2 files changed, 16 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
index 985da4943e..2a31a4f67a 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
@@ -31,6 +31,10 @@ namespace {
static const char* const ENDPOINT_NAME("gnuradio");
};
+/*!
+ * \brief A booter implementation for a Thrift application class.
+ */
+
rpcserver_booter_thrift::rpcserver_booter_thrift() :
thrift_server_template<rpcserver_base,
rpcserver_thrift,
@@ -43,6 +47,10 @@ rpcserver_booter_thrift::rpcserver_booter_thrift() :
rpcserver_booter_thrift::~rpcserver_booter_thrift()
{;}
+/*!
+ * \brief TBD
+ */
+
rpcserver_base*
rpcserver_booter_thrift::i()
{
@@ -51,6 +59,10 @@ rpcserver_booter_thrift::i()
GNURadio::ControlPortIf>::i();
}
+/*!
+ * \brief Returns the endpoint string for the application
+ */
+
const std::vector<std::string>
rpcserver_booter_thrift::endpoints()
{
@@ -59,7 +71,10 @@ rpcserver_booter_thrift::endpoints()
GNURadio::ControlPortIf>::endpoints();
}
-<class rpcserver_base, class rpcserver_booter_thrift>
+// Specalized thrift_application_base attributes and functions
+// for this rpcserver_booter instance
+
+template<class rpcserver_base, class rpcserver_booter_thrift>
const unsigned int thrift_application_base<rpcserver_base, rpcserver_booter_thrift>::d_default_max_init_attempts(100U);
template<class rpcserver_base, class rpcserver_booter_thrift>
diff --git a/gnuradio-runtime/lib/controlport/thrift/thrift_application_base.cc b/gnuradio-runtime/lib/controlport/thrift/thrift_application_base.cc
index 45d4b2018b..282ed9fc63 100644
--- a/gnuradio-runtime/lib/controlport/thrift/thrift_application_base.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/thrift_application_base.cc
@@ -21,4 +21,3 @@
*/
#include <gnuradio/thrift_application_base.h>
-