summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/IcePy_Communicator.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/include/IcePy_Communicator.h')
-rw-r--r--gnuradio-runtime/include/IcePy_Communicator.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnuradio-runtime/include/IcePy_Communicator.h b/gnuradio-runtime/include/IcePy_Communicator.h
new file mode 100644
index 0000000000..aae4378229
--- /dev/null
+++ b/gnuradio-runtime/include/IcePy_Communicator.h
@@ -0,0 +1,35 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef ICEPY_COMMUNICATOR_H
+#define ICEPY_COMMUNICATOR_H
+
+#include <Ice/CommunicatorF.h>
+#include <gr_runtime_api.h>
+
+namespace IcePy
+{
+
+extern PyTypeObject CommunicatorType;
+
+GR_RUNTIME_API bool initCommunicator(PyObject*);
+
+GR_RUNTIME_API Ice::CommunicatorPtr getCommunicator(PyObject*);
+
+GR_RUNTIME_API PyObject* createCommunicator(const Ice::CommunicatorPtr&);
+GR_RUNTIME_API PyObject* getCommunicatorWrapper(const Ice::CommunicatorPtr&);
+
+}
+
+extern "C" PyObject* IcePy_initialize(PyObject*, PyObject*);
+extern "C" PyObject* IcePy_initializeWithProperties(PyObject*, PyObject*);
+extern "C" PyObject* IcePy_initializeWithLogger(PyObject*, PyObject*);
+extern "C" PyObject* IcePy_initializeWithPropertiesAndLogger(PyObject*, PyObject*);
+
+#endif