Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GPIB_ENET.h

Go to the documentation of this file.
00001 /*
00002  * Time-stamp: <00/08/03 23:03:29 pagey>
00003  *
00004  * $Format: " * $Id: GPIB_ENET.h,v 0.1 2000/08/04 07:03:17 pagey Exp $"$
00005  * GPIB_ENET.h 1.2 Sun, 05 Mar 2000 05:10:09 -0800 pagey
00006  *
00007  */
00008 #ifdef _HAVE_NIENET_
00009 #ifndef GPIB_ENET_h
00010 #define GPIB_ENET_h
00011 
00012 #include "GPIBController.h"
00013 #include "LibGPIB.h"
00014 
00015 extern "C++" {
00016   namespace LibGPIB {
00023     class GPIB_ENET : public GPIBController {
00024     public: 
00032       virtual void BecomeActiveController(bool synchronously=true) ;
00033 
00039       virtual void ClearDevice(GPIBEquipment &device) ;
00040 
00045       virtual void SendCommand(GPIBEquipment &device, const string command) ;
00046 
00051       virtual const string ReadData(GPIBEquipment &device) ;
00052 
00056       virtual void SetLocal(GPIBEquipment &device)  ;
00057 
00062       /* virtual void SendCommandAsync(const GPIBEquipment &device, const string command) = 0.0 ; */
00063 
00068       virtual void EOSModeChar(int mode, char eos='\n') ;
00069 
00077       /* virtual void DetectDevices() = 0.0 ; */
00078 
00082       GPIB_ENET (const string board="gpib0") ;
00083 
00087       virtual ~GPIB_ENET() ;
00088     private:
00092       int mDeviceID ;
00093 
00097       string mBoardName ;
00098 
00099       int msgBuffSize ; 
00100       char *msgBuffer ;
00101     protected:
00102     } ;
00103 
00104     inline 
00105     GPIB_ENET::~GPIB_ENET() { 
00106       if( msgBuffer ) 
00107         delete [] msgBuffer ;
00108     } 
00109 
00110     inline 
00111     void GPIB_ENET::SetLocal(GPIBEquipment &device) {
00112       /*
00113        * Needs to be filled in.
00114        */
00115     }
00116   } // namespace LibGPIB
00117 } // extern "C++"
00118 
00119 #endif
00120 #endif
00121 
00122 

Generated at Tue Aug 8 01:37:55 2000 for libgpib by doxygen1.1.4 written by Dimitri van Heesch, © 1997-2000