GNU Radio 3.7.1 C++ API
|
00001 // ********************************************************************** 00002 // 00003 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. 00004 // 00005 // This copy of Ice is licensed to you under the terms described in the 00006 // ICE_LICENSE file included in this distribution. 00007 // 00008 // ********************************************************************** 00009 00010 #ifndef ICEPY_COMMUNICATOR_H 00011 #define ICEPY_COMMUNICATOR_H 00012 00013 #include <Ice/CommunicatorF.h> 00014 #include <gnuradio/api.h> 00015 00016 namespace IcePy 00017 { 00018 00019 extern PyTypeObject CommunicatorType; 00020 00021 GR_RUNTIME_API bool initCommunicator(PyObject*); 00022 00023 GR_RUNTIME_API Ice::CommunicatorPtr getCommunicator(PyObject*); 00024 00025 GR_RUNTIME_API PyObject* createCommunicator(const Ice::CommunicatorPtr&); 00026 GR_RUNTIME_API PyObject* getCommunicatorWrapper(const Ice::CommunicatorPtr&); 00027 00028 } 00029 00030 extern "C" PyObject* IcePy_initialize(PyObject*, PyObject*); 00031 extern "C" PyObject* IcePy_initializeWithProperties(PyObject*, PyObject*); 00032 extern "C" PyObject* IcePy_initializeWithLogger(PyObject*, PyObject*); 00033 extern "C" PyObject* IcePy_initializeWithPropertiesAndLogger(PyObject*, PyObject*); 00034 00035 #endif