14 #ifndef BERRYIDEBUGOBJECTLISTENER_H_ 15 #define BERRYIDEBUGOBJECTLISTENER_H_ 33 OBJECT_CREATED = 0x00000001,
34 OBJECT_DESTROYED = 0x00000002,
35 OBJECT_TRACING = 0x00000004,
36 SMARTPOINTER_CREATED = 0x00000008,
37 SMARTPOINTER_DESTROYED = 0x00000010,
42 Q_DECLARE_FLAGS(Types,
Type)
48 ObjectEventType objCreatedEvent;
49 ObjectEventType objDestroyedEvent;
50 TracingEventType objTracingEvent;
51 SmartPointerEventType spCreatedEvent;
52 SmartPointerEventType spDestroyedEvent;
62 virtual ~IDebugObjectListener();
64 virtual
Events::Types GetEventTypes() const = 0;
66 virtual
void ObjectCreated(const
Object* )
90 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 *)