Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | Examples

INdepGpib100::GpibAddress Class Reference

A GpibAddress represents a GPIB bus address. More...

#include <gu_c.hxx>

List of all members.

Public Member Functions

bool fSa () const
 secondary address present

int iPa () const
 primary address

int iSa () const
 secondary address, valid if fSa()

 GpibAddress (int iPa, bool fSa=false, int iSa=0)
 GpibAddress constructor.

 GpibAddress ()
 Default Constructor, equivalent to GpibAddress(0).


Friends

bool operator== (const GpibAddress &gaL, const GpibAddress &gaR)
 Comparison operator.

bool operator!= (const GpibAddress &gaL, const GpibAddress &gaR)


Detailed Description

A GpibAddress represents a GPIB bus address.

A GPIB address has a primary address part and on optional secondary part.


Constructor & Destructor Documentation

INdepGpib100::GpibAddress::GpibAddress int  iPa,
bool  fSa = false,
int  iSa = 0
[inline]
 

GpibAddress constructor.

Represents the GPIB address iPa and the optional secondary address iSa if fSa is true.


Friends And Related Function Documentation

bool operator== const GpibAddress gaL,
const GpibAddress gaR
[friend]
 

Comparison operator.

Two GpibAddress objects are equal if they represent the same primary and secondary (optional) GPIB address.


The documentation for this class was generated from the following file:
Generated on Wed Jul 18 16:50:58 2007 for gpibapi by doxygen 1.3.6