itom
Loading...
Searching...
No Matches
ito::TimerCallback Class Reference
Inheritance diagram for ito::TimerCallback:

Public Types

enum class  CallableType { Callable_Invalid , Callable_Method , Callable_Function , Callable_CFunction }
 

Public Slots

void timeout ()
 

Public Attributes

PyObject * m_function
 
PyObject * m_boundedInstance
 type of the python callable (see CallableType)
 
CallableType m_callableType
 new reference to a (empty) tuple with arguments passed to the callable function
 
PyObject * m_callbackArgs
 

Member Enumeration Documentation

◆ CallableType

Enumerator
Callable_Invalid 

the callable is invalid

class method (written in python), the function is stored in m_function, the self object is stored in m_boundedInstance

Callable_Method 

unbounded python method, the function is stored in m_function, m_boundedInstance is NULL

Callable_Function 

function, written in C, stored in m_function. m_boundedInstance is NULL, since the potential self object is also contained in the CFunction object


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