<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{Tango\-Serial\-Link Class Reference}
\label{class_tango_serial_link}\index{TangoSerialLink@{TangoSerialLink}}
This class manage the SERIAL communication bus.  


{\tt \#include $&lt;$Tango\-Serial\-Link.h$&gt;$}

Inheritance diagram for Tango\-Serial\-Link::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_tango_serial_link}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Tango\-Serial\-Link} (std::string \&amp;serial\_\-device\_\-name)\label{class_tango_serial_link__tango_serial_linka0}

\begin{CompactList}\small\item\em Initialization. \item\end{CompactList}\item 
virtual {\bf $\sim$Tango\-Serial\-Link} (void)
\begin{CompactList}\small\item\em Release resources. \item\end{CompactList}\item 
void {\bf write} (std::string cmd)  throw (Tango::Dev\-Failed)
\begin{CompactList}\small\item\em Send command (data) as string to hardware. \item\end{CompactList}\item 
std::string {\bf read} (void)  throw (Tango::Dev\-Failed)
\begin{CompactList}\small\item\em Gets hardware response as string. \item\end{CompactList}\item 
std::string {\bf write\_\-read} (std::string cmd)  throw (Tango::Dev\-Failed)
\begin{CompactList}\small\item\em Performs a write read operation as string. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
std::string {\bf \_\-communication\_\-Device\_\-name}\label{class_communication_link__tango_serial_linkp0}

\end{CompactItemize}


\subsection{Detailed Description}
This class manage the SERIAL communication bus. 

\begin{Desc}
\item[Author:]Xavier Elattaoui \end{Desc}
\begin{Desc}
\item[Date:]11-2006 \end{Desc}




\subsection{Constructor \&amp; Destructor Documentation}
\index{TangoSerialLink@{Tango\-Serial\-Link}!~TangoSerialLink@{$\sim$TangoSerialLink}}
\index{~TangoSerialLink@{$\sim$TangoSerialLink}!TangoSerialLink@{Tango\-Serial\-Link}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual Tango\-Serial\-Link::$\sim${\bf Tango\-Serial\-Link} (void)\hspace{0.3cm}{\tt  [virtual]}}\label{class_tango_serial_link__tango_serial_linka1}


Release resources. 



\subsection{Member Function Documentation}
\index{TangoSerialLink@{Tango\-Serial\-Link}!read@{read}}
\index{read@{read}!TangoSerialLink@{Tango\-Serial\-Link}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Tango\-Serial\-Link::read (void)  throw (Tango::Dev\-Failed)\hspace{0.3cm}{\tt  [virtual]}}\label{class_tango_serial_link__tango_serial_linka3}


Gets hardware response as string. 

\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em Tango::Dev\-Failed}]\end{description}
\end{Desc}


Implements {\bf Communication\-Link} {\rm (p.\,\pageref{class_communication_link__communication_linka3})}.\index{TangoSerialLink@{Tango\-Serial\-Link}!write@{write}}
\index{write@{write}!TangoSerialLink@{Tango\-Serial\-Link}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tango\-Serial\-Link::write (std::string {\em cmd})  throw (Tango::Dev\-Failed)\hspace{0.3cm}{\tt  [virtual]}}\label{class_tango_serial_link__tango_serial_linka2}


Send command (data) as string to hardware. 

\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em Tango::Dev\-Failed}]\end{description}
\end{Desc}


Implements {\bf Communication\-Link} {\rm (p.\,\pageref{class_communication_link__communication_linka2})}.\index{TangoSerialLink@{Tango\-Serial\-Link}!write_read@{write\_\-read}}
\index{write_read@{write\_\-read}!TangoSerialLink@{Tango\-Serial\-Link}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Tango\-Serial\-Link::write\_\-read (std::string {\em cmd})  throw (Tango::Dev\-Failed)\hspace{0.3cm}{\tt  [virtual]}}\label{class_tango_serial_link__tango_serial_linka4}


Performs a write read operation as string. 

\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em Tango::Dev\-Failed}]\end{description}
\end{Desc}


Implements {\bf Communication\-Link} {\rm (p.\,\pageref{class_communication_link__communication_linka4})}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
Tango\-Serial\-Link.h\end{CompactItemize}
</pre></body></html>