File: pylcm_subscription.h

package info (click to toggle)
lcm 1.3.1%2Brepack1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,784 kB
  • sloc: ansic: 16,184; java: 6,843; cs: 2,266; cpp: 1,594; python: 989; makefile: 348; xml: 252; sh: 62
file content (28 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __pylcm_subscription_h__
#define __pylcm_subscription_h__

#include <Python.h>
#include <lcm/lcm.h>

#include "pylcm.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    PyObject_HEAD

    lcm_subscription_t *subscription;

    PyObject *handler;
    PyLCMObject *lcm_obj;
} PyLCMSubscriptionObject;

extern PyTypeObject pylcm_subscription_type;

#ifdef __cplusplus
}
#endif

#endif