itom
Loading...
Searching...
No Matches
ito::PythonTimer Class Reference

Classes

struct  PyTimer
 

Static Public Member Functions

static void PyTimer_dealloc (PyTimer *self)
 
static PyObject * PyTimer_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
static int PyTimer_init (PyTimer *self, PyObject *args, PyObject *kwds)
 
static PyObject * PyTimer_repr (PyTimer *self)
 
static PyObject * PyTimer_start (PyTimer *self)
 
static PyObject * PyTimer_stop (PyTimer *self)
 
static PyObject * PyTimer_isActive (PyTimer *self)
 
static PyObject * PyTimer_setInterval (PyTimer *self, PyObject *args)
 

Static Public Attributes

static PyGetSetDef PyTimer_getseters []
 
static PyMemberDef PyTimer_members []
 
static PyMethodDef PyTimer_methods []
 
static PyTypeObject PyTimerType
 
static PyModuleDef PyTimerModule
 

Member Data Documentation

◆ PyTimer_getseters

PyGetSetDef ito::PythonTimer::PyTimer_getseters
static
Initial value:
= {
{nullptr}
}

◆ PyTimer_members

PyMemberDef ito::PythonTimer::PyTimer_members
static
Initial value:
= {
{nullptr}
}

◆ PyTimer_methods

PyMethodDef ito::PythonTimer::PyTimer_methods
static
Initial value:
= {
{"start", (PyCFunction)PyTimer_start, METH_NOARGS, PyTimerStart_doc},
{"stop", (PyCFunction)PyTimer_stop, METH_NOARGS, PyTimerStop_doc},
{"isActive", (PyCFunction)PyTimer_isActive, METH_NOARGS, PyTimerIsActive_doc},
{"setInterval", (PyCFunction)PyTimer_setInterval, METH_VARARGS, PyTimerSetInterval_doc},
{nullptr}
}

◆ PyTimerModule

PyModuleDef ito::PythonTimer::PyTimerModule
static
Initial value:
= {
PyModuleDef_HEAD_INIT,
"timer",
"timer for callback function",
-1,
nullptr, nullptr, nullptr, nullptr, nullptr
}

The documentation for this class was generated from the following files: