TuttleOFX
1
|
#include <IMemoryCache.hpp>
Public Member Functions | |
virtual | ~IMemoryCache ()=0 |
virtual void | put (const std::string &identifier, const double time, CACHE_ELEMENT pData)=0 |
virtual CACHE_ELEMENT | get (const std::string &identifier, const double time) const =0 |
virtual CACHE_ELEMENT | getUnusedWithSize (const std::size_t requestedSize) const =0 |
virtual std::size_t | size () const =0 |
virtual bool | empty () const =0 |
virtual bool | inCache (const CACHE_ELEMENT &) const =0 |
virtual double | getTime (const CACHE_ELEMENT &) const =0 |
virtual const std::string & | getPluginName (const CACHE_ELEMENT &) const =0 |
virtual bool | remove (const CACHE_ELEMENT &)=0 |
virtual void | clearUnused ()=0 |
virtual void | clearAll ()=0 |
virtual std::ostream & | outputStream (std::ostream &os) const =0 |
Private Types | |
typedef IMemoryCache | This |
Friends | |
std::ostream & | operator<< (std::ostream &os, const This &v) |
Definition at line 49 of file IMemoryCache.hpp.
typedef IMemoryCache tuttle::host::memory::IMemoryCache::This [private] |
Reimplemented in tuttle::host::memory::MemoryCache.
Definition at line 51 of file IMemoryCache.hpp.
tuttle::host::memory::IMemoryCache::~IMemoryCache | ( | ) | [pure virtual] |
Definition at line 38 of file IMemoryCache.cpp.
virtual void tuttle::host::memory::IMemoryCache::clearAll | ( | ) | [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
virtual void tuttle::host::memory::IMemoryCache::clearUnused | ( | ) | [pure virtual] |
virtual bool tuttle::host::memory::IMemoryCache::empty | ( | ) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
virtual CACHE_ELEMENT tuttle::host::memory::IMemoryCache::get | ( | const std::string & | identifier, |
const double | time | ||
) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
Referenced by tuttle::host::ImageEffectNode::debugOutputImage(), and tuttle::host::ImageEffectNode::process().
virtual const std::string& tuttle::host::memory::IMemoryCache::getPluginName | ( | const CACHE_ELEMENT & | ) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
virtual double tuttle::host::memory::IMemoryCache::getTime | ( | const CACHE_ELEMENT & | ) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
virtual CACHE_ELEMENT tuttle::host::memory::IMemoryCache::getUnusedWithSize | ( | const std::size_t | requestedSize | ) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
Referenced by tuttle::host::memory::MemoryPool::allocate().
virtual bool tuttle::host::memory::IMemoryCache::inCache | ( | const CACHE_ELEMENT & | ) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
virtual std::ostream& tuttle::host::memory::IMemoryCache::outputStream | ( | std::ostream & | os | ) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
Referenced by tuttle::host::memory::operator<<().
virtual void tuttle::host::memory::IMemoryCache::put | ( | const std::string & | identifier, |
const double | time, | ||
CACHE_ELEMENT | pData | ||
) | [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
Referenced by tuttle::host::ImageEffectNode::process().
virtual bool tuttle::host::memory::IMemoryCache::remove | ( | const CACHE_ELEMENT & | ) | [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
Referenced by tuttle::host::memory::MemoryPool::allocate().
virtual std::size_t tuttle::host::memory::IMemoryCache::size | ( | ) | const [pure virtual] |
Implemented in tuttle::host::memory::MemoryCache.
Referenced by tuttle::host::graph::ProcessGraph::processAtTime().
std::ostream& operator<< | ( | std::ostream & | os, |
const This & | v | ||
) | [friend] |
Definition at line 40 of file IMemoryCache.cpp.