Header Header

gxDeviceInfoA Class Reference

Inheritance diagram for gxDeviceInfoA:

GX_DEVICE_INFOA

List of all members.


Detailed Description

Class for the device information (ASCII version).


Public Member Functions

 gxDeviceInfoA ()
 Initializes the class.
 gxDeviceInfoA (const gxDeviceInfoA &src)
 Copy constructor.
 operator GX_DEVICE_INFOA * ()
 Convert the class into the pointer of the GX_DEVICE_INFO.
void SetType (const char *_type)
 Sets the type field.
void SetName (const char *_devname)
 Sets the name field.
void SetSerial (unsigned int _serial)
 Sets the serial field.
void SetPriority (int _priority)
 Sets the priority field.
unsigned int GetSerial (void) const
 Retrieves the serial field.
int GetPriority (void) const
 Retrieves the priority field.
void SetType (gxInAStr _type)
 Updates the type field.
void SetName (gxInAStr _devname)
 Updates the name field.
gxOutAStr GetType (void) const
 Retrieves the type field.
gxOutAStr GetName (void) const
 Retrieves the name field.


Constructor & Destructor Documentation

gxDeviceInfoA (  )  [inline]

Initializes the class.

gxDeviceInfoA ( const gxDeviceInfoA &  src  )  [inline]

Copy constructor.

Parameters:
src The source information structure.


Member Function Documentation

operator GX_DEVICE_INFOA * (  )  [inline]

Convert the class into the pointer of the GX_DEVICE_INFO.

void SetType ( const char *  _type  )  [inline]

Sets the type field.

Parameters:
_type Type of the device.

void SetName ( const char *  _devname  )  [inline]

Sets the name field.

Parameters:
_devname Name of the device.

void SetSerial ( unsigned int  _serial  )  [inline]

Sets the serial field.

Parameters:
_serial Serial of the device.

void SetPriority ( int  _priority  )  [inline]

Sets the priority field.

Parameters:
_priority Priority level of the device.

unsigned int GetSerial ( void   )  const [inline]

Retrieves the serial field.

Returns:
The serial number of the device.

int GetPriority ( void   )  const [inline]

Retrieves the priority field.

Returns:
The priority level of the device.

void SetType ( gxInAStr  _type  )  [inline]

Updates the type field.

Parameters:
_type Type of the device.

void SetName ( gxInAStr  _devname  )  [inline]

Updates the name field.

Parameters:
_devname Name of the device.

gxOutAStr GetType ( void   )  const [inline]

Retrieves the type field.

Returns:
Type of the device.

gxOutAStr GetName ( void   )  const [inline]

Retrieves the name field.

Returns:
Name of the device.


Generated  for GX
(c) ARH Inc.