MCPcopy Create free account
hub / github.com/commontk/CTK / getPlugin

Method getPlugin

Libs/PluginFramework/ctkServiceReference.cpp:99–107  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

97
98//----------------------------------------------------------------------------
99QSharedPointer<ctkPlugin> ctkServiceReference::getPlugin() const
100{
101 if (d_func()->registration == 0 || d_func()->registration->plugin == 0)
102 {
103 return QSharedPointer<ctkPlugin>();
104 }
105
106 return d_func()->registration->plugin->q_func().toStrongRef();
107}
108
109//----------------------------------------------------------------------------
110QList<QSharedPointer<ctkPlugin> > ctkServiceReference::getUsingPlugins() const

Callers 1

operator<<Function · 0.45

Calls 2

d_funcFunction · 0.85
q_funcMethod · 0.45

Tested by

no test coverage detected