\hypertarget{lifegrd_8c}{
\section{/home/epimerde/documents/tc11/Can\-Festival-3/src/lifegrd.c File Reference}
\label{lifegrd_8c}\index{/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c@{/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c}}
}
{\tt \#include $<$data.h$>$}\par
{\tt \#include \char`\"{}lifegrd.h\char`\"{}}\par
{\tt \#include \char`\"{}canfestival.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item
void \hyperlink{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}{Consumer\-Hearbeat\-Alarm} (CO\_\-Data $\ast$d, UNS32 id)
\item
void \hyperlink{lifegrd_8c_626b7d9e527a898682d9122f91454de9}{Producer\-Hearbeat\-Alarm} (CO\_\-Data $\ast$d, UNS32 id)
\item
UNS32 \hyperlink{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}{On\-Hearbeat\-Producer\-Update} (CO\_\-Data $\ast$d, const indextable $\ast$unsused\_\-indextable, UNS8 unsused\_\-b\-Subindex)
\item
e\_\-node\-State \hyperlink{lifegrd_8c_627254070e45c23f1776e12c524492ff}{get\-Node\-State} (CO\_\-Data $\ast$d, UNS8 node\-Id)
\item
void \hyperlink{lifegrd_8c_b3248945e06e8b05518beddf665f174d}{proceed\-NODE\_\-GUARD} (CO\_\-Data $\ast$d, Message $\ast$m)
\item
UNS32 \hyperlink{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}{On\-Heartbeat\-Producer\-Update} (CO\_\-Data $\ast$d, const indextable $\ast$unsused\_\-indextable, UNS8 unsused\_\-b\-Subindex)
\item
void \hyperlink{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}{heartbeat\-Init} (CO\_\-Data $\ast$d)
\item
void \hyperlink{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}{heartbeat\-Stop} (CO\_\-Data $\ast$d)
\item
void \hyperlink{lifegrd_8c_5249eb891f5677b80ccf01e604748524}{\_\-heartbeat\-Error} (UNS8 heartbeat\-ID)
\end{CompactItemize}
\subsection{Function Documentation}
\hypertarget{lifegrd_8c_5249eb891f5677b80ccf01e604748524}{
\index{lifegrd.c@{lifegrd.c}!_heartbeatError@{\_\-heartbeatError}}
\index{_heartbeatError@{\_\-heartbeatError}!lifegrd.c@{lifegrd.c}}
\subsubsection[\_\-heartbeatError]{\setlength{\rightskip}{0pt plus 5cm}void \_\-heartbeat\-Error (UNS8 {\em heartbeat\-ID})}}
\label{lifegrd_8c_5249eb891f5677b80ccf01e604748524}
Definition at line 184 of file lifegrd.c.\hypertarget{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}{
\index{lifegrd.c@{lifegrd.c}!ConsumerHearbeatAlarm@{ConsumerHearbeatAlarm}}
\index{ConsumerHearbeatAlarm@{ConsumerHearbeatAlarm}!lifegrd.c@{lifegrd.c}}
\subsubsection[ConsumerHearbeatAlarm]{\setlength{\rightskip}{0pt plus 5cm}void Consumer\-Hearbeat\-Alarm (CO\_\-Data $\ast$ {\em d}, UNS32 {\em id})}}
\label{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}
Definition at line 41 of file lifegrd.c.\hypertarget{lifegrd_8c_627254070e45c23f1776e12c524492ff}{
\index{lifegrd.c@{lifegrd.c}!getNodeState@{getNodeState}}
\index{getNodeState@{getNodeState}!lifegrd.c@{lifegrd.c}}
\subsubsection[getNodeState]{\setlength{\rightskip}{0pt plus 5cm}e\_\-node\-State get\-Node\-State (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id})}}
\label{lifegrd_8c_627254070e45c23f1776e12c524492ff}
Definition at line 33 of file lifegrd.c.\hypertarget{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}{
\index{lifegrd.c@{lifegrd.c}!heartbeatInit@{heartbeatInit}}
\index{heartbeatInit@{heartbeatInit}!lifegrd.c@{lifegrd.c}}
\subsubsection[heartbeatInit]{\setlength{\rightskip}{0pt plus 5cm}void heartbeat\-Init (CO\_\-Data $\ast$ {\em d})}}
\label{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}
Definition at line 147 of file lifegrd.c.
References Consumer\-Hearbeat\-Alarm(), On\-Heartbeat\-Producer\-Update(), Producer\-Hearbeat\-Alarm(), Register\-Set\-ODentry\-Call\-Back(), and Set\-Alarm().\hypertarget{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}{
\index{lifegrd.c@{lifegrd.c}!heartbeatStop@{heartbeatStop}}
\index{heartbeatStop@{heartbeatStop}!lifegrd.c@{lifegrd.c}}
\subsubsection[heartbeatStop]{\setlength{\rightskip}{0pt plus 5cm}void heartbeat\-Stop (CO\_\-Data $\ast$ {\em d})}}
\label{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}
Definition at line 173 of file lifegrd.c.
References Del\-Alarm().\hypertarget{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}{
\index{lifegrd.c@{lifegrd.c}!OnHearbeatProducerUpdate@{OnHearbeatProducerUpdate}}
\index{OnHearbeatProducerUpdate@{OnHearbeatProducerUpdate}!lifegrd.c@{lifegrd.c}}
\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})}}
\label{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}
\hypertarget{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}{
\index{lifegrd.c@{lifegrd.c}!OnHeartbeatProducerUpdate@{OnHeartbeatProducerUpdate}}
\index{OnHeartbeatProducerUpdate@{OnHeartbeatProducerUpdate}!lifegrd.c@{lifegrd.c}}
\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})}}
\label{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}
Definition at line 139 of file lifegrd.c.
References heartbeat\-Init(), and heartbeat\-Stop().\hypertarget{lifegrd_8c_b3248945e06e8b05518beddf665f174d}{
\index{lifegrd.c@{lifegrd.c}!proceedNODE_GUARD@{proceedNODE\_\-GUARD}}
\index{proceedNODE_GUARD@{proceedNODE\_\-GUARD}!lifegrd.c@{lifegrd.c}}
\subsubsection[proceedNODE\_\-GUARD]{\setlength{\rightskip}{0pt plus 5cm}void proceed\-NODE\_\-GUARD (CO\_\-Data $\ast$ {\em d}, Message $\ast$ {\em m})}}
\label{lifegrd_8c_b3248945e06e8b05518beddf665f174d}
Definition at line 50 of file lifegrd.c.
References Consumer\-Hearbeat\-Alarm(), Del\-Alarm(), and Set\-Alarm().\hypertarget{lifegrd_8c_626b7d9e527a898682d9122f91454de9}{
\index{lifegrd.c@{lifegrd.c}!ProducerHearbeatAlarm@{ProducerHearbeatAlarm}}
\index{ProducerHearbeatAlarm@{ProducerHearbeatAlarm}!lifegrd.c@{lifegrd.c}}
\subsubsection[ProducerHearbeatAlarm]{\setlength{\rightskip}{0pt plus 5cm}void Producer\-Hearbeat\-Alarm (CO\_\-Data $\ast$ {\em d}, UNS32 {\em id})}}
\label{lifegrd_8c_626b7d9e527a898682d9122f91454de9}
Definition at line 113 of file lifegrd.c.
References Del\-Alarm().