00001 00002 #ifndef __sampler_interface_hpp__ 00003 #define __sampler_interface_hpp__ 00004 00005 #include <crbn/basic/paramlist.hpp> 00006 #include <crbn/sampler/sampler.hpp> 00007 00025 class SamplerInterface 00026 { 00027 public: 00028 virtual ~SamplerInterface() {} 00029 00038 virtual bool create( char* location, char* sampler_type, paramlist& pl ) = 0; 00039 00046 virtual Sampler* get( char* location ) = 0; 00047 }; 00048 00049 #endif // __sampler_interface_hpp__