| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Base
   |
   +--Nes::Api::BarcodeReader
Bar code reader interface.
| Constructor Summary | |
| BarcodeReader( T& instance )Interface constructor. | |
| Method Summary | |
|  bool | CanTransfer() constChecks if the reader is ready to scan. | 
|  bool | IsConnected() constChecks if a reader is connected. | 
|  bool | IsDigitsSupported( uint length ) constChecks if the number of bar code digits is supported. | 
|  uint | Randomize( char(& string )[ MAX_DIGITS+ 1] ) constGenerates a randomized bar code. | 
|  Result | Transfer( const char* string, uint length )Transfers a bar code to the reader. | 
| Constructor Detail | 
public BarcodeReader( T& instance );
instance - emulator instance| Method Detail | 
public bool CanTransfer() const throw();
public bool IsConnected() const;
public bool IsDigitsSupported( uint length ) const throw();
length - number of digits in the range 8 to 13public uint Randomize( char(& string )[ MAX_DIGITS+ 1] ) const throw();
string - string to be filledpublic Result Transfer( const char* string, uint length ) throw();
string - bar code string
length - string length| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||