File: videodeviceinput_h-source.html

package info (click to toggle)
camstream 0.25-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,996 kB
  • ctags: 1,478
  • sloc: cpp: 6,074; asm: 1,033; makefile: 272
file content (76 lines) | stat: -rw-r--r-- 4,592 bytes parent folder | download
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
70
71
72
73
74
75
76
<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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </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">#include &lt;qobject.h&gt;</font>
00005 <font class="preprocessor">#include &lt;qvector.h&gt;</font>
00006 
00007 <font class="preprocessor">#include "<a class="code" href="videodevicetuner_h.html">VideoDeviceTuner.h</a>"</font>
00008 
00009 <font class="keyword">class </font><a class="code" href="class_cvideodevice.html">CVideoDevice</a>;
00010 
00011 <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>
00012 {
00013    Q_OBJECT
00014 <font class="keyword">private</font>:
00015    <a class="code" href="class_cvideodevice.html">CVideoDevice</a> *pVideo;
00016    <font class="keywordtype">int</font> Channel;
00017    QVector &lt;CVideoDeviceTuner&gt;Tuners;
00018    <font class="keywordtype">int</font> CurrentTuner;
00019 
00020    QString Name;
00021    <font class="keywordtype">int</font> Type;
00022 
00023    <font class="keywordtype">int</font> flags, Norm;
00024 
00025 <font class="keyword">public</font>:
00026    <font class="keyword">enum</font> {
00027      Unknown,
00028      TV,
00029      Camera
00030    } InputTypes;
00031    <font class="keyword">enum</font> {
00032      PAL,
00033      NTSC,
00034      SECAM,
00035      PAL_NC,
00036      PAL_M,
00037      PAL_N,
00038      NTSC_JAPAN,
00039      MAX,
00040    } TunerNorms;
00041 
00042    <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);
00043 
00044    <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a1">GetNumber</a>() <font class="keyword">const</font>;   
00045    QString <a class="code" href="class_cvideodeviceinput.html#a2">GetName</a>() <font class="keyword">const</font>;
00046    <font class="keywordtype">bool</font> <a class="code" href="class_cvideodeviceinput.html#a3">HasAudio</a>() <font class="keyword">const</font>;
00047    <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a4">GetType</a>() <font class="keyword">const</font>;
00048    
00049    <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a5">GetTuners</a>() <font class="keyword">const</font>;
00050    <font class="keywordtype">int</font> <a class="code" href="class_cvideodeviceinput.html#a6">GetCurrentTuner</a>() <font class="keyword">const</font>;
00051    <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) <font class="keyword">const</font>;
00052    <font class="keywordtype">bool</font> <a class="code" href="class_cvideodeviceinput.html#a8">SelectTuner</a>(<font class="keywordtype">int</font> number);
00053    <font class="keywordtype">void</font> <a class="code" href="class_cvideodeviceinput.html#a9">SetNorm</a>(<font class="keywordtype">int</font> norm);
00054    
00055    <font class="keywordtype">bool</font> <a class="code" href="class_cvideodeviceinput.html#a10">Select</a>();
00056 };
00057 
00058 
00059 <font class="preprocessor">#endif</font>
</font></pre></div><hr><address><small>Generated at Wed Jun 20 02:51:23 2001 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>,
 &copy;&nbsp;1997-2001</small></address>
</body>
</html>