📄 ctimer_8h-source.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>ace-radius: COMMON/CTimer.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.7-20040704 --><div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a></div><h1>COMMON/CTimer.h</h1><pre class="fragment"><div>00001 <span class="comment">/*</span>00002 <span class="comment"> * This source file is part of the ace-radius library. This code was</span>00003 <span class="comment"> * written by Alex Agranov in 2004, and is covered by the BSD open source</span>00004 <span class="comment"> * license. Refer to the accompanying documentation for details on usage and</span>00005 <span class="comment"> * license.</span>00006 <span class="comment"> */</span>00007 00008 <span class="preprocessor">#ifndef _CTIMER_H__</span>00009 <span class="preprocessor"></span><span class="preprocessor">#define _CTIMER_H__</span>00010 <span class="preprocessor"></span>00011 <span class="preprocessor">#include "ace/Time_Value.h"</span>00012 <span class="preprocessor">#include "ace/Synch.h"</span>00013 00014 <a name="l00026"></a><a class="code" href="classCTimer.html">00026</a> <span class="keyword">class </span><a class="code" href="classCTimer.html">CTimer</a>00027 {00028 <span class="keyword">public</span>:00029 <a name="l00031"></a><a class="code" href="classCTimer.html#o0">00031</a> <span class="keywordtype">long</span> <a class="code" href="classCTimer.html#o0">m_timerId</a>;00032 <a name="l00034"></a><a class="code" href="classCTimer.html#o1">00034</a> <span class="keywordtype">int</span> <a class="code" href="classCTimer.html#o1">m_type</a>;00035 <a name="l00037"></a><a class="code" href="classCTimer.html#o2">00037</a> <span class="keywordtype">int</span> <a class="code" href="classCTimer.html#o2">m_data</a>;00038 <a name="l00040"></a><a class="code" href="classCTimer.html#o3">00040</a> <span class="keywordtype">void</span> * <a class="code" href="classCTimer.html#o3">m_ptr</a>;00041 00042 <a name="l00044"></a><a class="code" href="classCTimer.html#w2">00044</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="classCTimer.html#w2">timerRunning_e</a>00045 {00046 E_RUNNING,00047 E_IDLE00048 };00049 timerRunning_e m_isRunning;00050 00051 <a name="l00053"></a><a class="code" href="classCTimer.html#o5">00053</a> ACE_Time_Value <a class="code" href="classCTimer.html#o5">m_timeout</a>;00054 <a name="l00056"></a><a class="code" href="classCTimer.html#o6">00056</a> ACE_Time_Value <a class="code" href="classCTimer.html#o6">m_interval</a>;00057 00058 00060 <a class="code" href="classCTimer.html#a0">CTimer</a>();00061 00062 <a name="l00064"></a><a class="code" href="classCTimer.html#o7">00064</a> ACE_Recursive_Thread_Mutex <a class="code" href="classCTimer.html#o7">m_mutex</a>;00065 };00066 00067 00068 <span class="preprocessor">#endif // _CTIMER_H__</span></div></pre><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 30 11:00:57 2005 for ace-radius by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7-20040704 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -