mx::ISimpleViewer Class Reference
[Component Interfaces]

Encodes the concept of a simple video stream viewer widget for demo purposes. More...

#include <ISimpleViewer.h>

Inheritance diagram for mx::ISimpleViewer:

mx::IQtWidget mx::ICanUseDialogs mx::ICanUseKeyChain mx::IInterface mx::IInterface mx::IInterface List of all members.

Public Member Functions

virtual void setWindowTitlePrefix (const QString &window_title_prefix)=0
 Changes the window title prefix.
virtual void enableFramerateMeasureMode (bool enabled, int measure_interval_ms=10000)=0
 Toggles framerate measure mode.
virtual void enableScaleToFit (bool enabled)=0
 Toggles scale-to-fit feature.
virtual void play ()=0
 Connects to the (driver-)preconfigured stream source and begins playback.
virtual mxmQtSlot playSlot ()=0
 For signal connection.
virtual void stop ()=0
 Disconnects a potential stream source and switches to disconnected state.
virtual mxmQtSlot stopSlot ()=0
 For signal connection.
virtual int lastPlaybackFrameCounter ()=0
 Returns the frame counter for the last stream played back.
virtual mxmQtSignal framerateMeasuredSignal ()=0
 (float)-signature signal reporting a new framerate measure.
virtual mxmQtSignal streamingStartedSignal ()=0
 Signal emitted once when the first frame has come in after a call to playCameraLiveStream().
virtual mxmQtSignal streamingStoppedSignal ()=0
 Signal emitted once when streaming has stopped.
virtual void addMenuItem (const QString &item_text, mxmQtSlot target_slot)=0
 Adds an item to the viewer's context menu that is raised by right-clicking into the display.
virtual void addMenuSeparator ()=0
 Adds a horizontal separator to the viewer's popup menu.

Detailed Description

Encodes the concept of a simple video stream viewer widget for demo purposes.

MxSDK camera drivers will provide viewer widgets implementing this interface in order to deliver [psc]'s "preview" functionality.

Author:
[khe] Kai Hergenroether


Member Function Documentation

virtual void mx::ISimpleViewer::play  )  [pure virtual]
 

Connects to the (driver-)preconfigured stream source and begins playback.

If the viewer was already streaming, it is stopped prior to reconnection.


The documentation for this class was generated from the following file:
Generated on Fri Jun 29 17:21:06 2007 for MxPEG SDK by  doxygen 1.4.6