\hypertarget{OTF__HandlerArray_8h}{\section{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+Handler\+Array.h File Reference}
\label{OTF__HandlerArray_8h}\index{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+Handler\+Array.\+h@{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+Handler\+Array.\+h}}
}


Provides read access to O\+T\+F traces which consist of multiple streams.  


{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+\+Writer.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+\+W\+Stream.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structstruct__OTF__HandlerArray}{struct\+\_\+\+O\+T\+F\+\_\+\+Handler\+Array}
\begin{DoxyCompactList}\small\item\em Object structure which holds O\+T\+F record handlers. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef int( \hyperlink{group__ha_gab82e91b18ea38538fcc52af1b5c894e1}{O\+T\+F\+\_\+\+Function\+Pointer} )(void $\ast$user\+Data)
\begin{DoxyCompactList}\small\item\em Generic function pointer for O\+T\+F record handlers. \end{DoxyCompactList}\item 
typedef struct \\*
\hyperlink{structstruct__OTF__HandlerArray}{struct\+\_\+\+O\+T\+F\+\_\+\+Handler\+Array} \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array}
\begin{DoxyCompactList}\small\item\em Object type which holds O\+T\+F record handlers. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$ \hyperlink{group__ha_ga7a735836565a79674f38e08caf20698f}{O\+T\+F\+\_\+\+Handler\+Array\+\_\+open} (void)
\begin{DoxyCompactList}\small\item\em Open a new array of handlers. \end{DoxyCompactList}\item 
int \hyperlink{group__ha_gab5a17464f32f6b9ddaf0cf6984f953db}{O\+T\+F\+\_\+\+Handler\+Array\+\_\+close} (\hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers)
\begin{DoxyCompactList}\small\item\em Close and delete a O\+T\+F\+\_\+\+Handler\+Array object. \end{DoxyCompactList}\item 
int \hyperlink{group__ha_ga2f7ab5597bfbaa182d4cf471dc28f1da}{O\+T\+F\+\_\+\+Handler\+Array\+\_\+set\+Handler} (\hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, \hyperlink{group__ha_gab82e91b18ea38538fcc52af1b5c894e1}{O\+T\+F\+\_\+\+Function\+Pointer} $\ast$pointer, uint32\+\_\+t recordtype)
\begin{DoxyCompactList}\small\item\em Assign the function pointer to your own handler of the given record type. \end{DoxyCompactList}\item 
\hypertarget{group__ha_ga65c9d10752139ca29dedd1baeebc146e}{int \hyperlink{group__ha_ga65c9d10752139ca29dedd1baeebc146e}{O\+T\+F\+\_\+\+Handler\+Array\+\_\+set\+First\+Handler\+Arg} (\hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, void $\ast$firsthandlerarg, uint32\+\_\+t recordtype)}\label{group__ha_ga65c9d10752139ca29dedd1baeebc146e}

\begin{DoxyCompactList}\small\item\em Assign the first argument to your own handler of the given record type. \end{DoxyCompactList}\item 
int \hyperlink{group__ha_ga788faa7799ee26765cbfc21d35ca06c9}{O\+T\+F\+\_\+\+Handler\+Array\+\_\+get\+Copy\+Handler} (\hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, \hyperlink{group__writer_ga9650309d1e145dbd60f61e954f11c279}{O\+T\+F\+\_\+\+Writer} $\ast$writer)
\begin{DoxyCompactList}\small\item\em Provide copy handlers to every record type. \end{DoxyCompactList}\item 
int \hyperlink{group__ha_gac641bef3e2fcd3bfd500776b69b160b6}{O\+T\+F\+\_\+\+Handler\+Array\+\_\+get\+Copy\+Handler\+\_\+stream} (\hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, \hyperlink{group__wstream_ga1e0f8485efbcb0d39ebfbb9e1a657ed4}{O\+T\+F\+\_\+\+W\+Stream} $\ast$writer)
\begin{DoxyCompactList}\small\item\em Provide copy handlers to every record type for O\+T\+F streams. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Provides read access to O\+T\+F traces which consist of multiple streams. 

