207
|
1 |
\hypertarget{lifegrd_8c}{
|
|
2 |
\section{/home/epimerde/documents/tc11/Can\-Festival-3/src/lifegrd.c File Reference}
|
|
3 |
\label{lifegrd_8c}\index{/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c@{/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c}}
|
|
4 |
}
|
|
5 |
{\tt \#include $<$data.h$>$}\par
|
|
6 |
{\tt \#include \char`\"{}lifegrd.h\char`\"{}}\par
|
|
7 |
{\tt \#include \char`\"{}canfestival.h\char`\"{}}\par
|
|
8 |
\subsection*{Functions}
|
|
9 |
\begin{CompactItemize}
|
|
10 |
\item
|
|
11 |
void \hyperlink{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}{Consumer\-Hearbeat\-Alarm} (CO\_\-Data $\ast$d, UNS32 id)
|
|
12 |
\item
|
|
13 |
void \hyperlink{lifegrd_8c_626b7d9e527a898682d9122f91454de9}{Producer\-Hearbeat\-Alarm} (CO\_\-Data $\ast$d, UNS32 id)
|
|
14 |
\item
|
|
15 |
UNS32 \hyperlink{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}{On\-Hearbeat\-Producer\-Update} (CO\_\-Data $\ast$d, const indextable $\ast$unsused\_\-indextable, UNS8 unsused\_\-b\-Subindex)
|
|
16 |
\item
|
|
17 |
e\_\-node\-State \hyperlink{lifegrd_8c_627254070e45c23f1776e12c524492ff}{get\-Node\-State} (CO\_\-Data $\ast$d, UNS8 node\-Id)
|
|
18 |
\item
|
|
19 |
void \hyperlink{lifegrd_8c_b3248945e06e8b05518beddf665f174d}{proceed\-NODE\_\-GUARD} (CO\_\-Data $\ast$d, Message $\ast$m)
|
|
20 |
\item
|
|
21 |
UNS32 \hyperlink{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}{On\-Heartbeat\-Producer\-Update} (CO\_\-Data $\ast$d, const indextable $\ast$unsused\_\-indextable, UNS8 unsused\_\-b\-Subindex)
|
|
22 |
\item
|
|
23 |
void \hyperlink{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}{heartbeat\-Init} (CO\_\-Data $\ast$d)
|
|
24 |
\item
|
|
25 |
void \hyperlink{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}{heartbeat\-Stop} (CO\_\-Data $\ast$d)
|
|
26 |
\item
|
|
27 |
void \hyperlink{lifegrd_8c_5249eb891f5677b80ccf01e604748524}{\_\-heartbeat\-Error} (UNS8 heartbeat\-ID)
|
|
28 |
\end{CompactItemize}
|
|
29 |
|
|
30 |
|
|
31 |
\subsection{Function Documentation}
|
|
32 |
\hypertarget{lifegrd_8c_5249eb891f5677b80ccf01e604748524}{
|
|
33 |
\index{lifegrd.c@{lifegrd.c}!_heartbeatError@{\_\-heartbeatError}}
|
|
34 |
\index{_heartbeatError@{\_\-heartbeatError}!lifegrd.c@{lifegrd.c}}
|
|
35 |
\subsubsection[\_\-heartbeatError]{\setlength{\rightskip}{0pt plus 5cm}void \_\-heartbeat\-Error (UNS8 {\em heartbeat\-ID})}}
|
|
36 |
\label{lifegrd_8c_5249eb891f5677b80ccf01e604748524}
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
Definition at line 184 of file lifegrd.c.\hypertarget{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}{
|
|
42 |
\index{lifegrd.c@{lifegrd.c}!ConsumerHearbeatAlarm@{ConsumerHearbeatAlarm}}
|
|
43 |
\index{ConsumerHearbeatAlarm@{ConsumerHearbeatAlarm}!lifegrd.c@{lifegrd.c}}
|
|
44 |
\subsubsection[ConsumerHearbeatAlarm]{\setlength{\rightskip}{0pt plus 5cm}void Consumer\-Hearbeat\-Alarm (CO\_\-Data $\ast$ {\em d}, UNS32 {\em id})}}
|
|
45 |
\label{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
Definition at line 41 of file lifegrd.c.\hypertarget{lifegrd_8c_627254070e45c23f1776e12c524492ff}{
|
|
51 |
\index{lifegrd.c@{lifegrd.c}!getNodeState@{getNodeState}}
|
|
52 |
\index{getNodeState@{getNodeState}!lifegrd.c@{lifegrd.c}}
|
|
53 |
\subsubsection[getNodeState]{\setlength{\rightskip}{0pt plus 5cm}e\_\-node\-State get\-Node\-State (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id})}}
|
|
54 |
\label{lifegrd_8c_627254070e45c23f1776e12c524492ff}
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
Definition at line 33 of file lifegrd.c.\hypertarget{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}{
|
|
60 |
\index{lifegrd.c@{lifegrd.c}!heartbeatInit@{heartbeatInit}}
|
|
61 |
\index{heartbeatInit@{heartbeatInit}!lifegrd.c@{lifegrd.c}}
|
|
62 |
\subsubsection[heartbeatInit]{\setlength{\rightskip}{0pt plus 5cm}void heartbeat\-Init (CO\_\-Data $\ast$ {\em d})}}
|
|
63 |
\label{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
Definition at line 147 of file lifegrd.c.
|
|
69 |
|
|
70 |
References Consumer\-Hearbeat\-Alarm(), On\-Heartbeat\-Producer\-Update(), Producer\-Hearbeat\-Alarm(), Register\-Set\-ODentry\-Call\-Back(), and Set\-Alarm().\hypertarget{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}{
|
|
71 |
\index{lifegrd.c@{lifegrd.c}!heartbeatStop@{heartbeatStop}}
|
|
72 |
\index{heartbeatStop@{heartbeatStop}!lifegrd.c@{lifegrd.c}}
|
|
73 |
\subsubsection[heartbeatStop]{\setlength{\rightskip}{0pt plus 5cm}void heartbeat\-Stop (CO\_\-Data $\ast$ {\em d})}}
|
|
74 |
\label{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
Definition at line 173 of file lifegrd.c.
|
|
80 |
|
|
81 |
References Del\-Alarm().\hypertarget{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}{
|
|
82 |
\index{lifegrd.c@{lifegrd.c}!OnHearbeatProducerUpdate@{OnHearbeatProducerUpdate}}
|
|
83 |
\index{OnHearbeatProducerUpdate@{OnHearbeatProducerUpdate}!lifegrd.c@{lifegrd.c}}
|
|
84 |
\subsubsection[OnHearbeatProducerUpdate]{\setlength{\rightskip}{0pt plus 5cm}UNS32 On\-Hearbeat\-Producer\-Update (CO\_\-Data $\ast$ {\em d}, const indextable $\ast$ {\em unsused\_\-indextable}, UNS8 {\em unsused\_\-b\-Subindex})}}
|
|
85 |
\label{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}
|
|
86 |
|
|
87 |
|
|
88 |
\hypertarget{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}{
|
|
89 |
\index{lifegrd.c@{lifegrd.c}!OnHeartbeatProducerUpdate@{OnHeartbeatProducerUpdate}}
|
|
90 |
\index{OnHeartbeatProducerUpdate@{OnHeartbeatProducerUpdate}!lifegrd.c@{lifegrd.c}}
|
|
91 |
\subsubsection[OnHeartbeatProducerUpdate]{\setlength{\rightskip}{0pt plus 5cm}UNS32 On\-Heartbeat\-Producer\-Update (CO\_\-Data $\ast$ {\em d}, const indextable $\ast$ {\em unsused\_\-indextable}, UNS8 {\em unsused\_\-b\-Subindex})}}
|
|
92 |
\label{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
Definition at line 139 of file lifegrd.c.
|
|
98 |
|
|
99 |
References heartbeat\-Init(), and heartbeat\-Stop().\hypertarget{lifegrd_8c_b3248945e06e8b05518beddf665f174d}{
|
|
100 |
\index{lifegrd.c@{lifegrd.c}!proceedNODE_GUARD@{proceedNODE\_\-GUARD}}
|
|
101 |
\index{proceedNODE_GUARD@{proceedNODE\_\-GUARD}!lifegrd.c@{lifegrd.c}}
|
|
102 |
\subsubsection[proceedNODE\_\-GUARD]{\setlength{\rightskip}{0pt plus 5cm}void proceed\-NODE\_\-GUARD (CO\_\-Data $\ast$ {\em d}, Message $\ast$ {\em m})}}
|
|
103 |
\label{lifegrd_8c_b3248945e06e8b05518beddf665f174d}
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
Definition at line 50 of file lifegrd.c.
|
|
109 |
|
|
110 |
References Consumer\-Hearbeat\-Alarm(), Del\-Alarm(), and Set\-Alarm().\hypertarget{lifegrd_8c_626b7d9e527a898682d9122f91454de9}{
|
|
111 |
\index{lifegrd.c@{lifegrd.c}!ProducerHearbeatAlarm@{ProducerHearbeatAlarm}}
|
|
112 |
\index{ProducerHearbeatAlarm@{ProducerHearbeatAlarm}!lifegrd.c@{lifegrd.c}}
|
|
113 |
\subsubsection[ProducerHearbeatAlarm]{\setlength{\rightskip}{0pt plus 5cm}void Producer\-Hearbeat\-Alarm (CO\_\-Data $\ast$ {\em d}, UNS32 {\em id})}}
|
|
114 |
\label{lifegrd_8c_626b7d9e527a898682d9122f91454de9}
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
Definition at line 113 of file lifegrd.c.
|
|
120 |
|
|
121 |
References Del\-Alarm(). |