\hypertarget{classTcMessage}{
\section{TcMessage Class Reference}
\label{classTcMessage}\index{TcMessage@{TcMessage}}
}


Representation of a TC protocol message.  




{\ttfamily \#include $<$message.hh$>$}

Inheritance diagram for TcMessage:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classTcMessage}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTcMessage_af30d32c3b6bebc663a66db9e3679b24c}{
virtual \hyperlink{classMessage}{Message} $\ast$ {\bfseries decode} (uint8\_\-t $\ast$buf, size\_\-t \&len)  throw (InvalidMessage)}
\label{classTcMessage_af30d32c3b6bebc663a66db9e3679b24c}

\item 
\hypertarget{classTcMessage_ae343e3910db294c4b6b183c02cdcafc3}{
bool {\bfseries encode} (uint8\_\-t $\ast$buf, size\_\-t \&len)}
\label{classTcMessage_ae343e3910db294c4b6b183c02cdcafc3}

\item 
\hypertarget{classTcMessage_a2fbaf93a43bf6d5434c192db1eee6975}{
size\_\-t {\bfseries length} () const }
\label{classTcMessage_a2fbaf93a43bf6d5434c192db1eee6975}

\item 
\hypertarget{classTcMessage_ad4f634acb4cf949ba0b2de254217ceb9}{
uint16\_\-t {\bfseries ansn} () const }
\label{classTcMessage_ad4f634acb4cf949ba0b2de254217ceb9}

\item 
\hypertarget{classTcMessage_aa86d0e6a357683f1667c6c389f779659}{
const vector$<$ \hyperlink{classLinkAddrInfo}{LinkAddrInfo} $>$ \& {\bfseries neighbors} () const }
\label{classTcMessage_aa86d0e6a357683f1667c6c389f779659}

\item 
\hypertarget{classTcMessage_aafcf67ab03188954e364d8d0e862b6c3}{
void {\bfseries add\_\-neighbor} (const \hyperlink{classIPv4}{IPv4} \&remote\_\-addr)}
\label{classTcMessage_aafcf67ab03188954e364d8d0e862b6c3}

\item 
\hypertarget{classTcMessage_aa1ec31f35dd8563891c968d6b5c2baab}{
size\_\-t {\bfseries remove\_\-neighbor} (const \hyperlink{classIPv4}{IPv4} \&remote\_\-addr)}
\label{classTcMessage_aa1ec31f35dd8563891c968d6b5c2baab}

\item 
\hypertarget{classTcMessage_acbc983a94191021a98e4e6428a5d1eb6}{
void {\bfseries set\_\-ansn} (uint16\_\-t ansn)}
\label{classTcMessage_acbc983a94191021a98e4e6428a5d1eb6}

\item 
\hypertarget{classTcMessage_a1253797ced9caaa5ad4ae8e17a8094e2}{
void {\bfseries clear} ()}
\label{classTcMessage_a1253797ced9caaa5ad4ae8e17a8094e2}

\item 
\hypertarget{classTcMessage_a8f49bf7ee346fcb9eadfce6f8ede79ca}{
string {\bfseries str} () const }
\label{classTcMessage_a8f49bf7ee346fcb9eadfce6f8ede79ca}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTcMessage_a2dd032df5b49f22684523029e88a7244}{
static size\_\-t {\bfseries min\_\-length} ()}
\label{classTcMessage_a2dd032df5b49f22684523029e88a7244}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTcMessage_a4b80f860d2c655717dbf31a42ede96ce}{
void {\bfseries add\_\-neighbor} (const \hyperlink{classLinkAddrInfo}{LinkAddrInfo} \&lai)}
\label{classTcMessage_a4b80f860d2c655717dbf31a42ede96ce}

\item 
\hypertarget{classTcMessage_a3b97973b457957654962a4a0d31c7d8f}{
void {\bfseries decode\_\-tc\_\-common} (uint8\_\-t $\ast$buf, size\_\-t \&len, bool has\_\-lq=false)  throw (InvalidMessage)}
\label{classTcMessage_a3b97973b457957654962a4a0d31c7d8f}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTcMessage_aa15133408fb2db0cdfd68f8a054fb192}{
uint16\_\-t {\bfseries \_\-ansn}}
\label{classTcMessage_aa15133408fb2db0cdfd68f8a054fb192}

\item 
\hypertarget{classTcMessage_a1a5e65f640e35b4ca6c52581170a2215}{
vector$<$ \hyperlink{classLinkAddrInfo}{LinkAddrInfo} $>$ {\bfseries \_\-neighbors}}
\label{classTcMessage_a1a5e65f640e35b4ca6c52581170a2215}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Representation of a TC protocol message. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/contrib/olsr/message.hh\item 
/home/greearb/git/xorp.ct.github/xorp/contrib/olsr/message.cc\end{DoxyCompactItemize}
