mx::IViewingSession Class Reference
[Component Interfaces]

an interface to a viewing device. More...

#include <IViewingSession.h>

Inheritance diagram for mx::IViewingSession:

mx::IInterface List of all members.

Public Member Functions

virtual mxm::smart< mxmStringListenumerateInterfaces ()=0
virtual ISimpleViewergetSimpleViewerInstance ()=0
virtual ISimpleViewergetPreviewInstance ()=0
virtual ISimpleImageViewergetSimpleImageViewerInstance ()=0

Detailed Description

an interface to a viewing device.


Member Function Documentation

virtual mxm::smart<mxmStringList> mx::IViewingSession::enumerateInterfaces  )  [pure virtual]
 

Informs about the interfaces provided by a particular viewing session object, so the calling context can learn what devices it can configure using the session, and what parameters. Normally, the viewing session shoul support ISupportsSimpleCameraConfiguration.

virtual ISimpleViewer* mx::IViewingSession::getPreviewInstance  )  [pure virtual]
 

get an instance of a simple viewer object, which is configured to use a preview stream. Maybe not every attribute is considered, i.e framerate, ... If you need these attributes, you must use the method getSimpleViewerInstance,

virtual ISimpleImageViewer* mx::IViewingSession::getSimpleImageViewerInstance  )  [pure virtual]
 

get an instance of a simple image viewer object, which is configured to retrieve an image from the device. Since you don't get a smart pointer, you have to take care on the livetime of the instance.

virtual ISimpleViewer* mx::IViewingSession::getSimpleViewerInstance  )  [pure virtual]
 

get an instance of a simple viewer object. This object is useful for a preview, for example. The caller gets ownership of the object. NOTE: you don't get a smart pointer, this is because you can retrieve a QWidget pointer from the ISimpleViewer. If this QWidget gets a parent assigned, the parent will remove this QWidget on destruction.


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