• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

ApnCamera_USB.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  ***************************************************************************/
00009 // ApnCamera_USB.h: interface for the CApnCamera_USB class.
00010 //
00012 
00013 #if !defined(AFX_APNCAMERA_USB_H__E83248CA_F0AA_4221_8E10_22FA70CEFAA6__INCLUDED_)
00014 #define AFX_APNCAMERA_USB_H__E83248CA_F0AA_4221_8E10_22FA70CEFAA6__INCLUDED_
00015 
00016 #include "ApnCamera.h"
00017 
00018 class CApnCamera_USB : public CApnCamera  
00019 {
00020 private:
00021     unsigned short m_pvtBitsPerPixel;
00022 
00023     unsigned short m_pvtWidth;
00024     unsigned short m_pvtHeight;
00025 
00026 public:
00027     CApnCamera_USB();
00028     virtual ~CApnCamera_USB();
00029 
00030     bool InitDriver( unsigned long  CamIdA, 
00031                      unsigned short CamIdB, 
00032                      unsigned long  Option );
00033 
00034     bool CloseDriver();
00035 
00036     long PreStartExpose( unsigned short BitsPerPixel );
00037 
00038     long PostStopExposure( bool DigitizeData );
00039 
00040     bool GetImageData( unsigned short *pImageData, 
00041                        unsigned short &Width,
00042                        unsigned short &Height,
00043                        unsigned long  &Count );
00044 
00045     bool GetLineData( unsigned short *pLineBuffer,
00046                       unsigned short &Size );       
00047 
00048     long Read( unsigned short reg, unsigned short& val );
00049     long Write( unsigned short reg, unsigned short val );
00050 
00051     long WriteMultiSRMD( unsigned short reg, 
00052                          unsigned short val[], 
00053                          unsigned short count );
00054 
00055     long WriteMultiMRMD( unsigned short reg[], 
00056                          unsigned short val[], 
00057                          unsigned short count );
00058 
00059     long QueryStatusRegs( unsigned short& StatusReg,
00060                           unsigned short& HeatsinkTempReg,
00061                           unsigned short& CcdTempReg,
00062                           unsigned short& CoolerDriveReg,
00063                           unsigned short& VoltageReg,
00064                           unsigned short& TdiCounter,
00065                           unsigned short& SequenceCounter );
00066 
00067 };
00068 
00069 #endif // !defined(AFX_APNCAMERA_USB_H__E83248CA_F0AA_4221_8E10_22FA70CEFAA6__INCLUDED_)

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal