libcrbn/objectset/oscontext.hpp

00001 
00002 #ifndef __objectset_context_hpp__
00003 #define __objectset_context_hpp__
00004 
00005 #include <crbn/basic/paramlist.hpp>
00006 #include <crbn/objectset/objectset.hpp>
00007 
00008 //#include "../graphics/gr.hpp"
00009 
00010 class ObjectSetContext
00011 {
00012 public:
00013   ObjectSetContext();
00014   ~ObjectSetContext();
00015 
00016   void set_grcinterface( GraphicsCacheInterface* grcinterface ) {
00017     _grcinterface = grcinterface;
00018   }
00019 
00020   bool create( const char* objectset_type, paramlist& pl );
00021   ObjectSet* get();
00022 
00023 private:
00024   void unload();
00025 
00026   void* _objectset_module;
00027   ObjectSet* _objectset;
00028 
00029   GraphicsCacheInterface* _grcinterface;
00030 };
00031 
00032 #endif // __objectset_context_hpp__

Generated on Tue Nov 14 15:40:08 2006 for libcrbn by  doxygen 1.5.0