#include <ISimpleViewer.h>
Inheritance diagram for mx::ISimpleViewer:
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. |
MxSDK
camera drivers will provide viewer widgets implementing this interface in order to deliver [psc]
's "preview" functionality.
[khe]
Kai Hergenroether
|
Connects to the (driver-)preconfigured stream source and begins playback. If the viewer was already streaming, it is stopped prior to reconnection. |