\hypertarget{classcore_1_1DetectionSequence}{}\section{core\+:\+:Detection\+Sequence Class Reference} \label{classcore_1_1DetectionSequence}\index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} {\ttfamily \#include $<$Detection\+Sequence.\+h$>$} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hyperlink{classcore_1_1DetectionSequence_ad2183e28df5cb27883d396dfa3b40b6a}{Detection\+Sequence} (std\+::string name) \item void \hyperlink{classcore_1_1DetectionSequence_a933757fe1f1093ac4be0d9be9a79d394}{Add\+Object} (\hyperlink{classcore_1_1ObjectData}{Object\+Data} object\+\_\+data) \item void \hyperlink{classcore_1_1DetectionSequence_ab62569a3e51d58457057deba12ef6892}{Clear} () \item std\+::string \hyperlink{classcore_1_1DetectionSequence_a8a1af3dee89766d06f4a4f74044082ad}{Get\+Name} () const \item \hyperlink{classcore_1_1ObjectData}{Object\+Data} \hyperlink{classcore_1_1DetectionSequence_a8d562d3ea68249306825655efc703ee1}{Get\+Object} (size\+\_\+t frame\+\_\+index, size\+\_\+t object\+\_\+index) \item size\+\_\+t \hyperlink{classcore_1_1DetectionSequence_a2417e4f2652a39245d6f2faa0ce19571}{Get\+Frame\+Count} () const \item size\+\_\+t \hyperlink{classcore_1_1DetectionSequence_a99a1b693215c386c4716df12f6040100}{Get\+Object\+Count} (size\+\_\+t frame\+\_\+index) const \end{DoxyCompactItemize} \subsection*{Protected Member Functions} \begin{DoxyCompactItemize} \item virtual void \hyperlink{classcore_1_1DetectionSequence_ad8e771ebdcfe84a91da5eb71cb98a410}{Print} (std\+::ostream \&os) const \end{DoxyCompactItemize} \subsection*{Friends} \begin{DoxyCompactItemize} \item std\+::ostream \& \hyperlink{classcore_1_1DetectionSequence_a557132cfbb170daf47f5a890a0c5bac0}{operator$<$$<$} (std\+::ostream \&os, const \hyperlink{classcore_1_1DetectionSequence}{Detection\+Sequence} \&obj) \end{DoxyCompactItemize} \subsection{Detailed Description} Class for storing a full sequence of frame, each with multiple detected objects. \subsection{Constructor \& Destructor Documentation} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Detection\+Sequence@{Detection\+Sequence}} \index{Detection\+Sequence@{Detection\+Sequence}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Detection\+Sequence(std\+::string name)}{DetectionSequence(std::string name)}}]{\setlength{\rightskip}{0pt plus 5cm}core\+::\+Detection\+Sequence\+::\+Detection\+Sequence ( \begin{DoxyParamCaption} \item[{std\+::string}]{name} \end{DoxyParamCaption} )}\hypertarget{classcore_1_1DetectionSequence_ad2183e28df5cb27883d396dfa3b40b6a}{}\label{classcore_1_1DetectionSequence_ad2183e28df5cb27883d396dfa3b40b6a} Creates a detection sequence with the given name. \begin{DoxyParams}{Parameters} {\em name} & The name of this sequence \\ \hline \end{DoxyParams} \subsection{Member Function Documentation} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Add\+Object@{Add\+Object}} \index{Add\+Object@{Add\+Object}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Add\+Object(\+Object\+Data object\+\_\+data)}{AddObject(ObjectData object\_data)}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Detection\+Sequence\+::\+Add\+Object ( \begin{DoxyParamCaption} \item[{{\bf Object\+Data}}]{object\+\_\+data} \end{DoxyParamCaption} )}\hypertarget{classcore_1_1DetectionSequence_a933757fe1f1093ac4be0d9be9a79d394}{}\label{classcore_1_1DetectionSequence_a933757fe1f1093ac4be0d9be9a79d394} Adds a new object, creates a new frame vector if the given objects frame index is greater than the current frame vector size. \begin{DoxyParams}{Parameters} {\em object\+\_\+data} & The object to add \\ \hline \end{DoxyParams} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Clear@{Clear}} \index{Clear@{Clear}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Clear()}{Clear()}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Detection\+Sequence\+::\+Clear ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\hypertarget{classcore_1_1DetectionSequence_ab62569a3e51d58457057deba12ef6892}{}\label{classcore_1_1DetectionSequence_ab62569a3e51d58457057deba12ef6892} Removes all objects. \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Get\+Frame\+Count@{Get\+Frame\+Count}} \index{Get\+Frame\+Count@{Get\+Frame\+Count}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Get\+Frame\+Count() const}{GetFrameCount() const}}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t core\+::\+Detection\+Sequence\+::\+Get\+Frame\+Count ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\hypertarget{classcore_1_1DetectionSequence_a2417e4f2652a39245d6f2faa0ce19571}{}\label{classcore_1_1DetectionSequence_a2417e4f2652a39245d6f2faa0ce19571} Gets the frame count. \begin{DoxyReturn}{Returns} The frame count \end{DoxyReturn} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Get\+Name@{Get\+Name}} \index{Get\+Name@{Get\+Name}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Get\+Name() const}{GetName() const}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string core\+::\+Detection\+Sequence\+::\+Get\+Name ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\hypertarget{classcore_1_1DetectionSequence_a8a1af3dee89766d06f4a4f74044082ad}{}\label{classcore_1_1DetectionSequence_a8a1af3dee89766d06f4a4f74044082ad} Gets the name of this sequence. \begin{DoxyReturn}{Returns} The name \end{DoxyReturn} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Get\+Object@{Get\+Object}} \index{Get\+Object@{Get\+Object}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Get\+Object(size\+\_\+t frame\+\_\+index, size\+\_\+t object\+\_\+index)}{GetObject(size\_t frame\_index, size\_t object\_index)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object\+Data} core\+::\+Detection\+Sequence\+::\+Get\+Object ( \begin{DoxyParamCaption} \item[{size\+\_\+t}]{frame\+\_\+index, } \item[{size\+\_\+t}]{object\+\_\+index} \end{DoxyParamCaption} )}\hypertarget{classcore_1_1DetectionSequence_a8d562d3ea68249306825655efc703ee1}{}\label{classcore_1_1DetectionSequence_a8d562d3ea68249306825655efc703ee1} Gets the object in the given frame with the given index. \begin{DoxyParams}{Parameters} {\em frame\+\_\+index} & The frame to get the object from \\ \hline {\em object\+\_\+index} & The objects index in the corresponding frame \\ \hline \end{DoxyParams} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Get\+Object\+Count@{Get\+Object\+Count}} \index{Get\+Object\+Count@{Get\+Object\+Count}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Get\+Object\+Count(size\+\_\+t frame\+\_\+index) const}{GetObjectCount(size\_t frame\_index) const}}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t core\+::\+Detection\+Sequence\+::\+Get\+Object\+Count ( \begin{DoxyParamCaption} \item[{size\+\_\+t}]{frame\+\_\+index} \end{DoxyParamCaption} ) const}\hypertarget{classcore_1_1DetectionSequence_a99a1b693215c386c4716df12f6040100}{}\label{classcore_1_1DetectionSequence_a99a1b693215c386c4716df12f6040100} Gets the object count in the given frame. \begin{DoxyParams}{Parameters} {\em frame\+\_\+index} & The frame to get the object count of \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} The number of object in this frame \end{DoxyReturn} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!Print@{Print}} \index{Print@{Print}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{Print(std\+::ostream \&os) const}{Print(std::ostream \&os) const}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Detection\+Sequence\+::\+Print ( \begin{DoxyParamCaption} \item[{std\+::ostream \&}]{os} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classcore_1_1DetectionSequence_ad8e771ebdcfe84a91da5eb71cb98a410}{}\label{classcore_1_1DetectionSequence_ad8e771ebdcfe84a91da5eb71cb98a410} Used in the $<$$<$ operator \begin{DoxyParams}{Parameters} {\em os} & The stream to write to \\ \hline \end{DoxyParams} \subsection{Friends And Related Function Documentation} \index{core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}!operator$<$$<$@{operator$<$$<$}} \index{operator$<$$<$@{operator$<$$<$}!core\+::\+Detection\+Sequence@{core\+::\+Detection\+Sequence}} \subsubsection[{\texorpdfstring{operator$<$$<$}{operator<<}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::ostream\& operator$<$$<$ ( \begin{DoxyParamCaption} \item[{std\+::ostream \&}]{os, } \item[{const {\bf Detection\+Sequence} \&}]{obj} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [friend]}}\hypertarget{classcore_1_1DetectionSequence_a557132cfbb170daf47f5a890a0c5bac0}{}\label{classcore_1_1DetectionSequence_a557132cfbb170daf47f5a890a0c5bac0} Overrides the $<$$<$ operator for easy output. Calls the print method. \begin{DoxyParams}{Parameters} {\em os} & The stream to write to \\ \hline {\em obj} & The object to write into the stream \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} The stream written to \end{DoxyReturn} The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item core/Detection\+Sequence.\+h\item core/Detection\+Sequence.\+cpp\end{DoxyCompactItemize}