Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

MarkerLoader.h

Go to the documentation of this file.
00001 
00036 #ifndef _AMIRE_COMMON_MARKER_LOADER_H
00037 #define _AMIRE_COMMON_MARKER_LOADER_H
00038 
00039 #include <amire/common/Defines.h>
00040 
00041 namespace amire {
00042   namespace common {
00046     class AMIRE_EXPORT_API MarkerLoader : public virtual osg::Referenced {
00047     private:
00048       static std::vector<osg::ref_ptr<const MarkerLoader> > loaders;
00049 
00050     public:
00054       static bool isMarker(const std::string &filename);
00055 
00059       static int load(const std::string &filename);
00060 
00064       static void registerLoader(const osg::ref_ptr<const MarkerLoader> &loader);
00065 
00066       virtual ~MarkerLoader();
00067 
00071       virtual bool supportsFile(const std::string &filename) const = 0;
00072 
00076       virtual int loadMarker(const std::string &filename) const = 0;
00077     };
00078   }
00079 }
00080 
00081 #endif

Generated on Tue May 20 17:23:53 2003 for AMIRE-Framework by doxygen1.3