examples/eqPixelBench/config.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef EQ_PIXELBENCH_CONFIG_H
00019 #define EQ_PIXELBENCH_CONFIG_H
00020
00021 #include <eq/eq.h>
00022
00024 namespace eqPixelBench
00025 {
00026 class Config : public eq::Config
00027 {
00028 public:
00029 Config( eq::base::RefPtr< eq::Server > parent );
00030
00032 virtual uint32_t startFrame( const uint32_t frameID );
00033
00035 virtual bool handleEvent( const eq::ConfigEvent* event );
00036
00038 const eq::base::Clock* getClock() const { return _clock; }
00039
00040 protected:
00041 virtual ~Config();
00042
00043 private:
00044 eq::base::Clock* _clock;
00045 };
00046 }
00047
00048 #endif // EQ_PIXELBENCH_CONFIG_H