\hypertarget{classSafeCallbackBase}{
\section{SafeCallbackBase Class Reference}
\label{classSafeCallbackBase}\index{SafeCallbackBase@{SafeCallbackBase}}
}


Base class for safe callbacks.  




{\ttfamily \#include $<$safe\_\-callback\_\-obj.hh$>$}

Inheritance diagram for SafeCallbackBase:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classSafeCallbackBase}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classSafeCallbackBase_a1829af7dabd51aee081a7754a338da21}{SafeCallbackBase} (\hyperlink{classCallbackSafeObject}{CallbackSafeObject} $\ast$o)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hyperlink{classSafeCallbackBase_a13faa2cad24b0a40cda64a65736e5e21}{$\sim$SafeCallbackBase} ()
\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
\hypertarget{classSafeCallbackBase_a1a906390ac00212dbe4ef6baae0a6aca}{
void {\bfseries invalidate} ()}
\label{classSafeCallbackBase_a1a906390ac00212dbe4ef6baae0a6aca}

\item 
\hypertarget{classSafeCallbackBase_ade78b4ec50a9f2f56300a0cc6059f3de}{
bool {\bfseries valid} () const }
\label{classSafeCallbackBase_ade78b4ec50a9f2f56300a0cc6059f3de}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSafeCallbackBase_ac87d32cef02fd11b97edc88cabaf89a1}{
\hyperlink{classCallbackSafeObject}{CallbackSafeObject} $\ast$ {\bfseries \_\-cso}}
\label{classSafeCallbackBase_ac87d32cef02fd11b97edc88cabaf89a1}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base class for safe callbacks. These are object callbacks that are only dispatched if target of callback is non-\/null. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classSafeCallbackBase_a1829af7dabd51aee081a7754a338da21}{
\index{SafeCallbackBase@{SafeCallbackBase}!SafeCallbackBase@{SafeCallbackBase}}
\index{SafeCallbackBase@{SafeCallbackBase}!SafeCallbackBase@{SafeCallbackBase}}
\subsubsection[{SafeCallbackBase}]{\setlength{\rightskip}{0pt plus 5cm}SafeCallbackBase::SafeCallbackBase (
\begin{DoxyParamCaption}
\item[{{\bf CallbackSafeObject} $\ast$}]{o}
\end{DoxyParamCaption}
)}}
\label{classSafeCallbackBase_a1829af7dabd51aee081a7754a338da21}


Constructor. 

Informs \hyperlink{classCallbackSafeObject}{CallbackSafeObject} that this callback operates on it. \hypertarget{classSafeCallbackBase_a13faa2cad24b0a40cda64a65736e5e21}{
\index{SafeCallbackBase@{SafeCallbackBase}!$\sim$SafeCallbackBase@{$\sim$SafeCallbackBase}}
\index{$\sim$SafeCallbackBase@{$\sim$SafeCallbackBase}!SafeCallbackBase@{SafeCallbackBase}}
\subsubsection[{$\sim$SafeCallbackBase}]{\setlength{\rightskip}{0pt plus 5cm}SafeCallbackBase::$\sim$SafeCallbackBase (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classSafeCallbackBase_a13faa2cad24b0a40cda64a65736e5e21}


Destructor. 

Informs \hyperlink{classCallbackSafeObject}{CallbackSafeObject} that is tracking callback instances that this callback no longer exists. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/libxorp/safe\_\-callback\_\-obj.hh\item 
/home/greearb/git/xorp.ct.github/xorp/libxorp/safe\_\-callback\_\-obj.cc\end{DoxyCompactItemize}
