\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_a2cbdc8db34fe87932653826fc8a3c1f7}{Detection\+Sequence} (const std\+::string \&name=\char`\"{}Detection\+Sequence\char`\"{})
\item 
void \hyperlink{classcore_1_1DetectionSequence_a3cc0fdf3281f34985f4762086293db72}{Add\+Object} (Object\+Data\+Ptr object\+\_\+data)
\item 
void \hyperlink{classcore_1_1DetectionSequence_ab62569a3e51d58457057deba12ef6892}{Clear} ()
\item 
std\+::string \hyperlink{classcore_1_1DetectionSequence_a8a1af3dee89766d06f4a4f74044082ad}{Get\+Name} () const
\item 
Object\+Data\+Ptr \hyperlink{classcore_1_1DetectionSequence_aab2b72c6e0a9ee14dba99d07116c1d86}{Get\+Object} (size\+\_\+t frame\+\_\+index, size\+\_\+t object\+\_\+index) const
\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*{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(const std\+::string \&name=""Detection\+Sequence"")}{DetectionSequence(const std::string \&name="DetectionSequence")}}]{\setlength{\rightskip}{0pt plus 5cm}core\+::\+Detection\+Sequence\+::\+Detection\+Sequence (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{name = {\ttfamily \char`\"{}DetectionSequence\char`\"{}}}
\end{DoxyParamCaption}
)}\hypertarget{classcore_1_1DetectionSequence_a2cbdc8db34fe87932653826fc8a3c1f7}{}\label{classcore_1_1DetectionSequence_a2cbdc8db34fe87932653826fc8a3c1f7}
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\+Ptr object\+\_\+data)}{AddObject(ObjectDataPtr object\_data)}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Detection\+Sequence\+::\+Add\+Object (
\begin{DoxyParamCaption}
\item[{Object\+Data\+Ptr}]{object\+\_\+data}
\end{DoxyParamCaption}
)}\hypertarget{classcore_1_1DetectionSequence_a3cc0fdf3281f34985f4762086293db72}{}\label{classcore_1_1DetectionSequence_a3cc0fdf3281f34985f4762086293db72}
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) const}{GetObject(size\_t frame\_index, size\_t object\_index) const}}]{\setlength{\rightskip}{0pt plus 5cm}Object\+Data\+Ptr core\+::\+Detection\+Sequence\+::\+Get\+Object (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{frame\+\_\+index, }
\item[{size\+\_\+t}]{object\+\_\+index}
\end{DoxyParamCaption}
) const}\hypertarget{classcore_1_1DetectionSequence_aab2b72c6e0a9ee14dba99d07116c1d86}{}\label{classcore_1_1DetectionSequence_aab2b72c6e0a9ee14dba99d07116c1d86}
Gets a pointer to 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}
\begin{DoxyReturn}{Returns}
A pointer to the stored object data 
\end{DoxyReturn}
\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 objects in this frame 
\end{DoxyReturn}


\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. 
\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}
