<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>CCodecFrame Class Reference</h1>A base class for video codecs. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="codecframe_h-source.html">CodecFrame.h</a>></code> <p> <p>Inheritance diagram for CCodecFrame:: <p><center><img src="class_ccodecframe.gif" usemap="#CCodecFrame_map" border="0"></center> <map name="CCodecFrame_map"> <area href="class_ccamframe.html" alt="CCamFrame" shape="rect" coords="0,0,95,24"> <area href="class_csimplecodec.html" alt="CSimpleCodec" shape="rect" coords="0,112,95,136"> </map> <a href="class_ccodecframe-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_ccodecframe.html#a0">CCodecFrame</a> (<a class="el" href="class_qwidget.html">QWidget</a> *parent=0, const char *name=0) <li>virtual <a class="el" href="class_ccodecframe.html#a1">~CCodecFrame</a> () </ul> <h2>Protected Methods</h2> <ul> <li>void <a class="el" href="class_ccodecframe.html#b0">drawContents</a> (QPainter *p) <li>void <a class="el" href="class_ccodecframe.html#b1">mousePressEvent</a> (QMouseEvent *) <li>void <a class="el" href="class_ccodecframe.html#b2">RegisterPanel</a> (<a class="el" href="class_ccampanel.html">CCamPanel</a> *p) <li>void <a class="el" href="class_ccodecframe.html#b3">UnregisterPanel</a> (<a class="el" href="class_ccampanel.html">CCamPanel</a> *p, bool Delete=FALSE) <li><a class="el" href="class_ccampanel.html">CCamPanel</a>* <a class="el" href="class_ccodecframe.html#b4">GetPanel</a> (const char *name) const </ul> <h2>Protected Slots</h2> <ul> <li>void <a class="el" href="class_ccodecframe.html#h0">TogglePanelsDlg</a> (bool) <li>void <a class="el" href="class_ccodecframe.html#h1">PanelsDlgClosed</a> () <li>void <a class="el" href="class_ccodecframe.html#h2">UpdatePanelView</a> () </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> A base class for video codecs. <p> <p> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="CCodecFrame::CCodecFrame"></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> CCodecFrame::CCodecFrame ( </b></td> <td valign="bottom"><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="CCodecFrame::~CCodecFrame"></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 CCodecFrame::~CCodecFrame ( </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="b4" doxytag="CCodecFrame::GetPanel"></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> <a class="el" href="class_ccampanel.html">CCamPanel</a> * CCodecFrame::GetPanel ( </b></td> <td valign="bottom"><b> const char * <em>name</em> ) const<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Find a panel in the list of known panels. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>name</em> </td><td> The name of the panel. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> A <a class="el" href="class_ccampanel.html">CCamPanel</a> object, or NULL if the panel could not be found. </dl> </td> </tr> </table> <a name="h1" doxytag="CCodecFrame::PanelsDlgClosed"></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 CCodecFrame::PanelsDlgClosed ( </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> </td> </tr> </table> <a name="b2" doxytag="CCodecFrame::RegisterPanel"></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 CCodecFrame::RegisterPanel ( </b></td> <td valign="bottom"><b> <a class="el" href="class_ccampanel.html">CCamPanel</a> * <em>p</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Add a panel to the list of known panels,. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>p</em> </td><td> Pointer to <a class="el" href="class_ccampanel.html">CCamPanel</a> class. <p> </td></tr> </table> </dl>This function adds the <a class="el" href="class_ccampanel.html">CCamPanel</a> p to the list of known panels. It also sets the visibility, as registered in <a class="el" href="class_ccamstreamapp.html">CCamStreamApp</a>. </td> </tr> </table> <a name="h0" doxytag="CCodecFrame::TogglePanelsDlg"></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 CCodecFrame::TogglePanelsDlg ( </b></td> <td valign="bottom"><b> bool )<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="b3" doxytag="CCodecFrame::UnregisterPanel"></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 CCodecFrame::UnregisterPanel ( </b></td> <td valign="bottom"><b> <a class="el" href="class_ccampanel.html">CCamPanel</a> * <em>p</em>, </b></td> </tr> <tr> <td></td> <td><b> bool <em>Delete</em> = FALSE )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Remove panel from list of known panels. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>p</em> </td><td> The <a class="el" href="class_ccampanel.html">CCamPanel</a> to remove. </td></tr> <tr><td valign=top><em>Delete</em> </td><td> When TRUE, will also delete the object <p> </td></tr> </table> </dl>This function removes the object from the list of available (and drawable) panels. When asked to it will also destroy the object. </td> </tr> </table> <a name="h2" doxytag="CCodecFrame::UpdatePanelView"></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 CCodecFrame::UpdatePanelView ( </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> Should be called when a Panel is changed, for example its size or visability. </td> </tr> </table> <a name="b0" doxytag="CCodecFrame::drawContents"></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 CCodecFrame::drawContents ( </b></td> <td valign="bottom"><b> QPainter * <em>p</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Draws all visible panels. <p> </td> </tr> </table> <a name="b1" doxytag="CCodecFrame::mousePressEvent"></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 CCodecFrame::mousePressEvent ( </b></td> <td valign="bottom"><b> QMouseEvent * )<code> [protected]</code> </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="codecframe_cc.html">CodecFrame.cc</a><li><a class="el" href="codecframe_h-source.html">CodecFrame.h</a></ul> <hr><address><small>Generated at Sat May 18 02:56:55 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>