version 3.3

VRS::CachedObjectReader Class Reference

#include <vrs/io/cachedobjectreader.h>

Inheritance diagram for VRS::CachedObjectReader:

VRS::ObjectReader VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 VRS_TYPEINFO (CachedObjectReader, ObjectReader)
virtual SO< SharedObjread (DataResource *resource, const ID &targetType) const
 For the given data, 'read' instantiates an object.
virtual const char * objectFormatName () const
virtual const char * objectFileSuffix () const
virtual double priority () const
virtual bool canProduce (const ID &) const

Static Public Member Functions

static void AddObject (const std::string &uri, SO< SharedObj > obj)
static void RemoveObject (const std::string &uri)
static void ClearCache ()
static bool IsEnabled ()
static void Enable (bool yesNo)


Member Function Documentation

VRS::CachedObjectReader::VRS_TYPEINFO ( CachedObjectReader  ,
ObjectReader   
)

virtual SO<SharedObj> VRS::CachedObjectReader::read ( DataResource data,
const ID targetType 
) const [virtual]

For the given data, 'read' instantiates an object.

Implements VRS::ObjectReader.

virtual const char* VRS::CachedObjectReader::objectFormatName ( void   )  const [inline, virtual]

Implements VRS::ObjectReader.

virtual const char* VRS::CachedObjectReader::objectFileSuffix (  )  const [inline, virtual]

both methods provide meta information which is needed for any user interface programming. Multiple file suffixes are serapated by blanks, e.g. "mpg mpeg".

Implements VRS::ObjectReader.

virtual double VRS::CachedObjectReader::priority (  )  const [inline, virtual]

Reimplemented from VRS::ObjectReader.

virtual bool VRS::CachedObjectReader::canProduce ( const ID  )  const [virtual]

Reimplemented from VRS::ObjectReader.

static void VRS::CachedObjectReader::AddObject ( const std::string &  uri,
SO< SharedObj obj 
) [static]

static void VRS::CachedObjectReader::RemoveObject ( const std::string &  uri  )  [static]

static void VRS::CachedObjectReader::ClearCache (  )  [static]

static bool VRS::CachedObjectReader::IsEnabled (  )  [static]

static void VRS::CachedObjectReader::Enable ( bool  yesNo  )  [static]


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

Generated on Thu May 23 06:00:25 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact