|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base
|
+--Nes::Api::Movie
Movie playing/recording interface.
Inner Classes, Typedefs, and Enums | |
enum |
Nes::Api::Movie::Event
Movie event. |
typedef |
Nes::Api::Movie::EventCallback
Movie event callback prototype. |
enum |
Nes::Api::Movie::How
Recording procedure. |
Field Summary | |
static Nes::Api::Movie::EventCaller |
eventCallback
Movie event callback manager. |
Constructor Summary | |
Movie( T& instance )
Interface constructor. |
Method Summary | |
void |
Eject()
Deprecated. @deprecated |
bool |
IsPlaying() const
Checks if a movie is being played. |
bool |
IsRecording() const
Checks if a movie is being recorded. |
bool |
IsStopped() const
Checks if a movie has stopped playing or recording. |
Result |
Play( std::istream& stream )
Plays movie. |
Result |
Record( std::iostream& stream, Nes::Api::Movie::How how = CLEAN )
Records movie. |
void |
Stop()
Stops movie. |
Field Detail |
public static Nes::Api::Movie::EventCaller eventCallback;
Constructor Detail |
public Movie( T& instance );
instance
- emulator instanceMethod Detail |
public void Eject();
Ejects movie.
public bool IsPlaying() const throw();
public bool IsRecording() const throw();
public bool IsStopped() const throw();
public Result Play( std::istream& stream ) throw();
stream
- input stream to moviepublic Result Record( std::iostream& stream, Nes::Api::Movie::How how = CLEAN ) throw();
stream
- stream to record movie to
how
- CLEAN to erase any previous content, APPEND to keep content, default is CLEANpublic void Stop() throw();
|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |