#ifndef _INCLUDE_GEMPLUGIN__VIDEOTEST_VIDEOTEST_H_ #define _INCLUDE_GEMPLUGIN__VIDEOTEST_VIDEOTEST_H_ #include "plugins/video.h" #include "Gem/Image.h" namespace gem { namespace plugins { class GEM_EXPORT videoTEST : public video { private: std::string m_name; bool m_open; pixBlock m_pixBlock; Properties m_props; unsigned int m_type; public: videoTEST(void); virtual ~videoTEST(void); virtual bool open(gem::Properties&props); virtual pixBlock *getFrame(void); virtual std::vectorenumerate(void); virtual bool setDevice(int ID); virtual bool setDevice(const std::string); virtual bool enumProperties(gem::Properties&readable, gem::Properties&writeable); virtual void setProperties(gem::Properties&props); virtual void getProperties(gem::Properties&props); virtual std::vectordialogs(void); // for pix_video: query whether this backend provides access to this class of devices // (e.g. "dv") virtual bool provides(const std::string); // get a list of all provided devices virtual std::vectorprovides(void); // get's the name of the backend (e.g. "v4l") virtual const std::string getName(void); virtual bool isThreadable(void) {return true;} virtual bool reset(void) {return true;} virtual void releaseFrame(void) {} virtual bool grabAsynchronous(bool) {return true;} virtual bool dialog(std::vectornames=std::vector()) {return false;} virtual bool setColor(int) {return false;} virtual void close(void) {}; virtual bool start(void) {return true;}; virtual bool stop(void) {return true;}; }; };}; // namespace #endif // for header file