TuttleOFX
1
|
#include <Core.hpp>
typedef Core tuttle::host::Core::This |
tuttle::host::Core::Core | ( | ) | [private] |
Definition at line 44 of file Core.cpp.
References _imageEffectPluginCache, _memoryPool, _pluginCache, tuttle::host::ofx::OfxhPluginCache::registerAPICache(), tuttle::host::ofx::OfxhPluginCache::setCacheVersion(), and tuttle::host::memory::IMemoryPool::updateMemoryAuthorizedWithRAM().
const Host& tuttle::host::Core::getHost | ( | ) | const [inline] |
Definition at line 52 of file Core.hpp.
References _host.
Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::canCurrentlyHandleMultipleClipDepths(), tuttle::host::ofx::imageEffect::OfxhImageEffectPlugin::createInstance(), tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::OfxhImageEffectNodeDescriptor(), and tuttle::host::ofx::imageEffect::OfxhImageEffectPluginCache::pluginSupported().
ofx::imageEffect::OfxhImageEffectPlugin* tuttle::host::Core::getImageEffectPluginById | ( | const std::string & | id, |
int | vermaj = -1 , |
||
int | vermin = -1 |
||
) | [inline] |
Definition at line 66 of file Core.hpp.
References _imageEffectPluginCache, and tuttle::host::ofx::imageEffect::OfxhImageEffectPluginCache::getPluginById().
Referenced by BOOST_AUTO_TEST_CASE(), and tuttle::host::createNode().
const ofx::imageEffect::OfxhImageEffectPluginCache& tuttle::host::Core::getImageEffectPluginCache | ( | ) | const [inline] |
Definition at line 58 of file Core.hpp.
References _imageEffectPluginCache.
Referenced by tuttle::host::operator<<().
memory::IMemoryCache& tuttle::host::Core::getMemoryCache | ( | ) | [inline] |
Definition at line 62 of file Core.hpp.
References _memoryCache.
Referenced by tuttle::host::graph::ProcessGraph::process(), and tuttle::host::graph::ProcessGraph::processAtTime().
const memory::IMemoryCache& tuttle::host::Core::getMemoryCache | ( | ) | const [inline] |
Definition at line 63 of file Core.hpp.
References _memoryCache.
memory::IMemoryPool& tuttle::host::Core::getMemoryPool | ( | ) | [inline] |
Definition at line 60 of file Core.hpp.
References _memoryPool.
const memory::IMemoryPool& tuttle::host::Core::getMemoryPool | ( | ) | const [inline] |
Definition at line 61 of file Core.hpp.
References _memoryPool.
ofx::OfxhPluginCache& tuttle::host::Core::getPluginCache | ( | ) | [inline] |
Definition at line 47 of file Core.hpp.
References _pluginCache.
Referenced by BOOST_AUTO_TEST_CASE(), getPlugins(), operator[](), and tuttle::host::PreloadPlugins::PreloadPlugins().
const ofx::OfxhPluginCache& tuttle::host::Core::getPluginCache | ( | ) | const [inline] |
Definition at line 48 of file Core.hpp.
References _pluginCache.
const std::list<ofx::OfxhPlugin*>& tuttle::host::Core::getPlugins | ( | ) | const [inline] |
Definition at line 50 of file Core.hpp.
References getPluginCache(), and tuttle::host::ofx::OfxhPluginCache::getPlugins().
Preferences& tuttle::host::Core::getPreferences | ( | ) | [inline] |
Definition at line 54 of file Core.hpp.
References _preferences.
Referenced by BOOST_AUTO_TEST_CASE(), and preload().
const Preferences& tuttle::host::Core::getPreferences | ( | ) | const [inline] |
Definition at line 55 of file Core.hpp.
References _preferences.
const ofx::OfxhPlugin& tuttle::host::Core::operator[] | ( | const std::string & | name | ) | const [inline] |
Definition at line 75 of file Core.hpp.
References tuttle::host::ofx::OfxhPluginCache::getPluginById(), and getPluginCache().
void tuttle::host::Core::preload | ( | const bool | useCache = true | ) |
Definition at line 65 of file Core.cpp.
References _isPreloaded, _pluginCache, getPreferences(), tuttle::host::Preferences::getTuttleHomePath(), tuttle::host::ofx::OfxhPluginCache::isDirty(), tuttle::host::ofx::OfxhPluginCache::scanPluginFiles(), OFX::to_string(), TUTTLE_INFO, TUTTLE_LOG_DEBUG, and TUTTLE_LOG_ERROR.
Referenced by BOOST_AUTO_TEST_CASE(), main(), and tuttle::host::PreloadPlugins::PreloadPlugins().
std::ostream& operator<< | ( | std::ostream & | os, |
const This & | v | ||
) | [friend] |
Host tuttle::host::Core::_host [private] |
Definition at line 38 of file Core.hpp.
Referenced by Core(), getImageEffectPluginById(), and getImageEffectPluginCache().
bool tuttle::host::Core::_isPreloaded [private] |
Definition at line 41 of file Core.hpp.
Referenced by getMemoryCache().
Definition at line 40 of file Core.hpp.
Referenced by Core(), and getMemoryPool().
Definition at line 39 of file Core.hpp.
Referenced by Core(), getPluginCache(), and preload().
Preferences tuttle::host::Core::_preferences [private] |
Definition at line 44 of file Core.hpp.
Referenced by getPreferences().