1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
<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>VideoDeviceInput.h</h1><a href="videodeviceinput_h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef VIDEODEVICEINPUT_HPP</font>
00002 <font class="preprocessor"></font><font class="preprocessor">#define VIDEODEVICEINPUT_HPP</font>
00003 <font class="preprocessor"></font>
00004 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font>
00005 <font class="preprocessor"></font><font class="preprocessor">#include <config.h></font>
00006 <font class="preprocessor">#endif</font>
00007 <font class="preprocessor"></font>
00008
00009 <font class="preprocessor">#include <qobject.h></font>
00010 <font class="preprocessor">#include <qvector.h></font>
00011
00012 <font class="preprocessor">#include "<a class="code" href="videodevicetuner_h.html">VideoDeviceTuner.h</a>"</font>
00013
00014 <font class="keyword">class </font><a class="code" href="class_cvideodevice.html">CVideoDevice</a>;
00015
00016 <font class="keyword">class </font><a class="code" href="class_cvideodeviceinput.html">CVideoDeviceInput</a>: <font class="keyword">public</font> <a class="code" href="class_qobject.html">QObject</a>
00017 {
00018 Q_OBJECT
00019 <font class="keyword">private</font>:
00020 <a class="code" href="class_cvideodevice.html">CVideoDevice</a> *pVideo;
00021 <font class="keywordtype">int</font> Channel;
00022 QVector <CVideoDeviceTuner>Tuners;
00023 <font class="keywordtype">int</font> CurrentTuner;
00024
00025 QString Name;
00026 <font class="keywordtype">int</font> Type;
00027
00028 <font class="keywordtype">int</font> flags;
00029
00030 <font class="keyword">public</font>:
00031 <font class="keyword">enum</font> {
00032 Unknown,
00033 TV,
00034 Camera
00035 } InputTypes;
00036 <a class="code" href="class_cvideodeviceinput.html#a0">CVideoDeviceInput</a>(<a class="code" href="class_cvideodevice.html">CVideoDevice</a> *video, <font class="keywordtype">int</font> channel);
00037
00038 <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a1">GetNumber</a>() <font class="keyword">const</font>;
00039 QString <a class="code" href="class_cvideodeviceinput.html#a2">GetName</a>() <font class="keyword">const</font>;
00040 <font class="keywordtype">bool</font> <a class="code" href="class_cvideodeviceinput.html#a3">HasAudio</a>() <font class="keyword">const</font>;
00041 <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a4">GetType</a>() <font class="keyword">const</font>;
00042
00043 <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a5">GetTuners</a>() <font class="keyword">const</font>;
00044 <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a6">GetCurrentTuner</a>() <font class="keyword">const</font>;
00045 <a class="code" href="class_cvideodevicetuner.html">CVideoDeviceTuner</a> *<a class="code" href="class_cvideodeviceinput.html#a7">GetTuner</a>(<font class="keywordtype">int</font> number = -1) <font class="keyword">const</font>;
00046 <font class="keywordtype">bool</font> <a class="code" href="class_cvideodeviceinput.html#a8">SelectTuner</a>(<font class="keywordtype">int</font> number);
00047
00048 <font class="keywordtype">bool</font> <a class="code" href="class_cvideodeviceinput.html#a9">Select</a>();
00049 };
00050
00051
00052 <font class="preprocessor">#endif</font>
</font></pre></div><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>
|