IrDA Framework C++ Edition
Classes | Typedefs | Enumerations | Variables
wclIrDA Namespace Reference

Classes

class  CwclIrDAClient
 The IrDA client component. More...
 
class  CwclIrDAReceiver
 Represents the IrDA receiver. More...
 
class  CwclIrDAServer
 The IrDA Server component. More...
 
class  CwclIrDAServerClientConnection
 The class handles server client connection. More...
 
class  wclEIrDA
 The base IrDA Framework exceptions class. More...
 
class  wclEIrDAClient
 The exception used in IrDA client connection. More...
 
class  wclEIrDAServer
 The exception used in IrDA server connection. More...
 
struct  wclIrDAAttribute
 The record describes the IrDA IAS attribute value. More...
 
struct  wclIrDADevice
 This record contains information about an IrDA device that has been discovered by the infrared transceiver. More...
 

Typedefs

typedef std::set< wclIrDAHintwclIrDAHints
 Set of the IrDA hints.
 
typedef std::vector< wclIrDADevicewclIrDADevices
 The array of discovered IrDA devices.
 

Enumerations

enum  wclIrDAConnectionMode { cmIrComm3Wire , cmIrComm9Wire , cmIrLpt }
 The IrDA connection modes. More...
 
enum  wclIrDACharSet {
  csAscii , csIso8859_1 , csIso8859_2 , csIso8859_3 ,
  csIso8859_4 , csIso8859_5 , csIso8859_6 , csIso8859_7 ,
  csIso8859_8 , csIso8859_9 , csUnicode
}
 IrDA character sets. More...
 
enum  wclIrDAHint {
  ihPnp , ihPda , ihComputer , ihPrinter ,
  ihModem , ihFax , ihLan , ihTelephony ,
  ihFileServer , ihComm , ihMessage , ihHttp ,
  ihObex
}
 The hint can give information about what a given IrDA device is and what it supports. More...
 
enum  wclIrDAAttributeType { atInteger , atSequence , atString }
 IrDA IAS attribute type. More...
 

Variables

const int WCL_E_IRDA_BASE = 0x00040000
 The base code for the IrDA errors.
 
const int WCL_E_IRDA_ACCESS_DENIED = WCL_E_IRDA_BASE + 0x0000
 Access denied.
 
const int WCL_E_IRDA_OPTION_IS_INVALID = WCL_E_IRDA_BASE + 0x0001
 The initialization parameter is not a valid pointer or One of the option value or the option length parameters is not a valid part of the user address space, or the option length parameter is too small.
 
const int WCL_E_IRDA_INVALID_ARGUMENT = WCL_E_IRDA_BASE + 0x0002
 An invalid argument was supplied.
 
const int WCL_E_IRDA_HANDLES_LIMIT_REACHED = WCL_E_IRDA_BASE + 0x0003
 No more handles (descriptors) are available.
 
const int WCL_E_IRDA_IN_PROGRESS = WCL_E_IRDA_BASE + 0x0004
 A blocking call is in progress, or the service provider is still processing a callback function.
 
const int WCL_E_IRDA_INVALID_HANDLE = WCL_E_IRDA_BASE + 0x0005
 The descriptor is not a valid handle.
 
const int WCL_E_IRDA_WRONG_PROTOCOL_TYPE = WCL_E_IRDA_BASE + 0x0006
 The specified protocol is the wrong type for this handle.
 
const int WCL_E_IRDA_UNKNOW_OPTION = WCL_E_IRDA_BASE + 0x0007
 The option is unknown or unsupported by the indicated protocol family (IrDA).
 
const int WCL_E_IRDA_PROTOCOL_NOT_SUPPORTED = WCL_E_IRDA_BASE + 0x0008
 The specified protocol is not supported.
 
const int WCL_E_IRDA_HANDLE_NOT_SUPPORTED = WCL_E_IRDA_BASE + 0x0009
 The specified handle type is not supported for IrDA communication.
 
const int WCL_E_IRDA_NOT_SUPPORTED = WCL_E_IRDA_BASE + 0x000A
 The IrDA is not supported. An infrared adapter and device driver is not installed on the local computer.
 
const int WCL_E_IRDA_CONNECTION_EXISTS = WCL_E_IRDA_BASE + 0x000B
 Connection already exists.
 
const int WCL_E_IRDA_SERVICE_OR_DEVICE_NOT_FOUND = WCL_E_IRDA_BASE + 0x000C
 An IrDA device or specific service was not found (address or service is invalid).
 
const int WCL_E_IRDA_FAILED = WCL_E_IRDA_BASE + 0x000D
 The IrDA subsystem or the associated service provider has failed.
 
const int WCL_E_IRDA_CONNECTION_TERMINATED_BY_USER = WCL_E_IRDA_BASE + 0x000E
 Connection has been terminated by a user.
 
const int WCL_E_IRDA_NO_BUFFERS = WCL_E_IRDA_BASE + 0x000F
 No buffer space is available. The handle cannot be created.
 
const int WCL_E_IRDA_TIMEOUT = WCL_E_IRDA_BASE + 0x0010
 Timeout occurred.
 
const int WCL_E_IRDA_ATTRIBUTE_NOT_FOUND = WCL_E_IRDA_BASE + 0x0011
 The requested attribute was not found.
 
const int WCL_E_IRDA_CONNECTION_REJECTED = WCL_E_IRDA_BASE + 0x0012
 Connection has been rejected.
 
const int WCL_E_IRDA_LIMIT_REACHED = WCL_E_IRDA_BASE + 0x0013
 A limit on the number of tasks supported by the IrDA implementation has been reached.
 
const int WCL_E_IRDA_NOT_READY = WCL_E_IRDA_BASE + 0x0014
 The underlying subsystem is not ready for communication.
 
const int WCL_E_IRDA_VERSION_NOT_SUPPORTED = WCL_E_IRDA_BASE + 0x0015
 The version of IrDA subsystem support requested is not provided by this particular IrDA implementation.
 
const int WCL_E_IRDA_NOT_INITIALIZED = WCL_E_IRDA_BASE + 0x0016
 A successful IrDA subsystem initialization must occur before using this function.
 
const int WCL_E_IRDA_INVALID_PROC_TABLE = WCL_E_IRDA_BASE + 0x0017
 The service provider returned an invalid or incomplete procedure table to the IrDA initialization.
 
const int WCL_E_IRDA_INVALID_PROVIDER = WCL_E_IRDA_BASE + 0x0018
 The service provider returned a version other than 2.2.
 
const int WCL_E_IRDA_SERVICE_PROFVIDER_FAILED = WCL_E_IRDA_BASE + 0x0019
 The service provider failed to initialize. This error is returned if a layered service provider (LSP) or namespace provider was improperly installed or the provider fails to operate correctly.
 
const int WCL_E_IRDA_UNEXPECTED = WCL_E_IRDA_BASE + 0x001A
 Unexpected or unknown IrDA error.
 
const int WCL_E_IRDA_UNABLE_CREATE_DISCOVERING_SYNC = WCL_E_IRDA_BASE + 0x001B
 Unable to create Lazy Discovering synchronization object.
 
const int WCL_E_IRDA_ATTRIBUTE_CLASS_NOT_FOUND = WCL_E_IRDA_BASE + 0x001C
 The requested attribute's class was not found.
 
const int WCL_E_IRDA_DISCOVERING_ACTIVE = WCL_E_IRDA_BASE + 0x001D
 The Lazy Discovering is already running.
 
const int WCL_E_IRDA_UNABLE_CREATE_DISCOVERING_THREAD = WCL_E_IRDA_BASE + 0x001E
 Unable to create Lazy Discovering thread.
 
const int WCL_E_IRDA_DISCOVERING_NOT_ACTIVE = WCL_E_IRDA_BASE + 0x001F
 The Lazy Discovering is not running.
 
const int WCL_E_IRDA_ALREADY_SUBSCRIBED = WCL_E_IRDA_BASE + 0x0020
 The component is already subscribed for the IrDA hardware change event.
 
const int WCL_E_IRDA_NOT_SUBSCRIBED = WCL_E_IRDA_BASE + 0x0021
 The component is not subscribed for the IrDA hardware change event.
 
const int WCL_E_IRDA_DISCONNECTED_BY_REMOTE_DEVICE = WCL_E_IRDA_BASE + 0x0022
 Client disconnected by remote device.
 
const int WCL_E_IRDA_UNABLE_CREATE_SOCKET = WCL_E_IRDA_BASE + 0x0023
 Unable to create IrDA socket.
 
const int WCL_E_IRDA_UNABLE_SET_MODE = WCL_E_IRDA_BASE + 0x0024
 Unable to set a IrLMP communication mode.
 
const int WCL_E_IRDA_UNABLE_CREATE_EVENT = WCL_E_IRDA_BASE + 0x0025
 Unable to create socket event.
 
const int WCL_E_IRDA_UNABLE_SET_EVENT = WCL_E_IRDA_BASE + 0x0026
 Unable to select socket events.
 
const int WCL_E_IRDA_UNABLE_GET_READ_BUFFER = WCL_E_IRDA_BASE + 0x0027
 Unable to get a read buffer size.
 
const int WCL_E_IRDA_UNABLE_GET_WRITE_BUFFER = WCL_E_IRDA_BASE + 0x0028
 Unable to get a write buffer size.
 
const int WCL_E_IRDA_UNABLE_SET_READ_BUFFER = WCL_E_IRDA_BASE + 0x0029
 Unable to set a read buffer size.
 
const int WCL_E_IRDA_UNABLE_SET_WRITE_BUFFER = WCL_E_IRDA_BASE + 0x002A
 Unable to set a write buffer size.
 
const int WCL_E_IRDA_UNABLE_TO_RESOLVE_ADDRESS = WCL_E_IRDA_BASE + 0x002B
 Unable to resolve a remote IrDA device address.
 
const int WCL_E_IRDA_WRONG_CONNECTION_MODE = WCL_E_IRDA_BASE + 0x002C
 This connection mode can not be used for IrDA server.
 
const int WCL_E_IRDA_UNABLE_TO_CREATE_WRITE_EVENT = WCL_E_IRDA_BASE + 0x002D
 Unable to create write completion event object.