18 #ifndef BERRYIDEBUGOBJECTLISTENER_H_
19 #define BERRYIDEBUGOBJECTLISTENER_H_
37 OBJECT_CREATED = 0x00000001,
38 OBJECT_DESTROYED = 0x00000002,
39 OBJECT_TRACING = 0x00000004,
40 SMARTPOINTER_CREATED = 0x00000008,
41 SMARTPOINTER_DESTROYED = 0x00000010,
46 Q_DECLARE_FLAGS(Types, Type)
52 ObjectEventType objCreatedEvent;
53 ObjectEventType objDestroyedEvent;
54 TracingEventType objTracingEvent;
55 SmartPointerEventType spCreatedEvent;
56 SmartPointerEventType spDestroyedEvent;
66 virtual ~IDebugObjectListener();
68 virtual
Events::Types GetEventTypes() const = 0;
70 virtual
void ObjectCreated(const
Object* )
94 Q_DECLARE_OPERATORS_FOR_FLAGS(berry::IDebugObjectListener::Events::Types)
Light weight base class for most BlueBerry classes.
virtual void SmartPointerDestroyed(unsigned int, const Object *)
virtual void ObjectTracingChanged(unsigned int, bool=true, const Object *=nullptr)
#define org_blueberry_core_runtime_EXPORT
virtual void SmartPointerCreated(unsigned int, const Object *)
virtual void ObjectDestroyed(const Object *)