207
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c File Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
11 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
|
12 |
</ul></div>
|
|
13 |
<div class="tabs">
|
|
14 |
<ul>
|
|
15 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
16 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
17 |
</ul></div>
|
|
18 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c File Reference</h1><code>#include <data.h></code><br>
|
|
19 |
<code>#include "lifegrd.h"</code><br>
|
|
20 |
<code>#include "canfestival.h"</code><br>
|
|
21 |
|
|
22 |
<p>
|
|
23 |
<a href="lifegrd_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
24 |
<tr><td></td></tr>
|
|
25 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
26 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198">ConsumerHearbeatAlarm</a> (CO_Data *d, UNS32 id)</td></tr>
|
|
27 |
|
|
28 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#626b7d9e527a898682d9122f91454de9">ProducerHearbeatAlarm</a> (CO_Data *d, UNS32 id)</td></tr>
|
|
29 |
|
|
30 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#ec7b3543d04cf7d7098b27fba2510696">OnHearbeatProducerUpdate</a> (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)</td></tr>
|
|
31 |
|
|
32 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">e_nodeState </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#627254070e45c23f1776e12c524492ff">getNodeState</a> (CO_Data *d, UNS8 nodeId)</td></tr>
|
|
33 |
|
|
34 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#b3248945e06e8b05518beddf665f174d">proceedNODE_GUARD</a> (CO_Data *d, Message *m)</td></tr>
|
|
35 |
|
|
36 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#098c81fb9326fb2c7b43e88a55ce1368">OnHeartbeatProducerUpdate</a> (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)</td></tr>
|
|
37 |
|
|
38 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21">heartbeatInit</a> (CO_Data *d)</td></tr>
|
|
39 |
|
|
40 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7">heartbeatStop</a> (CO_Data *d)</td></tr>
|
|
41 |
|
|
42 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#5249eb891f5677b80ccf01e604748524">_heartbeatError</a> (UNS8 heartbeatID)</td></tr>
|
|
43 |
|
|
44 |
</table>
|
|
45 |
<hr><h2>Function Documentation</h2>
|
|
46 |
<a class="anchor" name="5249eb891f5677b80ccf01e604748524"></a><!-- doxytag: member="lifegrd.c::_heartbeatError" ref="5249eb891f5677b80ccf01e604748524" args="(UNS8 heartbeatID)" -->
|
|
47 |
<div class="memitem">
|
|
48 |
<div class="memproto">
|
|
49 |
<table class="memname">
|
|
50 |
<tr>
|
|
51 |
<td class="memname">void _heartbeatError </td>
|
|
52 |
<td>(</td>
|
|
53 |
<td class="paramtype">UNS8 </td>
|
|
54 |
<td class="paramname"> <em>heartbeatID</em> </td>
|
|
55 |
<td> ) </td>
|
|
56 |
<td width="100%"></td>
|
|
57 |
</tr>
|
|
58 |
</table>
|
|
59 |
</div>
|
|
60 |
<div class="memdoc">
|
|
61 |
|
|
62 |
<p>
|
|
63 |
|
|
64 |
<p>
|
|
65 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00184">184</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
66 |
</div>
|
|
67 |
</div><p>
|
|
68 |
<a class="anchor" name="e3cd4656f5b2a37d4b8d364293538198"></a><!-- doxytag: member="lifegrd.c::ConsumerHearbeatAlarm" ref="e3cd4656f5b2a37d4b8d364293538198" args="(CO_Data *d, UNS32 id)" -->
|
|
69 |
<div class="memitem">
|
|
70 |
<div class="memproto">
|
|
71 |
<table class="memname">
|
|
72 |
<tr>
|
|
73 |
<td class="memname">void ConsumerHearbeatAlarm </td>
|
|
74 |
<td>(</td>
|
|
75 |
<td class="paramtype">CO_Data * </td>
|
|
76 |
<td class="paramname"> <em>d</em>, </td>
|
|
77 |
</tr>
|
|
78 |
<tr>
|
|
79 |
<td class="paramkey"></td>
|
|
80 |
<td></td>
|
|
81 |
<td class="paramtype">UNS32 </td>
|
|
82 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
83 |
</tr>
|
|
84 |
<tr>
|
|
85 |
<td></td>
|
|
86 |
<td>)</td>
|
|
87 |
<td></td><td></td><td width="100%"></td>
|
|
88 |
</tr>
|
|
89 |
</table>
|
|
90 |
</div>
|
|
91 |
<div class="memdoc">
|
|
92 |
|
|
93 |
<p>
|
|
94 |
|
|
95 |
<p>
|
|
96 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00041">41</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
97 |
</div>
|
|
98 |
</div><p>
|
|
99 |
<a class="anchor" name="627254070e45c23f1776e12c524492ff"></a><!-- doxytag: member="lifegrd.c::getNodeState" ref="627254070e45c23f1776e12c524492ff" args="(CO_Data *d, UNS8 nodeId)" -->
|
|
100 |
<div class="memitem">
|
|
101 |
<div class="memproto">
|
|
102 |
<table class="memname">
|
|
103 |
<tr>
|
|
104 |
<td class="memname">e_nodeState getNodeState </td>
|
|
105 |
<td>(</td>
|
|
106 |
<td class="paramtype">CO_Data * </td>
|
|
107 |
<td class="paramname"> <em>d</em>, </td>
|
|
108 |
</tr>
|
|
109 |
<tr>
|
|
110 |
<td class="paramkey"></td>
|
|
111 |
<td></td>
|
|
112 |
<td class="paramtype">UNS8 </td>
|
|
113 |
<td class="paramname"> <em>nodeId</em></td><td> </td>
|
|
114 |
</tr>
|
|
115 |
<tr>
|
|
116 |
<td></td>
|
|
117 |
<td>)</td>
|
|
118 |
<td></td><td></td><td width="100%"></td>
|
|
119 |
</tr>
|
|
120 |
</table>
|
|
121 |
</div>
|
|
122 |
<div class="memdoc">
|
|
123 |
|
|
124 |
<p>
|
|
125 |
|
|
126 |
<p>
|
|
127 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00033">33</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
128 |
</div>
|
|
129 |
</div><p>
|
|
130 |
<a class="anchor" name="8896f6846e4d020390f6953f3d98aa21"></a><!-- doxytag: member="lifegrd.c::heartbeatInit" ref="8896f6846e4d020390f6953f3d98aa21" args="(CO_Data *d)" -->
|
|
131 |
<div class="memitem">
|
|
132 |
<div class="memproto">
|
|
133 |
<table class="memname">
|
|
134 |
<tr>
|
|
135 |
<td class="memname">void heartbeatInit </td>
|
|
136 |
<td>(</td>
|
|
137 |
<td class="paramtype">CO_Data * </td>
|
|
138 |
<td class="paramname"> <em>d</em> </td>
|
|
139 |
<td> ) </td>
|
|
140 |
<td width="100%"></td>
|
|
141 |
</tr>
|
|
142 |
</table>
|
|
143 |
</div>
|
|
144 |
<div class="memdoc">
|
|
145 |
|
|
146 |
<p>
|
|
147 |
|
|
148 |
<p>
|
|
149 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00147">147</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
150 |
<p>
|
|
151 |
References <a class="el" href="lifegrd_8c-source.html#l00041">ConsumerHearbeatAlarm()</a>, <a class="el" href="lifegrd_8c-source.html#l00139">OnHeartbeatProducerUpdate()</a>, <a class="el" href="lifegrd_8c-source.html#l00113">ProducerHearbeatAlarm()</a>, <a class="el" href="objacces_8c-source.html#l00297">RegisterSetODentryCallBack()</a>, and <a class="el" href="timer_8c-source.html#l00038">SetAlarm()</a>.
|
|
152 |
</div>
|
|
153 |
</div><p>
|
|
154 |
<a class="anchor" name="1b73047269c2a02065e12af18c6053c7"></a><!-- doxytag: member="lifegrd.c::heartbeatStop" ref="1b73047269c2a02065e12af18c6053c7" args="(CO_Data *d)" -->
|
|
155 |
<div class="memitem">
|
|
156 |
<div class="memproto">
|
|
157 |
<table class="memname">
|
|
158 |
<tr>
|
|
159 |
<td class="memname">void heartbeatStop </td>
|
|
160 |
<td>(</td>
|
|
161 |
<td class="paramtype">CO_Data * </td>
|
|
162 |
<td class="paramname"> <em>d</em> </td>
|
|
163 |
<td> ) </td>
|
|
164 |
<td width="100%"></td>
|
|
165 |
</tr>
|
|
166 |
</table>
|
|
167 |
</div>
|
|
168 |
<div class="memdoc">
|
|
169 |
|
|
170 |
<p>
|
|
171 |
|
|
172 |
<p>
|
|
173 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00173">173</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
174 |
<p>
|
|
175 |
References <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>.
|
|
176 |
</div>
|
|
177 |
</div><p>
|
|
178 |
<a class="anchor" name="ec7b3543d04cf7d7098b27fba2510696"></a><!-- doxytag: member="lifegrd.c::OnHearbeatProducerUpdate" ref="ec7b3543d04cf7d7098b27fba2510696" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" -->
|
|
179 |
<div class="memitem">
|
|
180 |
<div class="memproto">
|
|
181 |
<table class="memname">
|
|
182 |
<tr>
|
|
183 |
<td class="memname">UNS32 OnHearbeatProducerUpdate </td>
|
|
184 |
<td>(</td>
|
|
185 |
<td class="paramtype">CO_Data * </td>
|
|
186 |
<td class="paramname"> <em>d</em>, </td>
|
|
187 |
</tr>
|
|
188 |
<tr>
|
|
189 |
<td class="paramkey"></td>
|
|
190 |
<td></td>
|
|
191 |
<td class="paramtype">const indextable * </td>
|
|
192 |
<td class="paramname"> <em>unsused_indextable</em>, </td>
|
|
193 |
</tr>
|
|
194 |
<tr>
|
|
195 |
<td class="paramkey"></td>
|
|
196 |
<td></td>
|
|
197 |
<td class="paramtype">UNS8 </td>
|
|
198 |
<td class="paramname"> <em>unsused_bSubindex</em></td><td> </td>
|
|
199 |
</tr>
|
|
200 |
<tr>
|
|
201 |
<td></td>
|
|
202 |
<td>)</td>
|
|
203 |
<td></td><td></td><td width="100%"></td>
|
|
204 |
</tr>
|
|
205 |
</table>
|
|
206 |
</div>
|
|
207 |
<div class="memdoc">
|
|
208 |
|
|
209 |
<p>
|
|
210 |
|
|
211 |
</div>
|
|
212 |
</div><p>
|
|
213 |
<a class="anchor" name="098c81fb9326fb2c7b43e88a55ce1368"></a><!-- doxytag: member="lifegrd.c::OnHeartbeatProducerUpdate" ref="098c81fb9326fb2c7b43e88a55ce1368" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" -->
|
|
214 |
<div class="memitem">
|
|
215 |
<div class="memproto">
|
|
216 |
<table class="memname">
|
|
217 |
<tr>
|
|
218 |
<td class="memname">UNS32 OnHeartbeatProducerUpdate </td>
|
|
219 |
<td>(</td>
|
|
220 |
<td class="paramtype">CO_Data * </td>
|
|
221 |
<td class="paramname"> <em>d</em>, </td>
|
|
222 |
</tr>
|
|
223 |
<tr>
|
|
224 |
<td class="paramkey"></td>
|
|
225 |
<td></td>
|
|
226 |
<td class="paramtype">const indextable * </td>
|
|
227 |
<td class="paramname"> <em>unsused_indextable</em>, </td>
|
|
228 |
</tr>
|
|
229 |
<tr>
|
|
230 |
<td class="paramkey"></td>
|
|
231 |
<td></td>
|
|
232 |
<td class="paramtype">UNS8 </td>
|
|
233 |
<td class="paramname"> <em>unsused_bSubindex</em></td><td> </td>
|
|
234 |
</tr>
|
|
235 |
<tr>
|
|
236 |
<td></td>
|
|
237 |
<td>)</td>
|
|
238 |
<td></td><td></td><td width="100%"></td>
|
|
239 |
</tr>
|
|
240 |
</table>
|
|
241 |
</div>
|
|
242 |
<div class="memdoc">
|
|
243 |
|
|
244 |
<p>
|
|
245 |
|
|
246 |
<p>
|
|
247 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00139">139</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
248 |
<p>
|
|
249 |
References <a class="el" href="lifegrd_8c-source.html#l00147">heartbeatInit()</a>, and <a class="el" href="lifegrd_8c-source.html#l00173">heartbeatStop()</a>.
|
|
250 |
</div>
|
|
251 |
</div><p>
|
|
252 |
<a class="anchor" name="b3248945e06e8b05518beddf665f174d"></a><!-- doxytag: member="lifegrd.c::proceedNODE_GUARD" ref="b3248945e06e8b05518beddf665f174d" args="(CO_Data *d, Message *m)" -->
|
|
253 |
<div class="memitem">
|
|
254 |
<div class="memproto">
|
|
255 |
<table class="memname">
|
|
256 |
<tr>
|
|
257 |
<td class="memname">void proceedNODE_GUARD </td>
|
|
258 |
<td>(</td>
|
|
259 |
<td class="paramtype">CO_Data * </td>
|
|
260 |
<td class="paramname"> <em>d</em>, </td>
|
|
261 |
</tr>
|
|
262 |
<tr>
|
|
263 |
<td class="paramkey"></td>
|
|
264 |
<td></td>
|
|
265 |
<td class="paramtype">Message * </td>
|
|
266 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
267 |
</tr>
|
|
268 |
<tr>
|
|
269 |
<td></td>
|
|
270 |
<td>)</td>
|
|
271 |
<td></td><td></td><td width="100%"></td>
|
|
272 |
</tr>
|
|
273 |
</table>
|
|
274 |
</div>
|
|
275 |
<div class="memdoc">
|
|
276 |
|
|
277 |
<p>
|
|
278 |
|
|
279 |
<p>
|
|
280 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00050">50</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
281 |
<p>
|
|
282 |
References <a class="el" href="lifegrd_8c-source.html#l00041">ConsumerHearbeatAlarm()</a>, <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>, and <a class="el" href="timer_8c-source.html#l00038">SetAlarm()</a>.
|
|
283 |
</div>
|
|
284 |
</div><p>
|
|
285 |
<a class="anchor" name="626b7d9e527a898682d9122f91454de9"></a><!-- doxytag: member="lifegrd.c::ProducerHearbeatAlarm" ref="626b7d9e527a898682d9122f91454de9" args="(CO_Data *d, UNS32 id)" -->
|
|
286 |
<div class="memitem">
|
|
287 |
<div class="memproto">
|
|
288 |
<table class="memname">
|
|
289 |
<tr>
|
|
290 |
<td class="memname">void ProducerHearbeatAlarm </td>
|
|
291 |
<td>(</td>
|
|
292 |
<td class="paramtype">CO_Data * </td>
|
|
293 |
<td class="paramname"> <em>d</em>, </td>
|
|
294 |
</tr>
|
|
295 |
<tr>
|
|
296 |
<td class="paramkey"></td>
|
|
297 |
<td></td>
|
|
298 |
<td class="paramtype">UNS32 </td>
|
|
299 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
300 |
</tr>
|
|
301 |
<tr>
|
|
302 |
<td></td>
|
|
303 |
<td>)</td>
|
|
304 |
<td></td><td></td><td width="100%"></td>
|
|
305 |
</tr>
|
|
306 |
</table>
|
|
307 |
</div>
|
|
308 |
<div class="memdoc">
|
|
309 |
|
|
310 |
<p>
|
|
311 |
|
|
312 |
<p>
|
|
313 |
Definition at line <a class="el" href="lifegrd_8c-source.html#l00113">113</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.
|
|
314 |
<p>
|
|
315 |
References <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>.
|
|
316 |
</div>
|
|
317 |
</div><p>
|
|
318 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by
|
|
319 |
<a href="http://www.doxygen.org/index.html">
|
|
320 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
321 |
</body>
|
|
322 |
</html>
|