Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

CommunicationLink.h

00001 // ============================================================================
00002 //
00003 // = CONTEXT
00004 //    TANGO Project - Keithley Electrometer Support Library
00005 //
00006 // = FILENAME
00007 //    CommunicationLink.h
00008 //
00009 // = AUTHOR
00010 //    X. Elattaoui
00011 //
00012 //
00013 // $Author: xavela $
00014 //
00015 // $Revision: 1.2 $
00016 //
00017 // $Log: not supported by cvs2svn $
00017 // Revision 1.1  2007/07/09 13:20:09  stephle
00017 // initial import
00017 //
00017 // Revision 1.1  2006/12/01 14:56:41  elattaoui
00017 // xavier :
00017 // Doxygen doc added
00017 //
00018 //
00019 // ============================================================================
00020 
00021 #ifndef _COMMUNICATION_LINK_H_
00022 #define _COMMUNICATION_LINK_H_
00023 
00024 #include <string>
00025 
00026 // ============================================================================
00027 // DEPENDENCIES
00028 // ============================================================================
00029 
00030 
00043 class CommunicationLink
00044 {
00045 public :
00046         
00050         CommunicationLink (std::string& communication_link_name);
00051         
00055         virtual ~CommunicationLink (void);
00056 
00062         virtual void write(std::string) = 0; 
00063         
00069         virtual std::string read(void)  = 0;
00070 
00076         virtual std::string write_read(std::string cmd_to_send) = 0;
00077 
00078 protected :
00079         std::string _communication_Device_name;
00080 
00081 };
00082         //- end addtogroup
00084 
00085 #endif // _COMMUNICATION_LINK_H_

Generated on Fri Dec 1 15:32:18 2006 for Electrometers Library by  doxygen 1.3.9.1