Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XNIGPIBPort Class Reference
Inheritance diagram for XNIGPIBPort:
Inheritance graph
[legend]

Public Member Functions

 XNIGPIBPort (XCharInterface *interface)
 
virtual void open (const XCharInterface *pInterface) throw (XInterface::XCommError &)
 
virtual void send (const char *str) throw (XInterface::XCommError &)
 
virtual void write (const char *sendbuf, int size) throw (XInterface::XCommError &)
 
virtual void receive () throw (XInterface::XCommError &)
 
virtual void receive (unsigned int length) throw (XInterface::XCommError &)
 
- Public Member Functions inherited from XPort
 XPort (XCharInterface *interface)
 
std::vector< char > & buffer ()
 
const XStringportString () const
 
const XStringeos () const
 
void setEOS (const char *str)
 

Private Member Functions

void gpib_close () throw (XInterface::XCommError &)
 
void gpib_open () throw (XInterface::XCommError &)
 
void gpib_reset () throw (XInterface::XCommError &)
 
void gpib_spoll_before_write () throw (XInterface::XCommError &)
 
void gpib_spoll_before_read () throw (XInterface::XCommError &)
 
XString gpibStatus (const XString &msg)
 
unsigned int gpib_receive (unsigned int est_length, unsigned int max_length) throw (XInterface::XCommError &)
 

Private Attributes

int m_ud
 
bool m_bGPIBUseSerialPollOnWrite
 
bool m_bGPIBUseSerialPollOnRead
 
int m_gpibWaitBeforeWrite
 
int m_gpibWaitBeforeRead
 
int m_gpibWaitBeforeSPoll
 
unsigned char m_gpibMAVbit
 
unsigned int m_address
 don't check if zero
 

Static Private Attributes

static int s_cntOpened = 0
 
static XMutex s_lock
 

Detailed Description

Definition at line 33 of file gpib.h.


The documentation for this class was generated from the following files:

Generated for KAME4 by  doxygen 1.8.3