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

kstars

ApnCamera_NET.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_NET.h: interface for the CApnCamera_NET class.
00010 //
00012 
00013 #if !defined(AFX_APNCAMERA_NET_H__D6F0E3AB_536C_4937_9E2B_DCF682D0DD31__INCLUDED_)
00014 #define AFX_APNCAMERA_NET_H__D6F0E3AB_536C_4937_9E2B_DCF682D0DD31__INCLUDED_
00015 
00016 #if _MSC_VER > 1000
00017 #pragma once
00018 #endif // _MSC_VER > 1000
00019 
00020 #include "ApnCamera.h"
00021 
00022 class CApnCamera_NET : public CApnCamera  
00023 {
00024 private:
00025     unsigned short m_pvtBitsPerPixel;
00026 
00027     unsigned short m_pvtWidth;
00028     unsigned short m_pvtHeight;
00029 
00030 public:
00031     CApnCamera_NET();
00032     virtual ~CApnCamera_NET();
00033 
00034     bool InitDriver( unsigned long  CamIdA, 
00035                      unsigned short CamIdB, 
00036                      unsigned long  Option );
00037 
00038     bool CloseDriver();
00039 
00040     long PreStartExpose( unsigned short BitsPerPixel );
00041 
00042     long PostStopExposure( bool DigitizeData );
00043 
00044 
00045     bool GetImageData( unsigned short *pImageData, 
00046                        unsigned short &Width,
00047                        unsigned short &Height,
00048                        unsigned long  &Count );
00049 
00050     bool GetLineData( unsigned short *pLineBuffer,
00051                       unsigned short &Size );       
00052 
00053     long Read( unsigned short reg, unsigned short& val );
00054     long Write( unsigned short reg, unsigned short val );
00055 
00056     long WriteMultiSRMD( unsigned short reg, 
00057                          unsigned short val[], 
00058                          unsigned short count );
00059 
00060     long WriteMultiMRMD( unsigned short reg[], 
00061                          unsigned short val[], 
00062                          unsigned short count );
00063 
00064     long QueryStatusRegs( unsigned short& StatusReg,
00065                           unsigned short& HeatsinkTempReg,
00066                           unsigned short& CcdTempReg,
00067                           unsigned short& CoolerDriveReg,
00068                           unsigned short& VoltageReg,
00069                           unsigned short& TdiCounter,
00070                           unsigned short& SequenceCounter );
00071 
00072 };
00073 
00074 #endif // !defined(AFX_APNCAMERA_NET_H__D6F0E3AB_536C_4937_9E2B_DCF682D0DD31__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