00001 #ifndef FCAM_SHOT_H 00002 #define FCAM_SHOT_H 00003 00006 00007 #include "Base.h" 00008 #include "Image.h" 00009 #include <set> 00010 #include <pthread.h> 00011 00012 namespace FCam { 00013 00014 class Action; 00015 00029 class Shot { 00030 public: 00039 Image image; 00040 00042 int exposure; 00043 00050 int frameTime; 00051 00056 float gain; 00057 00059 HistogramConfig histogram; 00060 00062 SharpnessMapConfig sharpness; 00063 00067 std::set<Action *> actions; 00068 00072 bool wanted; 00073 00075 int id; 00076 00077 Shot(); 00078 ~Shot(); 00079 00082 Shot(const Shot &other); 00083 00086 const Shot &operator=(const Shot &other); 00087 00088 private: 00089 static int _id; 00090 static pthread_mutex_t _idLock; 00091 }; 00092 00093 } 00094 #endif
1.5.6