00001 #ifndef _SCmodParPort_hpp_
00002 #define _SCmodParPort_hpp_
00003
00004 #include "SCmod.hpp"
00005 #include "qobject.h"
00006
00007 class PPort;
00008 class QCamComboBox;
00009
00010 class SCmodParPort : public QObject, public SCmod {
00011 Q_OBJECT
00012 public:
00013 SCmodParPort();
00014 virtual ~SCmodParPort();
00015 void enterLongPoseMode();
00016 void leaveLongPoseMode();
00017 void stopAccumulation();
00018 void startAccumulation();
00019 QWidget * buildGUI(QWidget * parent);
00020 public slots:
00021 void setPPort(int ioPort);
00022 private:
00023 enum pportBit {evenLinesTransferOn=0,
00024 oddLinesTransferOn=1,
00025 preampOn=2,
00026 shutterOn=3};
00027 void sendPportCmd();
00028 void setPPort(PPort * paralPort);
00029 PPort * pport_;
00030 QCamComboBox * ioPortSelect_;
00031 };
00032
00033 #endif