|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base
|
+--Nes::Api::TapeRecorder
Tape interface.
Inner Classes, Typedefs, and Enums | |
enum |
Nes::Api::TapeRecorder::Event
Tape events. |
typedef |
Nes::Api::TapeRecorder::EventCallback
Tape event callback prototype. |
Field Summary | |
static Nes::Api::TapeRecorder::EventCaller |
eventCallback
Tape event callback manager. |
Constructor Summary | |
TapeRecorder( T& instance )
Interface constructor. |
Method Summary | |
bool |
IsConnected() const
Checks if a tape recorder is connected. |
bool |
IsPlayable() const
Checks if tape can be played |
bool |
IsPlaying() const
Checks if tape is playing. |
bool |
IsRecording() const
Checks if tape is recording. |
bool |
IsStopped() const
Checks if tape has stopped playing or recording. |
Result |
Play()
Plays tape. |
Result |
Record()
Records tape. |
Result |
Stop()
Stops tape. |
Field Detail |
public static Nes::Api::TapeRecorder::EventCaller eventCallback;
Constructor Detail |
public TapeRecorder( T& instance );
instance
- emulator instanceMethod Detail |
public bool IsConnected() const throw();
true
- connectedpublic bool IsPlayable() const throw();
public bool IsPlaying() const throw();
public bool IsRecording() const throw();
public bool IsStopped() const throw();
public Result Play() throw();
public Result Record() throw();
public Result Stop() throw();
|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |