Header Header

gxDeviceInfo Class Reference

Inheritance diagram for gxDeviceInfo:

GX_DEVICE_INFO

List of all members.


Detailed Description

Class for the device information (Unicode version).


Public Member Functions

 gxDeviceInfo ()
 Initializes the class.
 gxDeviceInfo (const gxDeviceInfo &src)
 Copy constructor.
 ~gxDeviceInfo ()
 Destructs the class.
void Dispose (void)
 It disposes the class.
 operator GX_DEVICE_INFO * ()
 Convert the class into the pointer of the GX_DEVICE_INFO.
void SetType (const wchar_t *_type)
 Sets the type field.
void SetName (const wchar_t *_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 (gxInStr _type)
 Updates the type field.
void SetName (gxInStr _devname)
 Updates the name field.
gxOutStr GetType (void) const
 Retrieves the type field.
gxOutStr GetName (void) const
 Retrieves the name field.


Constructor & Destructor Documentation

gxDeviceInfo (  )  [inline]

Initializes the class.

gxDeviceInfo ( const gxDeviceInfo &  src  )  [inline]

Copy constructor.

Parameters:
src The source information structure.

~gxDeviceInfo (  )  [inline]

Destructs the class.


Member Function Documentation

void Dispose ( void   )  [inline]

It disposes the class.

no base class

operator GX_DEVICE_INFO * (  )  [inline]

Convert the class into the pointer of the GX_DEVICE_INFO.

void SetType ( const wchar_t *  _type  )  [inline]

Sets the type field.

Parameters:
_type Type of the device.

void SetName ( const wchar_t *  _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 ( gxInStr  _type  )  [inline]

Updates the type field.

Parameters:
_type Type of the device.

void SetName ( gxInStr  _devname  )  [inline]

Updates the name field.

Parameters:
_devname Name of the device.

gxOutStr GetType ( void   )  const [inline]

Retrieves the type field.

Returns:
Type of the device.

gxOutStr GetName ( void   )  const [inline]

Retrieves the name field.

Returns:
Name of the device.


Generated  for GX
(c) ARH Inc.