| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/io/cachedobjectreader.h>

Public Member Functions | |
| VRS_TYPEINFO (CachedObjectReader, ObjectReader) | |
| virtual SO< SharedObj > | read (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) |
| VRS::CachedObjectReader::VRS_TYPEINFO | ( | CachedObjectReader | , | |
| ObjectReader | ||||
| ) |
| virtual SO<SharedObj> VRS::CachedObjectReader::read | ( | DataResource * | data, | |
| const ID & | targetType | |||
| ) | const [virtual] |
| 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] |