\hypertarget{lo__types_8h}{
\section{lo\_\-types.h File Reference}
\label{lo__types_8h}\index{lo_types.h@{lo\_\-types.h}}
}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef void $\ast$ \hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address}
\begin{CompactList}\small\item\em A reference to an OSC service. \item\end{CompactList}\item 
typedef void $\ast$ \hyperlink{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}{lo\_\-blob}
\begin{CompactList}\small\item\em A object to store an opaque binary data object. \item\end{CompactList}\item 
typedef void $\ast$ \hyperlink{lo__types_8h_a721f25467a644160c687a9437116996}{lo\_\-message}
\begin{CompactList}\small\item\em A low-level object used to represent messages passed over OSC. \item\end{CompactList}\item 
typedef void $\ast$ \hyperlink{lo__types_8h_f088530ede46023796706341d7eec4ab}{lo\_\-bundle}
\begin{CompactList}\small\item\em A low-level object used to represent bundles of messages passed over OSC. \item\end{CompactList}\item 
typedef void $\ast$ \hyperlink{lo__types_8h_982bf0cf76b6b57712200b989e0084b7}{lo\_\-method}
\begin{CompactList}\small\item\em An object representing an method on a server. \item\end{CompactList}\item 
typedef void $\ast$ \hyperlink{lo__types_8h_7cdce9677087f0b2190ebbc496105f67}{lo\_\-server}
\begin{CompactList}\small\item\em An object representing an instance of an OSC server. \item\end{CompactList}\item 
typedef void $\ast$ \hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread}
\begin{CompactList}\small\item\em An object representing a thread containing an OSC server. \item\end{CompactList}\item 
typedef void($\ast$ \hyperlink{lo__types_8h_bcd092cb4b0beee857552b44a0f01834}{lo\_\-err\_\-handler} )(int num, const char $\ast$msg, const char $\ast$where)
\begin{CompactList}\small\item\em A callback function to receive notifcation of an error in a server or server thread. \item\end{CompactList}\item 
typedef int($\ast$ \hyperlink{lo__types_8h_033f5fd40f269f513056ea27f15239c8}{lo\_\-method\_\-handler} )(const char $\ast$path, const char $\ast$types, \hyperlink{unionlo__arg}{lo\_\-arg} $\ast$$\ast$argv, int argc, \hyperlink{lo__types_8h_a721f25467a644160c687a9437116996}{lo\_\-message} msg, void $\ast$user\_\-data)
\begin{CompactList}\small\item\em A callback function to receive notifcation of matching message arriving in the server or server thread. \item\end{CompactList}\end{CompactItemize}


\subsection{Typedef Documentation}
\hypertarget{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{
\index{lo_types.h@{lo\_\-types.h}!lo_address@{lo\_\-address}}
\index{lo_address@{lo\_\-address}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-address]{\setlength{\rightskip}{0pt plus 5cm}typedef void$\ast$ \hyperlink{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}{lo\_\-address}}}
\label{lo__types_8h_2683bc4beedb94b18c0a4b43861bbef5}


A reference to an OSC service. 

Created by calls to \hyperlink{group__liblo_ge19a6ef567d8ed9786fa2b5fd8f25e6a}{lo\_\-address\_\-new()} or \hyperlink{group__liblo_g11eff481830b7e424ed5f289fc854cec}{lo\_\-address\_\-new\_\-from\_\-url()}. \hypertarget{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}{
\index{lo_types.h@{lo\_\-types.h}!lo_blob@{lo\_\-blob}}
\index{lo_blob@{lo\_\-blob}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-blob]{\setlength{\rightskip}{0pt plus 5cm}typedef void$\ast$ \hyperlink{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}{lo\_\-blob}}}
\label{lo__types_8h_75b79a38c4ca89ff3c7d350683f59425}


A object to store an opaque binary data object. 

Can be passed over OSC using the 'b' type. Created by calls to \hyperlink{group__liblo_g0a1623c98f6fa85985a16b51175b5762}{lo\_\-blob\_\-new()}. \hypertarget{lo__types_8h_f088530ede46023796706341d7eec4ab}{
\index{lo_types.h@{lo\_\-types.h}!lo_bundle@{lo\_\-bundle}}
\index{lo_bundle@{lo\_\-bundle}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-bundle]{\setlength{\rightskip}{0pt plus 5cm}typedef void$\ast$ \hyperlink{lo__types_8h_f088530ede46023796706341d7eec4ab}{lo\_\-bundle}}}
\label{lo__types_8h_f088530ede46023796706341d7eec4ab}


A low-level object used to represent bundles of messages passed over OSC. 

Created by calls to \hyperlink{group__liblolowlevel_g68b9dbfc3cdbf8c2041763d4c88772aa}{lo\_\-bundle\_\-new()}, messages can be added with calls to \hyperlink{group__liblolowlevel_gf7d040f266819cf1e3d66997f19535a4}{lo\_\-bundle\_\-add\_\-message()}. \hypertarget{lo__types_8h_bcd092cb4b0beee857552b44a0f01834}{
\index{lo_types.h@{lo\_\-types.h}!lo_err_handler@{lo\_\-err\_\-handler}}
\index{lo_err_handler@{lo\_\-err\_\-handler}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-err\_\-handler]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ \hyperlink{lo__types_8h_bcd092cb4b0beee857552b44a0f01834}{lo\_\-err\_\-handler})(int num, const char $\ast$msg, const char $\ast$where)}}
\label{lo__types_8h_bcd092cb4b0beee857552b44a0f01834}


A callback function to receive notifcation of an error in a server or server thread. 

On callback the paramters will be set to the following values:

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em num}]An error number that can be used to identify this condition. \item[{\em msg}]An error message describing the condidtion. \item[{\em where}]A string describing the place the error occured - typically either a function call or method path. \end{description}
\end{Desc}
\hypertarget{lo__types_8h_a721f25467a644160c687a9437116996}{
\index{lo_types.h@{lo\_\-types.h}!lo_message@{lo\_\-message}}
\index{lo_message@{lo\_\-message}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-message]{\setlength{\rightskip}{0pt plus 5cm}typedef void$\ast$ \hyperlink{lo__types_8h_a721f25467a644160c687a9437116996}{lo\_\-message}}}
\label{lo__types_8h_a721f25467a644160c687a9437116996}


A low-level object used to represent messages passed over OSC. 

Created by calls to \hyperlink{group__liblolowlevel_g2c3c4d936cded86bc09327b28189e8c9}{lo\_\-message\_\-new()}, arguments can be added with calls to lo\_\-message\_\-add\_\-$\ast$(). \hypertarget{lo__types_8h_982bf0cf76b6b57712200b989e0084b7}{
\index{lo_types.h@{lo\_\-types.h}!lo_method@{lo\_\-method}}
\index{lo_method@{lo\_\-method}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-method]{\setlength{\rightskip}{0pt plus 5cm}typedef void$\ast$ \hyperlink{lo__types_8h_982bf0cf76b6b57712200b989e0084b7}{lo\_\-method}}}
\label{lo__types_8h_982bf0cf76b6b57712200b989e0084b7}


An object representing an method on a server. 

Returned by calls to \hyperlink{group__liblo_ge41e272c7d7571a88226cab965e6d27f}{lo\_\-server\_\-thread\_\-add\_\-method()} and \hyperlink{group__liblolowlevel_gfece543f3da7653e25ccde5432e533f2}{lo\_\-server\_\-add\_\-method()}. \hypertarget{lo__types_8h_033f5fd40f269f513056ea27f15239c8}{
\index{lo_types.h@{lo\_\-types.h}!lo_method_handler@{lo\_\-method\_\-handler}}
\index{lo_method_handler@{lo\_\-method\_\-handler}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-method\_\-handler]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ \hyperlink{lo__types_8h_033f5fd40f269f513056ea27f15239c8}{lo\_\-method\_\-handler})(const char $\ast$path, const char $\ast$types, \hyperlink{unionlo__arg}{lo\_\-arg} $\ast$$\ast$argv, int argc, \hyperlink{lo__types_8h_a721f25467a644160c687a9437116996}{lo\_\-message} msg, void $\ast$user\_\-data)}}
\label{lo__types_8h_033f5fd40f269f513056ea27f15239c8}


A callback function to receive notifcation of matching message arriving in the server or server thread. 

On callback the paramters will be set to the following values:

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em path}]That path that the incoming message was sent to \item[{\em types}]If you specided types in your method creation call then this will match those and the incoming types will have been coerced to match, otherwise it will be the types of the arguments of the incoming message. \item[{\em argv}]An array of \hyperlink{unionlo__arg}{lo\_\-arg} types containing the values, e.g. if the first argument of the incoming message is of type 'f' then the vlaue will be found in argv\mbox{[}0\mbox{]}-$>$f. \item[{\em argc}]The number of argumets received. \item[{\em msg}]A structure containing the original raw message as received. No type coercion will have occured and the data will be in OSC byte order (bigendian). \item[{\em user\_\-data}]This contains the user\_\-data value passed in the call to lo\_\-server\_\-thread\_\-add\_\-method. \end{description}
\end{Desc}
\hypertarget{lo__types_8h_7cdce9677087f0b2190ebbc496105f67}{
\index{lo_types.h@{lo\_\-types.h}!lo_server@{lo\_\-server}}
\index{lo_server@{lo\_\-server}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-server]{\setlength{\rightskip}{0pt plus 5cm}typedef void$\ast$ \hyperlink{lo__types_8h_7cdce9677087f0b2190ebbc496105f67}{lo\_\-server}}}
\label{lo__types_8h_7cdce9677087f0b2190ebbc496105f67}


An object representing an instance of an OSC server. 

Created by calls to \hyperlink{group__liblolowlevel_g9b0cf63a2d1e90468250f5db133137af}{lo\_\-server\_\-new()}. If you with the library to take care of the threading as well you can just use server threads instead. \hypertarget{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{
\index{lo_types.h@{lo\_\-types.h}!lo_server_thread@{lo\_\-server\_\-thread}}
\index{lo_server_thread@{lo\_\-server\_\-thread}!lo_types.h@{lo\_\-types.h}}
\subsubsection[lo\_\-server\_\-thread]{\setlength{\rightskip}{0pt plus 5cm}typedef void$\ast$ \hyperlink{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}{lo\_\-server\_\-thread}}}
\label{lo__types_8h_d87e558fb63104a78862eeee6fa7b4d7}


An object representing a thread containing an OSC server. 

Created by calls to \hyperlink{group__liblo_g58a89fab646a5dc4e528691c26508f7a}{lo\_\-server\_\-thread\_\-new()}. 