11 #include "interfaces/legacy/CallbackHandler.h" 26 PyThreadState* objectThreadState;
PythonCallbackHandler()
We are ASS-U-MEing that this construction is happening within the context of a Python call...
Definition: CallbackHandler.cpp:23
Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (in...
Definition: Addon.cpp:25
This class represents a specialization of the callback handler that specifically checks to see if we'...
Definition: CallbackHandler.h:24
bool shouldRemoveCallback(AddonClass *obj, void *threadState) override
For this method we expect the PyThreadState to be passed as the user data for the check...
Definition: CallbackHandler.cpp:54
This class is primarily for Python support (hence the "Retarded" prefix).
Definition: CallbackHandler.h:42
This class is the superclass for all reference counted classes in the api.
Definition: AddonClass.h:57
bool isStateOk(AddonClass *obj) override
Now we are answering the question as to whether or not we are in the PyThreadState that we were in wh...
Definition: CallbackHandler.cpp:33