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

kstars

ApnSerial.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 // ApnSerial.h: interface for the CApnSerial class.
00010 //
00012 
00013 #if !defined(AFX_APNSERIAL_H__A27F1749_FA8F_40E8_A03F_4A28C8378DD1__INCLUDED_)
00014 #define AFX_APNSERIAL_H__A27F1749_FA8F_40E8_A03F_4A28C8378DD1__INCLUDED_
00015 
00016 #if _MSC_VER > 1000
00017 #pragma once
00018 #endif // _MSC_VER > 1000
00019 
00020 #include "Apogee.h"
00021 
00022 
00023 class CApnSerial  
00024 {
00025 public:
00026 
00027     CApnSerial();
00028     virtual ~CApnSerial();
00029 
00030     virtual bool InitPort( unsigned long    CamIdA,
00031                            unsigned short   CamIdB,
00032                            unsigned short   SerialId ) = 0;
00033 
00034     virtual bool ClosePort() = 0;
00035 
00036     virtual bool GetBaudRate( unsigned long *BaudRate ) = 0;
00037 
00038     virtual bool SetBaudRate( unsigned long BaudRate ) = 0;
00039 
00040     virtual bool GetFlowControl( Apn_SerialFlowControl *FlowControl ) = 0;
00041 
00042     virtual bool SetFlowControl( Apn_SerialFlowControl FlowControl ) = 0;
00043 
00044     virtual bool GetParity( Apn_SerialParity *Parity ) = 0;
00045 
00046     virtual bool SetParity( Apn_SerialParity Parity ) = 0;
00047 
00048     virtual bool Read( char           *ReadBuffer,
00049                        unsigned short *ReadCount ) = 0;
00050 
00051     virtual bool Write( char           *WriteBuffer,
00052                         unsigned short WriteCount ) = 0;
00053 
00054     // Variables
00055     Apn_Interface   m_CameraInterface;
00056     short           m_SerialId;
00057 
00058 };
00059 
00060 #endif // !defined(AFX_APNSERIAL_H__A27F1749_FA8F_40E8_A03F_4A28C8378DD1__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