TuttleOFX  1
tuttle::host::Core Class Reference

#include <Core.hpp>

Inheritance diagram for tuttle::host::Core:
Collaboration diagram for tuttle::host::Core:

Public Types

typedef Core This

Public Member Functions

ofx::OfxhPluginCachegetPluginCache ()
const ofx::OfxhPluginCachegetPluginCache () const
const std::list
< ofx::OfxhPlugin * > & 
getPlugins () const
const HostgetHost () const
tuttle::common::FormattergetFormatter ()
PreferencesgetPreferences ()
const PreferencesgetPreferences () const
const
ofx::imageEffect::OfxhImageEffectPluginCache
getImageEffectPluginCache () const
memory::IMemoryPoolgetMemoryPool ()
const memory::IMemoryPoolgetMemoryPool () const
memory::IMemoryCachegetMemoryCache ()
const memory::IMemoryCachegetMemoryCache () const
ofx::imageEffect::OfxhImageEffectPlugingetImageEffectPluginById (const std::string &id, int vermaj=-1, int vermin=-1)
void preload (const bool useCache=true)
const ofx::OfxhPluginoperator[] (const std::string &name) const

Private Member Functions

 Core ()
 ~Core ()

Private Attributes

Host _host
ofx::imageEffect::OfxhImageEffectPluginCache _imageEffectPluginCache
ofx::OfxhPluginCache _pluginCache
memory::IMemoryPool_memoryPool
memory::IMemoryCache_memoryCache
bool _isPreloaded
boost::shared_ptr
< tuttle::common::Formatter
_formatter
Preferences _preferences

Friends

class Singleton< Core >
std::ostream & operator<< (std::ostream &os, const This &v)

Detailed Description

Definition at line 21 of file Core.hpp.


Member Typedef Documentation

Definition at line 24 of file Core.hpp.


Constructor & Destructor Documentation

tuttle::host::Core::~Core ( ) [private]

Definition at line 63 of file Core.cpp.


Member Function Documentation

tuttle::common::Formatter& tuttle::host::Core::getFormatter ( ) [inline]

Definition at line 50 of file Core.hpp.

References _formatter.

ofx::imageEffect::OfxhImageEffectPlugin* tuttle::host::Core::getImageEffectPluginById ( const std::string &  id,
int  vermaj = -1,
int  vermin = -1 
) [inline]

Definition at line 64 of file Core.hpp.

References _imageEffectPluginCache, and tuttle::host::ofx::imageEffect::OfxhImageEffectPluginCache::getPluginById().

Referenced by BOOST_AUTO_TEST_CASE(), and tuttle::host::createNode().

Here is the call graph for this function:

const ofx::imageEffect::OfxhImageEffectPluginCache& tuttle::host::Core::getImageEffectPluginCache ( ) const [inline]
const memory::IMemoryCache& tuttle::host::Core::getMemoryCache ( ) const [inline]

Definition at line 61 of file Core.hpp.

References _memoryCache.

memory::IMemoryPool& tuttle::host::Core::getMemoryPool ( ) [inline]

Definition at line 58 of file Core.hpp.

References _memoryPool.

const memory::IMemoryPool& tuttle::host::Core::getMemoryPool ( ) const [inline]

Definition at line 59 of file Core.hpp.

References _memoryPool.

ofx::OfxhPluginCache& tuttle::host::Core::getPluginCache ( ) [inline]
const ofx::OfxhPluginCache& tuttle::host::Core::getPluginCache ( ) const [inline]

Definition at line 44 of file Core.hpp.

References _pluginCache.

const std::list<ofx::OfxhPlugin*>& tuttle::host::Core::getPlugins ( ) const [inline]

Definition at line 46 of file Core.hpp.

References getPluginCache(), and tuttle::host::ofx::OfxhPluginCache::getPlugins().

Here is the call graph for this function:

Preferences& tuttle::host::Core::getPreferences ( ) [inline]

Definition at line 52 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 53 of file Core.hpp.

References _preferences.

const ofx::OfxhPlugin& tuttle::host::Core::operator[] ( const std::string &  name) const [inline]

Definition at line 73 of file Core.hpp.

References tuttle::host::ofx::OfxhPluginCache::getPluginById(), and getPluginCache().

Here is the call graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const This v 
) [friend]

Definition at line 149 of file Core.cpp.

friend class Singleton< Core > [friend]

Definition at line 25 of file Core.hpp.


Field Documentation

Definition at line 38 of file Core.hpp.

Referenced by getFormatter().

Definition at line 32 of file Core.hpp.

Referenced by getHost().

Definition at line 37 of file Core.hpp.

Referenced by preload().

Definition at line 36 of file Core.hpp.

Referenced by getMemoryCache().

Definition at line 35 of file Core.hpp.

Referenced by Core(), and getMemoryPool().

Definition at line 34 of file Core.hpp.

Referenced by Core(), getPluginCache(), and preload().

Definition at line 40 of file Core.hpp.

Referenced by getPreferences().


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