\section{Special\-Event Struct Reference}
\label{structSpecialEvent}\index{SpecialEvent@{SpecialEvent}}
This struct stores text, lyrics and change tempo events among others. Struct used to store certain events.  


{\tt \#include $<$player.h$>$}

Collaboration diagram for Special\-Event:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=79pt]{structSpecialEvent__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
int {\bf id}
\begin{CompactList}\small\item\em An integer ID, that is assigned in order to each Special\-Event. \item\end{CompactList}\item 
{\bf ulong} {\bf diffmilliseconds}
\begin{CompactList}\small\item\em Delta milliseconds from the previous Special\-Event. \item\end{CompactList}\item 
{\bf ulong} {\bf absmilliseconds}
\begin{CompactList}\small\item\em The absolute millisecond (from the beginning of the song) at which this Special\-Event object is played. \item\end{CompactList}\item 
int {\bf ticks}
\begin{CompactList}\small\item\em MIDI ticks (from the beginning of the song) at which this event is played. \item\end{CompactList}\item 
int {\bf type}
\begin{CompactList}\small\item\em Type of event. \item\end{CompactList}\item 
char {\bf text} [1024]
\begin{CompactList}\small\item\em Text field . \item\end{CompactList}\item 
{\bf ulong} {\bf tempo}
\begin{CompactList}\small\item\em Tempo field . \item\end{CompactList}\item 
int {\bf num}
\begin{CompactList}\small\item\em Numerator . \item\end{CompactList}\item 
int {\bf den}
\begin{CompactList}\small\item\em Denominator . \item\end{CompactList}\item 
{\bf Special\-Event} $\ast$ {\bf next}
\begin{CompactList}\small\item\em This struct stores text, lyrics and change tempo events among others. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
This struct stores text, lyrics and change tempo events among others. Struct used to store certain events. 

It includes the main information for an event. That is, the absolute millisecond at which this event is played (from the beginning of the song), the delta milliseconds from the previous Special\-Event, an ID, etc.

This struct is used as nodes for a linked list, which you can get using {\bf Midi\-Player::special\-Events}{\rm (p.\,\pageref{classMidiPlayer_a5})}().

\begin{Desc}
\item[Version:]0.9.5 17/01/2000 \end{Desc}
\begin{Desc}
\item[Author:]Antonio Larrosa Jimenez $<${\tt larrosa@kde.org}$>$ \end{Desc}




Definition at line 47 of file player.h.

\subsection{Member Data Documentation}
\index{SpecialEvent@{Special\-Event}!id@{id}}
\index{id@{id}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Special\-Event::id}}\label{structSpecialEvent_o0}


An integer ID, that is assigned in order to each Special\-Event. 



Definition at line 52 of file player.h.\index{SpecialEvent@{Special\-Event}!diffmilliseconds@{diffmilliseconds}}
\index{diffmilliseconds@{diffmilliseconds}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ulong} {\bf Special\-Event::diffmilliseconds}}\label{structSpecialEvent_o1}


Delta milliseconds from the previous Special\-Event. 

\begin{Desc}
\item[See also:]{\bf absmilliseconds}{\rm (p.\,\pageref{structSpecialEvent_o2})} \end{Desc}


Definition at line 59 of file player.h.\index{SpecialEvent@{Special\-Event}!absmilliseconds@{absmilliseconds}}
\index{absmilliseconds@{absmilliseconds}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ulong} {\bf Special\-Event::absmilliseconds}}\label{structSpecialEvent_o2}


The absolute millisecond (from the beginning of the song) at which this Special\-Event object is played. 

\begin{Desc}
\item[See also:]{\bf diffmilliseconds}{\rm (p.\,\pageref{structSpecialEvent_o1})} \end{Desc}


Definition at line 67 of file player.h.\index{SpecialEvent@{Special\-Event}!ticks@{ticks}}
\index{ticks@{ticks}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Special\-Event::ticks}}\label{structSpecialEvent_o3}


MIDI ticks (from the beginning of the song) at which this event is played. 



Definition at line 72 of file player.h.\index{SpecialEvent@{Special\-Event}!type@{type}}
\index{type@{type}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Special\-Event::type}}\label{structSpecialEvent_o4}


Type of event. 

This currently includes:

\begin{itemize}
\item 0 - Nothing, end of linked list. \item 1 - Text Event . See {\bf text}{\rm (p.\,\pageref{structSpecialEvent_o5})}. \item 3 - Change Tempo Event . See {\bf tempo}{\rm (p.\,\pageref{structSpecialEvent_o6})}. \item 5 - Lyrics Event . See {\bf text}{\rm (p.\,\pageref{structSpecialEvent_o5})}. \item 6 - Change number of beats per measure . See {\bf num}{\rm (p.\,\pageref{structSpecialEvent_o7})} and {\bf den}{\rm (p.\,\pageref{structSpecialEvent_o8})}. \item 7 - Beat . See {\bf num}{\rm (p.\,\pageref{structSpecialEvent_o7})} and {\bf den}{\rm (p.\,\pageref{structSpecialEvent_o8})}.\end{itemize}
The \char`\"{}Change number of beats per measure\char`\"{} and \char`\"{}beat\char`\"{} events are not really in the midi file, but they are added to the linked list in case you have an use for it. 

Definition at line 88 of file player.h.\index{SpecialEvent@{Special\-Event}!text@{text}}
\index{text@{text}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char {\bf Special\-Event::text}[1024]}\label{structSpecialEvent_o5}


Text field . 

It has a meaning only for Text and Lyrics events. 

Definition at line 93 of file player.h.\index{SpecialEvent@{Special\-Event}!tempo@{tempo}}
\index{tempo@{tempo}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ulong} {\bf Special\-Event::tempo}}\label{structSpecialEvent_o6}


Tempo field . 

It has a meaning only for Change Tempo events. 

Definition at line 98 of file player.h.\index{SpecialEvent@{Special\-Event}!num@{num}}
\index{num@{num}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Special\-Event::num}}\label{structSpecialEvent_o7}


Numerator . 

It has a meaning only for Change number of beats per measure and beat events. 

Definition at line 103 of file player.h.\index{SpecialEvent@{Special\-Event}!den@{den}}
\index{den@{den}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Special\-Event::den}}\label{structSpecialEvent_o8}


Denominator . 

It has a meaning only for Change number of beats per measure and beat events. 

Definition at line 108 of file player.h.\index{SpecialEvent@{Special\-Event}!next@{next}}
\index{next@{next}!SpecialEvent@{Special\-Event}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf Special\-Event}$\ast$ {\bf Special\-Event::next}}\label{structSpecialEvent_o9}


This struct stores text, lyrics and change tempo events among others. 

It includes the main information for an event. That is, the absolute millisecond at which this event is played (from the beginning of the song), the delta milliseconds from the previous Special\-Event, an ID, etc.

This struct is used as nodes for a linked list, which you can get using {\bf Midi\-Player::special\-Events}{\rm (p.\,\pageref{classMidiPlayer_a5})}(). 

Definition at line 120 of file player.h.

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
player.h\end{CompactItemize}
