Implements the reader listener to listen to smart card reader events such as insertion or removal. More...
#include <SmartCardReaderListener.h>
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 *) |
Implements the reader listener to listen to smart card reader events such as insertion or removal.
| USCAPI::CSmartCardReaderListener::CSmartCardReaderListener | ( | ) |
Constructor.
| virtual USCAPI::CSmartCardReaderListener::~CSmartCardReaderListener | ( | ) | [virtual] |
| 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.
| void readerMonitoring | ( | void * | ) | [friend] |
1.6.3