TuttleOFX
1
|
#include <OfxhPluginHandle.hpp>
Public Member Functions | |
OfxhPluginHandle (OfxhPlugin &p, OfxhHost &_host) | |
virtual | ~OfxhPluginHandle () |
OfxPlugin * | getOfxPlugin () |
const OfxPlugin * | getOfxPlugin () const |
OfxPlugin * | operator-> () |
Private Attributes | |
OfxhPlugin * | _p |
OfxhPluginBinary * | _b |
OfxPlugin * | _op |
wrapper class for Plugin/PluginBinary. use in a RAIA fashion to make sure the binary gets unloaded when needed and not before.
Definition at line 17 of file OfxhPluginHandle.hpp.
tuttle::host::ofx::OfxhPluginHandle::OfxhPluginHandle | ( | OfxhPlugin & | p, |
OfxhHost & | _host | ||
) |
Definition at line 11 of file OfxhPluginHandle.cpp.
References _b, tuttle::host::ofx::OfxhPluginBinary::_binary, _op, _p, tuttle::host::ofx::OfxhBinary::findSymbol(), tuttle::host::ofx::OfxhPlugin::getBinary(), tuttle::host::ofx::OfxhPluginBinary::getBundlePath(), tuttle::host::ofx::OfxhHost::getHandle(), tuttle::host::ofx::OfxhPlugin::getIndex(), tuttle::host::ofx::OfxhBinary::ref(), and OfxPlugin::setHost.
tuttle::host::ofx::OfxhPluginHandle::~OfxhPluginHandle | ( | ) | [virtual] |
Definition at line 28 of file OfxhPluginHandle.cpp.
References _b, tuttle::host::ofx::OfxhPluginBinary::_binary, and tuttle::host::ofx::OfxhBinary::unref().
OfxPlugin* tuttle::host::ofx::OfxhPluginHandle::getOfxPlugin | ( | ) | [inline] |
Definition at line 27 of file OfxhPluginHandle.hpp.
References _op.
Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectPlugin::describeInContextAction(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::mainEntry(), tuttle::host::ofx::imageEffect::OfxhImageEffectNode::OfxhImageEffectNode(), and tuttle::host::ofx::imageEffect::OfxhImageEffectPlugin::~OfxhImageEffectPlugin().
const OfxPlugin* tuttle::host::ofx::OfxhPluginHandle::getOfxPlugin | ( | ) | const [inline] |
Definition at line 28 of file OfxhPluginHandle.hpp.
References _op.
OfxPlugin* tuttle::host::ofx::OfxhPluginHandle::operator-> | ( | ) | [inline] |
Definition at line 30 of file OfxhPluginHandle.hpp.
References _op.
Definition at line 20 of file OfxhPluginHandle.hpp.
Referenced by OfxhPluginHandle(), and ~OfxhPluginHandle().
Definition at line 21 of file OfxhPluginHandle.hpp.
Referenced by getOfxPlugin(), OfxhPluginHandle(), and operator->().
Definition at line 19 of file OfxhPluginHandle.hpp.
Referenced by OfxhPluginHandle().