<filename>latex/classtcg_1_1observer.tex
\hypertarget{classtcg_1_1observer}{}\doxysection{tcg\+::observer\texorpdfstring{$<$}{<} Notifier, Base, Set \texorpdfstring{$>$}{>} Class Template Reference}
\label{classtcg_1_1observer}\index{tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}}
Inheritance diagram for tcg\+::observer\texorpdfstring{$<$}{<} Notifier, Base, Set \texorpdfstring{$>$}{>}\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classtcg_1_1observer}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef Notifier \mbox{\hyperlink{classtcg_1_1observer_aa59ac0a728de4e26924779e42563b5b1}{notifier\+\_\+type}}
\item 
typedef Set \mbox{\hyperlink{classtcg_1_1observer_a7b00c69b8740d80cc8cd2e4e7e06156c}{notifiers\+\_\+container}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const notifiers\+\_\+container \& \mbox{\hyperlink{classtcg_1_1observer_aee0768875c4f6ed0c175578eefe53e9c}{notifiers}} () const
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Notifier = notifier\+\_\+base, typename Base = observer\+\_\+base, typename Set = std\+::set$<$\+Notifier $\ast$$>$$>$\newline
class tcg\+::observer$<$ Notifier, Base, Set $>$}


\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{classtcg_1_1observer_aa59ac0a728de4e26924779e42563b5b1}\label{classtcg_1_1observer_aa59ac0a728de4e26924779e42563b5b1}} 
\index{tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}!notifier\_type@{notifier\_type}}
\index{notifier\_type@{notifier\_type}!tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}}
\doxysubsubsection{\texorpdfstring{notifier\_type}{notifier\_type}}
{\footnotesize\ttfamily template$<$typename Notifier  = notifier\+\_\+base, typename Base  = observer\+\_\+base, typename Set  = std\+::set$<$\+Notifier $\ast$$>$$>$ \\
typedef Notifier \mbox{\hyperlink{classtcg_1_1observer}{tcg\+::observer}}$<$ Notifier, Base, Set $>$\+::notifier\+\_\+type}

\mbox{\Hypertarget{classtcg_1_1observer_a7b00c69b8740d80cc8cd2e4e7e06156c}\label{classtcg_1_1observer_a7b00c69b8740d80cc8cd2e4e7e06156c}} 
\index{tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}!notifiers\_container@{notifiers\_container}}
\index{notifiers\_container@{notifiers\_container}!tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}}
\doxysubsubsection{\texorpdfstring{notifiers\_container}{notifiers\_container}}
{\footnotesize\ttfamily template$<$typename Notifier  = notifier\+\_\+base, typename Base  = observer\+\_\+base, typename Set  = std\+::set$<$\+Notifier $\ast$$>$$>$ \\
typedef Set \mbox{\hyperlink{classtcg_1_1observer}{tcg\+::observer}}$<$ Notifier, Base, Set $>$\+::notifiers\+\_\+container}



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classtcg_1_1observer_ad745c7d9e630c8512df597e2205e8505}\label{classtcg_1_1observer_ad745c7d9e630c8512df597e2205e8505}} 
\index{tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}!````~observer@{$\sim$observer}}
\index{````~observer@{$\sim$observer}!tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}}
\doxysubsubsection{\texorpdfstring{$\sim$observer()}{~observer()}}
{\footnotesize\ttfamily template$<$typename Notifier  = notifier\+\_\+base, typename Base  = observer\+\_\+base, typename Set  = std\+::set$<$\+Notifier $\ast$$>$$>$ \\
\mbox{\hyperlink{classtcg_1_1observer}{tcg\+::observer}}$<$ Notifier, Base, Set $>$\+::$\sim$\mbox{\hyperlink{classtcg_1_1observer}{observer}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyCode}{0}
\DoxyCodeLine{00159               \{}
\DoxyCodeLine{00160     \textcolor{keyword}{typename} Set::iterator nt, nEnd = m\_notifiers.end();}
\DoxyCodeLine{00161     \textcolor{keywordflow}{for} (nt = m\_notifiers.begin(); nt != nEnd; ++nt)}
\DoxyCodeLine{00162       \textcolor{keyword}{static\_cast<}notifier\_base *\textcolor{keyword}{>}(*nt)-\/>detach(\textcolor{keyword}{this});}
\DoxyCodeLine{00163   \}}

\end{DoxyCode}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classtcg_1_1observer_aee0768875c4f6ed0c175578eefe53e9c}\label{classtcg_1_1observer_aee0768875c4f6ed0c175578eefe53e9c}} 
\index{tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}!notifiers@{notifiers}}
\index{notifiers@{notifiers}!tcg::observer$<$ Notifier, Base, Set $>$@{tcg::observer$<$ Notifier, Base, Set $>$}}
\doxysubsubsection{\texorpdfstring{notifiers()}{notifiers()}}
{\footnotesize\ttfamily template$<$typename Notifier  = notifier\+\_\+base, typename Base  = observer\+\_\+base, typename Set  = std\+::set$<$\+Notifier $\ast$$>$$>$ \\
const notifiers\+\_\+container \& \mbox{\hyperlink{classtcg_1_1observer}{tcg\+::observer}}$<$ Notifier, Base, Set $>$\+::notifiers (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyCode}{0}
\DoxyCodeLine{00165 \{ \textcolor{keywordflow}{return} m\_notifiers; \}}

\end{DoxyCode}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
E\+:/opentoonz/toonz/sources/include/tcg/observer\+\_\+notifier.\+h\end{DoxyCompactItemize}
