| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Base
   |
   +--Nes::Api::DipSwitches
DIP switches interface.
| Constructor Summary | |
| DipSwitches( T& instance )Interface constructor. | |
| Method Summary | |
|  bool | CanModify() constChecks if the DIP switches can be changed at this time. | 
|  const char* | GetDipName( uint dip ) constReturns the name of a DIP switch. | 
|  int | GetValue( uint dip ) constReturns the current DIP switch value. | 
|  const char* | GetValueName( uint dip, uint value ) constReturns the name of a DIP switch value. | 
|  uint | NumDips() constReturns the number of available DIP switches. | 
|  uint | NumValues( uint dip ) constReturns the number of values that can be chosen for a DIP switch. | 
|  Result | SetValue( uint dip, uint value )Sets a DIP switch value. | 
| Constructor Detail | 
public DipSwitches( T& instance );
instance - emulator instance| Method Detail | 
public bool CanModify() const throw();
public const char* GetDipName( uint dip ) const throw();
dip - DIP switch IDpublic int GetValue( uint dip ) const throw();
dip - DIP switch IDpublic const char* GetValueName( uint dip, uint value ) const throw();
dip - DIP switch ID
value - value IDpublic uint NumDips() const throw();
public uint NumValues( uint dip ) const throw();
dip - DIP switch IDpublic Result SetValue( uint dip, uint value ) throw();
dip - DIP switch ID
value - value ID| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||