USCAPI::CSmartCardReaderListener Class Reference

Implements the reader listener to listen to smart card reader events such as insertion or removal. More...

#include <SmartCardReaderListener.h>

List of all members.

Public Member Functions

 CSmartCardReaderListener ()
 Constructor.
virtual ~CSmartCardReaderListener ()
virtual void noReadersAvailable ()
 Notification for no readers available.
virtual void readerUnavailable (const char *szReader)
 Notification for reader unavailable.
virtual void cancelled (const char *szReader)
 Notification for operation cancelled.
virtual void unableToOpenContext (const char *szReader)
 Notification for unable to open context.
virtual void smartCardRemoved (const char *szReader)
 Notification for smart card removed.
virtual void smartCardInserted (const char *szReader, const ATR &atr)
 Notification for smart card inserted.
bool enable (bool bEnable)
 Enables/Disables the monitoring thread.
bool enable (bool bEnable, const char *szReader)
 Enables/Disables the monitoring thread for the given reader.
bool isEnabled () const
 Check if the monitoring is enabled.
bool isEnabled (const char *szReader) const
 Check if the monitoring is enabled for the given reader.

Friends

void readerMonitoring (void *)

Detailed Description

Implements the reader listener to listen to smart card reader events such as insertion or removal.


Constructor & Destructor Documentation

USCAPI::CSmartCardReaderListener::CSmartCardReaderListener (  ) 

Constructor.

virtual USCAPI::CSmartCardReaderListener::~CSmartCardReaderListener (  )  [virtual]

Member Function Documentation

virtual void USCAPI::CSmartCardReaderListener::cancelled ( const char *  szReader  )  [virtual]

Notification for operation cancelled.

bool USCAPI::CSmartCardReaderListener::enable ( bool  bEnable,
const char *  szReader 
)

Enables/Disables the monitoring thread for the given reader.

bool USCAPI::CSmartCardReaderListener::enable ( bool  bEnable  ) 

Enables/Disables the monitoring thread.

bool USCAPI::CSmartCardReaderListener::isEnabled ( const char *  szReader  )  const

Check if the monitoring is enabled for the given reader.

bool USCAPI::CSmartCardReaderListener::isEnabled (  )  const

Check if the monitoring is enabled.

virtual void USCAPI::CSmartCardReaderListener::noReadersAvailable (  )  [virtual]

Notification for no readers available.

virtual void USCAPI::CSmartCardReaderListener::readerUnavailable ( const char *  szReader  )  [virtual]

Notification for reader unavailable.

virtual void USCAPI::CSmartCardReaderListener::smartCardInserted ( const char *  szReader,
const ATR atr 
) [virtual]

Notification for smart card inserted.

virtual void USCAPI::CSmartCardReaderListener::smartCardRemoved ( const char *  szReader  )  [virtual]

Notification for smart card removed.

virtual void USCAPI::CSmartCardReaderListener::unableToOpenContext ( const char *  szReader  )  [virtual]

Notification for unable to open context.


Friends And Related Function Documentation

void readerMonitoring ( void *   )  [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines
Generated on Tue Jun 1 15:54:31 2010 for Cryptware Smart Card C++ API by  doxygen 1.6.3