mx::ISimpleMxPEGViewer Class Reference
[Component Interfaces]

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

#include <ISimpleMxPEGViewer.h>

Inheritance diagram for mx::ISimpleMxPEGViewer:

mx::IQtWidget mx::ICanUseDialogs mx::ICanUseKeyChain mx::ISupportsHostSpecification mx::ISupportsProxySpecification mx::ISupportsWebPageSpecification mx::IInterface mx::IInterface mx::IInterface 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 playCameraLiveStream (const mxmIPAddress &camera, const mxmIPAddress &proxy=mxmIPAddress::nullIP(), float fps=4.0f)=0
 Connects to the camera specified and begins displaying the live MxPEG stream.
virtual mxmQtSlot playCameraLiveStreamSlot ()=0
 For signal connection.
virtual void playHTTPGetStream (const mxmIPAddress &host, const mxmIPAddress &proxy, const mxmStringList &web_pages)=0
 Connects to the host specified and begins displaying the MxPEG stream.
virtual mxmQtSlot playHTTPGetStreamSlot ()=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 MxPEG viewer widget for demo purposes.

Author:
[khe] Kai Hergenroether


Member Function Documentation

virtual void mx::ISimpleMxPEGViewer::playCameraLiveStream const mxmIPAddress camera,
const mxmIPAddress proxy = mxmIPAddress::nullIP(),
float  fps = 4.0f
[pure virtual]
 

Connects to the camera specified and begins displaying the live MxPEG stream.

If the viewer was already streaming, the old stream source is disconected properly.

Parameters:
proxy Specify mxmIPAddress::nullIP() in case you don't want to use a proxy.

virtual void mx::ISimpleMxPEGViewer::playHTTPGetStream const mxmIPAddress host,
const mxmIPAddress proxy,
const mxmStringList web_pages
[pure virtual]
 

Connects to the host specified and begins displaying the MxPEG stream.

If the viewer was already streaming, the old stream source is disconected properly.

Parameters:
proxy Specify mxmIPAddress::nullIP() in case you don't want to use a proxy.


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