Event-dispatching members evaluate an event to determine if it is appropriate for
this handler object to process. If it is, this function calls the virtual
function used to process the event.
Event-processing members are invoked in response to the user pressing a
button on the player panel, or they are invoked by the user of this class. These
can be overridden to provide more functionality or more precise control of
the device. All of these methods can be thought of as button presses, even
though they might have been invoked directly.
- fastForward
protected:
virtual bool fastForward(const IMMPlayerPanel& panel)
Gets called when the user presses the fast forward button. The default action is to call
seekToEnd on the device.
It also unlatches the play and pause buttons and disables the stop and pause buttons.
- Exception
IInvalidRequest
| There must be a device set for the player panel.
|
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
No |
- pause
protected:
virtual bool pause(const IMMPlayerPanel& panel)
Gets called when the user presses the pause button. The default action is to call
pause on the device.
If the device is already paused, it calls
resume on the device
and latches the play button.
- Exception
IInvalidRequest
| There must be a device set for the player panel.
|
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
No |
- play
protected:
virtual bool play(const IMMPlayerPanel& panel)
Gets called when the user presses the play button. The default action is to call
play on the device.
It also unlatches the pause button and enables the stop and pause buttons.
- Exception
IInvalidRequest
| There must be a device set for the player panel.
|
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
No |
- rewind
protected:
virtual bool rewind(const IMMPlayerPanel& panel)
Gets called when the user presses the rewind button. The default action is to call
seekToStart on the device.
It also unlatches the play and pause buttons and disables the stop and pause buttons.
- Exception
IInvalidRequest
| There must be a device set for the player panel.
|
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
No |
- stepBackward
protected:
virtual bool stepBackward(const IMMPlayerPanel& panel)
Gets called when the user presses the step backward button. This is only
possible when step is meaningful to the device, such as for video. The default action is to call
stepFrame on the device.
It also unlatches the play button.
- Exception
IInvalidRequest
| There must be a device set for the player panel.
|
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
No |
- stepForward
protected:
virtual bool stepForward(const IMMPlayerPanel& panel)
Gets called when the user presses the step forward button. This is only
possible when step is meaningful to the device, such as for video. The default action is to call
stepFrame on the device.
It also unlatches the play button.
- Exception
IInvalidRequest
| There must be a device set for the player panel.
|
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
No |
- stop
protected:
virtual bool stop(const IMMPlayerPanel& panel)
Gets called when the user presses the stop button. The default action is to call
stop and
seekToStart on the device.
It also unlatches the play and pause buttons and disables the stop and pause buttons.
- Exception
IInvalidRequest
| There must be a device set for the player panel.
|
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
No |