MCPcopy Create free account
hub / github.com/KDAB/GammaRay / isObjectCreationQueued

Method isObjectCreationQueued

core/probe.cpp:723–730  ·  view source on GitHub ↗

pre-condition: we have the lock, arbitrary thread

Source from the content-addressed store, hash-verified

721
722// pre-condition: we have the lock, arbitrary thread
723bool Probe::isObjectCreationQueued(QObject *obj) const
724{
725 return std::find_if(m_queuedObjectChanges.begin(), m_queuedObjectChanges.end(),
726 [obj](const ObjectChange &c) {
727 return c.obj == obj && c.type == Probe::ObjectChange::Create;
728 })
729 != m_queuedObjectChanges.end();
730}
731
732// pre-condition: we have the lock, arbitrary thread
733void Probe::purgeChangesForObject(QObject *obj)

Callers 2

objectAddedMethod · 0.80
objectRemovedMethod · 0.80

Calls 2

endMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected