#include <cctype>#include <cstdlib>#include <cstdio>#include <map>#include <string>#include <unistd.h>#include <pthread.h>#include <Python.h>#include "dic.h"#include "dis.h"#include "dim_common.h"#include "pydim_utils.cpp"Go to the source code of this file.
Namespaces | |
| namespace | std |
Data Structures | |
| struct | _dic_cmnd_callback |
| struct | _dic_info_service_callback |
| struct | CmndCallback |
| struct | PyCallback |
| struct | ServiceCallback |
Defines | |
| #define | DIMC_MODULE |
Typedefs | |
| typedef CmndCallback * | CmndCallbackPtr |
| typedef void * | func (int *) |
| typedef ServiceCallback * | ServiceCallbackPtr |
Functions | |
| void | _dic_cmnd_callback_dummy (void *, int *) |
| void | _dic_error_user_routine_dummy (int, int, char *) |
| void | _dic_info_service_dummy (void *, void *, int *) |
| static void | dim_callbackCommandFunc (void *, void *, int *) |
| static PyObject * | dim_dic_add_error_handler (PyObject *self, PyObject *args) |
| static PyObject * | dim_dic_cmnd_callback (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_cmnd_service (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_disable_padding (PyObject *, PyObject *) |
| static PyObject * | dim_dic_get_conn_id (PyObject *, PyObject *) |
| static PyObject * | dim_dic_get_dns_node (PyObject *, PyObject *) |
| static PyObject * | dim_dic_get_dns_port (PyObject *, PyObject *) |
| static PyObject * | dim_dic_get_error_services (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_get_format (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_get_id (PyObject *, PyObject *) |
| static PyObject * | dim_dic_get_quality (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_get_server (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_get_server_services (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_get_timestamp (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_info_service (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_info_service_stamped (PyObject *self, PyObject *args) |
| static PyObject * | dim_dic_release_service (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_set_dns_node (PyObject *, PyObject *args) |
| static PyObject * | dim_dic_set_dns_port (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_add_client_exit_handler (PyObject *self, PyObject *args) |
| static PyObject * | dim_dis_add_cmnd (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_add_error_handler (PyObject *self, PyObject *args) |
| static PyObject * | dim_dis_add_exit_handler (PyObject *self, PyObject *args) |
| static PyObject * | dim_dis_add_service (PyObject *, PyObject *args) |
| static void | dim_dis_callbackClientExitHandler (int *tag) |
| static void | dim_dis_callbackErrorHandler (int severity, int error_code, char *message) |
| static void | dim_dis_callbackExitHandler (int *code) |
| static PyObject * | dim_dis_get_client (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_get_client_services (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_get_conn_id (PyObject *, PyObject *) |
| static PyObject * | dim_dis_get_dns_node (PyObject *, PyObject *) |
| static PyObject * | dim_dis_get_dns_port (PyObject *, PyObject *) |
| static PyObject * | dim_dis_get_error_services (PyObject *, PyObject *) |
| static PyObject * | dim_dis_get_next_cmnd (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_get_timeout (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_remove_service (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_selective_update_service (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_set_client_exit_handler (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_set_dns_node (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_set_dns_port (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_set_quality (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_set_timestamp (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_start_serving (PyObject *, PyObject *args) |
| static PyObject * | dim_dis_stop_serving (PyObject *, PyObject *) |
| static PyObject * | dim_dis_update_service (PyObject *, PyObject *args) |
| PyMODINIT_FUNC | initdimc (void) |
| void | serviceProxy (void *tagp, void **buf, int *size, int *) |
Variables | |
| static PyCallback | _dic_callback_errorHandler_func |
| unsigned long | _dic_cmnd_callback_ID |
| static map< long, _dic_cmnd_callback * > | _dic_cmnd_callback_tag2Callback |
| static map< unsigned int, _dic_info_service_callback * > | _dic_info_service_id2Callback |
| static map< string, _dic_info_service_callback * > | _dic_info_service_name2Callback |
| map< string, CmndCallbackPtr > | cmndName2PythonFunc |
| map< long, CmndCallbackPtr > | cmndUniqueTag2PythonFunc |
| static PyMethodDef | DimMethods [] |
| static PyCallback | dis_callbackClientExitHandler_func |
| static PyCallback | dis_callbackErrorHandler_func |
| static PyCallback | dis_callbackExitHandler_func |
| static pthread_t | maintid |
| static pthread_mutex_t | pydimlock = PTHREAD_MUTEX_INITIALIZER |
| static char | server_name [HOST_NAME_MAX+1] |
| map< unsigned int, ServiceCallbackPtr > | serviceID2Callback |
| #define DIMC_MODULE |
Definition at line 1 of file dimmodule.cpp.
| typedef CmndCallback* CmndCallbackPtr |
Definition at line 38 of file dimmodule.cpp.
| typedef void* func(int *) |
Definition at line 26 of file dimmodule.cpp.
| typedef ServiceCallback* ServiceCallbackPtr |
Definition at line 54 of file dimmodule.cpp.
| PyMODINIT_FUNC initdimc | ( | void | ) |
Definition at line 1820 of file dimmodule.cpp.
| unsigned long _dic_cmnd_callback_ID |
Definition at line 76 of file dimmodule.cpp.
map<long, _dic_cmnd_callback*> _dic_cmnd_callback_tag2Callback [static] |
Definition at line 81 of file dimmodule.cpp.
map<unsigned int, _dic_info_service_callback*> _dic_info_service_id2Callback [static] |
Definition at line 80 of file dimmodule.cpp.
map<string,_dic_info_service_callback*> _dic_info_service_name2Callback [static] |
Definition at line 79 of file dimmodule.cpp.
| map<string, CmndCallbackPtr> cmndName2PythonFunc |
Definition at line 40 of file dimmodule.cpp.
| map<long, CmndCallbackPtr> cmndUniqueTag2PythonFunc |
Definition at line 41 of file dimmodule.cpp.
PyMethodDef DimMethods[] [static] |
Definition at line 1596 of file dimmodule.cpp.
pthread_t maintid [static] |
Definition at line 1816 of file dimmodule.cpp.
pthread_mutex_t pydimlock = PTHREAD_MUTEX_INITIALIZER [static] |
Definition at line 1817 of file dimmodule.cpp.
char server_name[HOST_NAME_MAX+1] [static] |
Definition at line 25 of file dimmodule.cpp.
| map<unsigned int, ServiceCallbackPtr> serviceID2Callback |
Definition at line 55 of file dimmodule.cpp.
1.4.7