📄 aflibrecorderitem_8h-source.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>aflibRecorderItem.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.15 --><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>aflibRecorderItem.h</h1><a href="aflibRecorderItem_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>00002 <font class="comment"> * Copyright: (C) 1999-2001 Bruce W. Forsberg</font>00003 <font class="comment"> *</font>00004 <font class="comment"> * This library is free software; you can redistribute it and/or</font>00005 <font class="comment"> * modify it under the terms of the GNU Lesser General Public</font>00006 <font class="comment"> * License as published by the Free Software Foundation; either</font>00007 <font class="comment"> * version 2.1 of the License, or any later version.</font>00008 <font class="comment"> *</font>00009 <font class="comment"> * This library is distributed in the hope that it will be useful,</font>00010 <font class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</font>00011 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>00012 <font class="comment"> * Lesser General Public License for more details.</font>00013 <font class="comment"> *</font>00014 <font class="comment"> * You should have received a copy of the GNU Lesser General Public</font>00015 <font class="comment"> * License along with this library; if not, write to the Free Software</font>00016 <font class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</font>00017 <font class="comment"> *</font>00018 <font class="comment"> * Bruce Forsberg forsberg@tns.net</font>00019 <font class="comment"> *</font>00020 <font class="comment"> */</font>00021 00022 00023 <font class="preprocessor">#ifndef _AFLIBRECORDERITEM_H_</font>00024 <font class="preprocessor"></font><font class="preprocessor">#define _AFLIBRECORDERITEM_H_</font>00025 <font class="preprocessor"></font>00026 00027 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font>00028 <font class="preprocessor"></font><font class="preprocessor">#include <config.h></font>00029 <font class="preprocessor">#endif</font>00030 <font class="preprocessor"></font>00031 <font class="preprocessor">#include "<a class="code" href="aflibDateTime_8h.html">aflibDateTime.h</a>"</font>00032 <font class="preprocessor">#include "<a class="code" href="aflibData_8h.html">aflibData.h</a>"</font>00033 <font class="preprocessor">#include "<a class="code" href="aflibConfig_8h.html">aflibConfig.h</a>"</font>00034 <font class="preprocessor">#include <string></font>00035 00036 <font class="keyword">class </font><a class="code" href="classaflibAudioFile.html">aflibAudioFile</a>;00037 00038 00043 <font class="keyword">class </font><a class="code" href="classaflibRecorderItem.html">aflibRecorderItem</a> {00044 00045 <font class="keyword">public</font>:00046 00047 <a class="code" href="classaflibRecorderItem.html#a0">aflibRecorderItem</a> ();00048 00049 <a class="code" href="classaflibRecorderItem.html#a0">aflibRecorderItem</a>(00050 <font class="keyword">const</font> <a class="code" href="classaflibDateTime.html">aflibDateTime</a> start_date,00051 <font class="keyword">const</font> <a class="code" href="classaflibDateTime.html">aflibDateTime</a> stop_date,00052 <font class="keyword">const</font> string& file,00053 <font class="keyword">const</font> string& file_type,00054 <font class="keywordtype">long</font> <font class="keywordtype">long</font> max_limit,00055 <font class="keywordtype">long</font> <font class="keywordtype">long</font> each_limit,00056 <a class="code" href="classaflibConfig.html">aflibConfig</a>& config);00057 00058 <a class="code" href="classaflibRecorderItem.html#a2">~aflibRecorderItem</a>();00059 00060 <font class="keywordtype">void</font>00061 <a class="code" href="classaflibRecorderItem.html#a3">setStartDate</a>(<font class="keyword">const</font> <a class="code" href="classaflibDateTime.html">aflibDateTime</a>& date1);00062 00063 <font class="keyword">const</font> <a class="code" href="classaflibDateTime.html">aflibDateTime</a>&00064 <a class="code" href="classaflibRecorderItem.html#a4">getStartDate</a>() <font class="keyword">const</font>;00065 00066 <font class="keywordtype">void</font>00067 <a class="code" href="classaflibRecorderItem.html#a5">setStopDate</a>(<font class="keyword">const</font> <a class="code" href="classaflibDateTime.html">aflibDateTime</a>& date1);00068 00069 <font class="keyword">const</font> <a class="code" href="classaflibDateTime.html">aflibDateTime</a>&00070 <a class="code" href="classaflibRecorderItem.html#a6">getStopDate</a>() <font class="keyword">const</font>;00071 00072 <font class="keywordtype">void</font>00073 <a class="code" href="classaflibRecorderItem.html#a7">setAudioFile</a>(<font class="keyword">const</font> string& file);00074 00075 <font class="keyword">const</font> string&00076 <a class="code" href="classaflibRecorderItem.html#a8">getAudioFile</a>() <font class="keyword">const</font>;00077 00078 <font class="keywordtype">void</font>00079 <a class="code" href="classaflibRecorderItem.html#a9">setAudioFileType</a>(<font class="keyword">const</font> string& file);00080 00081 <font class="keyword">const</font> string&00082 <a class="code" href="classaflibRecorderItem.html#a10">getAudioFileType</a>() <font class="keyword">const</font>;00083 00084 <font class="keywordtype">void</font>00085 <a class="code" href="classaflibRecorderItem.html#a11">setMaxFileLimit</a>(<font class="keywordtype">long</font> <font class="keywordtype">long</font> size);00086 00087 <font class="keywordtype">long</font> <font class="keywordtype">long</font>00088 <a class="code" href="classaflibRecorderItem.html#a12">getMaxFileLimit</a>() <font class="keyword">const</font>;00089 00090 <font class="keywordtype">void</font>00091 <a class="code" href="classaflibRecorderItem.html#a13">setEachFileLimit</a>(<font class="keywordtype">long</font> <font class="keywordtype">long</font> size);00092 00093 <font class="keywordtype">long</font> <font class="keywordtype">long</font>00094 <a class="code" href="classaflibRecorderItem.html#a14">getEachFileLimit</a>() <font class="keyword">const</font>;00095 00096 <font class="keywordtype">void</font>00097 <a class="code" href="classaflibRecorderItem.html#a15">setFileObject</a>(<a class="code" href="classaflibAudioFile.html">aflibAudioFile</a> * audio);00098 00099 <a class="code" href="classaflibAudioFile.html">aflibAudioFile</a> *00100 <a class="code" href="classaflibRecorderItem.html#a16">getFileObject</a>() <font class="keyword">const</font>;00101 00102 <font class="keywordtype">void</font>00103 <a class="code" href="classaflibRecorderItem.html#a17">setConfig</a>(<font class="keyword">const</font> <a class="code" href="classaflibConfig.html">aflibConfig</a>& cfg);00104 00105 <font class="keyword">const</font> <a class="code" href="classaflibConfig.html">aflibConfig</a>&00106 <a class="code" href="classaflibRecorderItem.html#a18">getConfig</a>() <font class="keyword">const</font>;00107 00108 <font class="keywordtype">void</font>00109 <a class="code" href="classaflibRecorderItem.html#a19">processNextFile</a>();00110 00111 <font class="keywordtype">int</font>00112 <a class="code" href="classaflibRecorderItem.html#a20">getNumSegmentsSoFar</a>();00113 00114 <font class="keyword">private</font>:00115 00116 00117 <a class="code" href="classaflibDateTime.html">aflibDateTime</a> _start_date;00118 <a class="code" href="classaflibDateTime.html">aflibDateTime</a> _stop_date;00119 string _file;00120 string _base_file;00121 string _file_type;00122 <font class="keywordtype">long</font> <font class="keywordtype">long</font> _max_limit;00123 <font class="keywordtype">long</font> <font class="keywordtype">long</font> _each_limit;00124 <a class="code" href="classaflibAudioFile.html">aflibAudioFile</a> * _audio_file;00125 <font class="keywordtype">int</font> _file_segment;00126 <a class="code" href="classaflibConfig.html">aflibConfig</a> _config;00127 };00128 00129 <font class="preprocessor">#endif</font></pre></div><hr><address align="right"><small>Generated on Wed May 8 20:51:07 2002 for Open Source Audio Library Project by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -