TuttleOFX  1
tuttle::host::ofx::OfxhPluginLoadGuard Class Reference

#include <OfxhPluginLoadGuard.hpp>

Collaboration diagram for tuttle::host::ofx::OfxhPluginLoadGuard:

Public Member Functions

 OfxhPluginLoadGuard (OfxhPlugin &p, OfxhHost &_host)
virtual ~OfxhPluginLoadGuard ()
OfxPlugin * getOfxPlugin ()
const OfxPlugin * getOfxPlugin () const
OfxPlugin * operator-> ()

Private Attributes

OfxhPlugin_plugin
OfxhPluginBinary_pluginBinary
OfxPlugin * _rawOfxPlugin

Detailed Description

Wrapper class for Plugin/PluginBinary. Use in a RAII fashion to make sure the binary gets unloaded when needed.

Definition at line 17 of file OfxhPluginLoadGuard.hpp.


Constructor & Destructor Documentation

tuttle::host::ofx::OfxhPluginLoadGuard::~OfxhPluginLoadGuard ( ) [virtual]

Definition at line 35 of file OfxhPluginLoadGuard.cpp.

References tuttle::host::ofx::OfxhPluginBinary::_binary, _pluginBinary, and tuttle::host::ofx::OfxhBinary::unref().

Here is the call graph for this function:


Member Function Documentation

OfxPlugin* tuttle::host::ofx::OfxhPluginLoadGuard::getOfxPlugin ( ) [inline]
const OfxPlugin* tuttle::host::ofx::OfxhPluginLoadGuard::getOfxPlugin ( ) const [inline]

Definition at line 29 of file OfxhPluginLoadGuard.hpp.

References _rawOfxPlugin.

OfxPlugin* tuttle::host::ofx::OfxhPluginLoadGuard::operator-> ( ) [inline]

Definition at line 31 of file OfxhPluginLoadGuard.hpp.

References _rawOfxPlugin.


Field Documentation


The documentation for this class was generated from the following files: