/***************************************************************************** - - - POLONY SEQUENCER ACQUISITION SUITE - - Church Lab - - Harvard Medical School - - - - Free software for running a Polony Sequencing automated microscope - - - - ========================================================================= - - - - - - chamcam.h - - - - Interface class to Hamamatsu camera (written for 9100) - - - - Written by Greg Porreca, 02-15-2006 - - - - Revised - - - - - - This software may be used, modified, and distributed freely, but this - - header may not be modified and must appear at the top of this file. - - - - - *****************************************************************************/ #ifndef CHAMCAM_H #define CHAMCAM_H #include #include #include #include "dcamapi.h" #include "features.h" #include "dcamapix.h" #include "Reporter.h" #include "CImg.h" class CHamCam { public: CHamCam(Reporter*); ~CHamCam(); bool Init(); bool Close(); bool SetOffsetBinning(); bool SetExposure(double hExposure); bool SetSensitivity(float hSensitivity); bool CHamCam::SetupMultiple(int); bool CHamCam::QueueCapture(); short unsigned int *CHamCam::GetMultiple(int index); bool CHamCam::EndMultiple(); bool CHamCam::Trigger(); bool CHamCam::DataReady(); bool CHamCam::SetupSingle(); bool CHamCam::EndSingle(); private: HINSTANCE hInstance;//application handle HDCAM hDCAM; //camera handle DCAM_PARAM_FEATURE FeatureVal;//extended camera variable void **multipleBuffer; int num_frames; int images_captured; bool capturing; bool setup; Reporter* r; char temp_string[500]; }; #endif