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

kstars

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