<html> <head> <title>Camstream: CamStream API documentation</title> <link rel="stylesheet" href="../../tech.css" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.2.6 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>CWebCamViewer Class Reference</h1><code>#include <<a class="el" href="webcamviewer_h-source.html">WebCamViewer.h</a>></code> <p> <p>Inheritance diagram for CWebCamViewer:: <p><center><img src="class_cwebcamviewer.gif" usemap="#CWebCamViewer_map" border="0"></center> <map name="CWebCamViewer_map"> <area href="class_ccamwindow.html" alt="CCamWindow" shape="rect" coords="0,56,111,80"> <area href="class_qmainwindow.html" alt="QMainWindow" shape="rect" coords="0,0,111,24"> </map> <a href="class_cwebcamviewer-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_cwebcamviewer.html#a0">CWebCamViewer</a> (<a class="el" href="class_cvideodevice.html">CVideoDevice</a> *video, const QSize &hint_size, <a class="el" href="class_qwidget.html">QWidget</a> *parent=0, const char *name=0) <li>virtual <a class="el" href="class_cwebcamviewer.html#a1">~CWebCamViewer</a> () <li>virtual void <a class="el" href="class_cwebcamviewer.html#a2">showMaximized</a> () </ul> <h2>Public Attributes</h2> <ul> <li>CFTPClient* <a class="el" href="class_cwebcamviewer.html#m0">pClient</a> <li>QList<FTPCommandStruct> <a class="el" href="class_cwebcamviewer.html#m1">Commands</a> <li>QString <a class="el" href="class_cwebcamviewer.html#m2">LocalFile</a> <li>QString <a class="el" href="class_cwebcamviewer.html#m3">RemoteFile</a> <li>QTime <a class="el" href="class_cwebcamviewer.html#m4">StartTime</a> <li>bool <a class="el" href="class_cwebcamviewer.html#m5">ErrorCondition</a> <li>bool <a class="el" href="class_cwebcamviewer.html#m6">DelAfter</a> </ul> <h2>Protected Methods</h2> <ul> <li>void <a class="el" href="class_cwebcamviewer.html#b0">RecalcTotalViewSize</a> () </ul> <h2>Protected Slots</h2> <ul> <li>void <a class="el" href="class_cwebcamviewer.html#h0">DeviceChangedSize</a> (const QSize &size) <li>void <a class="el" href="class_cwebcamviewer.html#h1">DeviceError</a> (int err_no) <li>void <a class="el" href="class_cwebcamviewer.html#h2">CallAdjustSize</a> () </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> A class for the usual webcam activity: take pictures, save them do disk and/or upload to a server. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="CWebCamViewer::CWebCamViewer"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> CWebCamViewer::CWebCamViewer ( </b></td> <td valign="bottom"><b> <a class="el" href="class_cvideodevice.html">CVideoDevice</a> * <em>video</em>, </b></td> </tr> <tr> <td></td> <td><b> const QSize & <em>hint_size</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="class_qwidget.html">QWidget</a> * <em>parent</em> = 0, </b></td> </tr> <tr> <td></td> <td><b> const char * <em>name</em> = 0 ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="CWebCamViewer::~CWebCamViewer"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual CWebCamViewer::~CWebCamViewer ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="h2" doxytag="CWebCamViewer::CallAdjustSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CWebCamViewer::CallAdjustSize ( </b></td> <td valign="bottom"><b> )<code> [protected, slot]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Work around for adjustSize(). <p> <p> Because sometimes adjustSize() doesn't have the desired (or a delayed) effect, we call it through a single-shot timer. Unfortunately adjustSize() isn't a slot, so this is just a wrapper function. </td> </tr> </table> <a name="h0" doxytag="CWebCamViewer::DeviceChangedSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CWebCamViewer::DeviceChangedSize ( </b></td> <td valign="bottom"><b> const QSize & <em>new_size</em> )<code> [protected, slot]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Called from <a class="el" href="class_cvideodevice.html#j2">CVideoDevice::Resized</a> </td> </tr> </table> <a name="h1" doxytag="CWebCamViewer::DeviceError"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CWebCamViewer::DeviceError ( </b></td> <td valign="bottom"><b> int <em>err_no</em> )<code> [protected, slot]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b0" doxytag="CWebCamViewer::RecalcTotalViewSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CWebCamViewer::RecalcTotalViewSize ( </b></td> <td valign="bottom"><b> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Calculate the total required viewing area, based on video image and 'last snapshot'. <p> </td> </tr> </table> <a name="a2" doxytag="CWebCamViewer::showMaximized"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CWebCamViewer::showMaximized ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> public slots. <p> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="m1" doxytag="CWebCamViewer::Commands"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> QList<FTPCommandStruct> CWebCamViewer::Commands </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="m6" doxytag="CWebCamViewer::DelAfter"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool CWebCamViewer::DelAfter </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="m5" doxytag="CWebCamViewer::ErrorCondition"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool CWebCamViewer::ErrorCondition </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="m2" doxytag="CWebCamViewer::LocalFile"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> QString CWebCamViewer::LocalFile </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="m3" doxytag="CWebCamViewer::RemoteFile"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> QString CWebCamViewer::RemoteFile </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="m4" doxytag="CWebCamViewer::StartTime"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> QTime CWebCamViewer::StartTime </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="m0" doxytag="CWebCamViewer::pClient"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> CFTPClient* CWebCamViewer::pClient </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="webcamviewer_cc.html">WebCamViewer.cc</a><li><a class="el" href="webcamviewer_h-source.html">WebCamViewer.h</a></ul> <hr><address><small>Generated at Sat May 18 02:56:56 2002 for Camstream by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.6 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>