File: classsrc_1_1usbThread_1_1ThreadRegister.tex

package info (click to toggle)
scolasync 5.6-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 16,324 kB
  • sloc: javascript: 4,094; python: 3,849; xml: 3,814; makefile: 116; sh: 31
file content (152 lines) | stat: -rw-r--r-- 7,229 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
\hypertarget{classsrc_1_1usbThread_1_1ThreadRegister}{}\doxysection{Référence de la classe src.\+usb\+Thread.\+Thread\+Register}
\label{classsrc_1_1usbThread_1_1ThreadRegister}\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}


Une classe pour tenir un registre des threads concernant les baladeurs.  


\doxysubsection*{Fonctions membres publiques}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classsrc_1_1usbThread_1_1ThreadRegister_acd5d269edb003e567138a90c19a28a8b}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self)
\begin{DoxyCompactList}\small\item\em Le constructure met en place un dictionnaire. \end{DoxyCompactList}\item 
def \mbox{\hyperlink{classsrc_1_1usbThread_1_1ThreadRegister_ad8c1ba626ff2fd68cee3fd6b48c93e13}{\+\_\+\+\_\+str\+\_\+\+\_\+}} (self)
\item 
def \mbox{\hyperlink{classsrc_1_1usbThread_1_1ThreadRegister_ae096d2a81938d32171bdb874c9af4c9e}{push}} (self, ud, thread)
\item 
def \mbox{\hyperlink{classsrc_1_1usbThread_1_1ThreadRegister_a712d568f17c7aa2eae91be58f58229af}{pop}} (self, ud, thread)
\item 
def \mbox{\hyperlink{classsrc_1_1usbThread_1_1ThreadRegister_ae767c670878e38b967e2cc65fe03ad83}{busy}} (self, owner)
\begin{DoxyCompactList}\small\item\em Indique si le disque est occupé par des threads. \end{DoxyCompactList}\item 
def \mbox{\hyperlink{classsrc_1_1usbThread_1_1ThreadRegister_a3e17af96849021f02cc5b051122abf93}{thread\+Set}} (self)
\begin{DoxyCompactList}\small\item\em renvoie l\textquotesingle{}ensemble des threads actifs \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Attributs publics}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classsrc_1_1usbThread_1_1ThreadRegister_ae8e6d7290a58a606599fb420ca285d8e}{dico}}
\end{DoxyCompactItemize}


\doxysubsection{Description détaillée}
Une classe pour tenir un registre des threads concernant les baladeurs. 

Définition à la ligne 43 du fichier usb\+Thread.\+py.



\doxysubsection{Documentation des constructeurs et destructeur}
\mbox{\Hypertarget{classsrc_1_1usbThread_1_1ThreadRegister_acd5d269edb003e567138a90c19a28a8b}\label{classsrc_1_1usbThread_1_1ThreadRegister_acd5d269edb003e567138a90c19a28a8b}} 
\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}
\doxysubsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def src.\+usb\+Thread.\+Thread\+Register.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}



Le constructure met en place un dictionnaire. 



Définition à la ligne 48 du fichier usb\+Thread.\+py.



\doxysubsection{Documentation des fonctions membres}
\mbox{\Hypertarget{classsrc_1_1usbThread_1_1ThreadRegister_ad8c1ba626ff2fd68cee3fd6b48c93e13}\label{classsrc_1_1usbThread_1_1ThreadRegister_ad8c1ba626ff2fd68cee3fd6b48c93e13}} 
\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}!\_\_str\_\_@{\_\_str\_\_}}
\index{\_\_str\_\_@{\_\_str\_\_}!src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}
\doxysubsubsection{\texorpdfstring{\_\_str\_\_()}{\_\_str\_\_()}}
{\footnotesize\ttfamily def src.\+usb\+Thread.\+Thread\+Register.\+\_\+\+\_\+str\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}



Définition à la ligne 51 du fichier usb\+Thread.\+py.

\mbox{\Hypertarget{classsrc_1_1usbThread_1_1ThreadRegister_ae767c670878e38b967e2cc65fe03ad83}\label{classsrc_1_1usbThread_1_1ThreadRegister_ae767c670878e38b967e2cc65fe03ad83}} 
\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}!busy@{busy}}
\index{busy@{busy}!src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}
\doxysubsubsection{\texorpdfstring{busy()}{busy()}}
{\footnotesize\ttfamily def src.\+usb\+Thread.\+Thread\+Register.\+busy (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{owner }\end{DoxyParamCaption})}



Indique si le disque est occupé par des threads. 


\begin{DoxyParams}{Paramètres}
{\em owner} & le propriétaire du disque \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Renvoie}
les données associées par le dictionnaire 
\end{DoxyReturn}


Définition à la ligne 78 du fichier usb\+Thread.\+py.

\mbox{\Hypertarget{classsrc_1_1usbThread_1_1ThreadRegister_a712d568f17c7aa2eae91be58f58229af}\label{classsrc_1_1usbThread_1_1ThreadRegister_a712d568f17c7aa2eae91be58f58229af}} 
\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}!pop@{pop}}
\index{pop@{pop}!src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}
\doxysubsubsection{\texorpdfstring{pop()}{pop()}}
{\footnotesize\ttfamily def src.\+usb\+Thread.\+Thread\+Register.\+pop (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{ud,  }\item[{}]{thread }\end{DoxyParamCaption})}


\begin{DoxyParams}{Paramètres}
{\em ud} & un disque \\
\hline
{\em thread} & un thread Dépile un thread pour le baladeur ud \\
\hline
\end{DoxyParams}


Définition à la ligne 70 du fichier usb\+Thread.\+py.

\mbox{\Hypertarget{classsrc_1_1usbThread_1_1ThreadRegister_ae096d2a81938d32171bdb874c9af4c9e}\label{classsrc_1_1usbThread_1_1ThreadRegister_ae096d2a81938d32171bdb874c9af4c9e}} 
\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}!push@{push}}
\index{push@{push}!src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}
\doxysubsubsection{\texorpdfstring{push()}{push()}}
{\footnotesize\ttfamily def src.\+usb\+Thread.\+Thread\+Register.\+push (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{ud,  }\item[{}]{thread }\end{DoxyParamCaption})}


\begin{DoxyParams}{Paramètres}
{\em ud} & un disque \\
\hline
{\em thread} & un thread Empile un thread pour le baladeur ud \\
\hline
\end{DoxyParams}


Définition à la ligne 59 du fichier usb\+Thread.\+py.

\mbox{\Hypertarget{classsrc_1_1usbThread_1_1ThreadRegister_a3e17af96849021f02cc5b051122abf93}\label{classsrc_1_1usbThread_1_1ThreadRegister_a3e17af96849021f02cc5b051122abf93}} 
\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}!threadSet@{threadSet}}
\index{threadSet@{threadSet}!src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}
\doxysubsubsection{\texorpdfstring{threadSet()}{threadSet()}}
{\footnotesize\ttfamily def src.\+usb\+Thread.\+Thread\+Register.\+thread\+Set (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}



renvoie l\textquotesingle{}ensemble des threads actifs 



Définition à la ligne 86 du fichier usb\+Thread.\+py.



\doxysubsection{Documentation des données membres}
\mbox{\Hypertarget{classsrc_1_1usbThread_1_1ThreadRegister_ae8e6d7290a58a606599fb420ca285d8e}\label{classsrc_1_1usbThread_1_1ThreadRegister_ae8e6d7290a58a606599fb420ca285d8e}} 
\index{src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}!dico@{dico}}
\index{dico@{dico}!src.usbThread.ThreadRegister@{src.usbThread.ThreadRegister}}
\doxysubsubsection{\texorpdfstring{dico}{dico}}
{\footnotesize\ttfamily src.\+usb\+Thread.\+Thread\+Register.\+dico}



Définition à la ligne 49 du fichier usb\+Thread.\+py.



La documentation de cette classe a été générée à partir du fichier suivant \+:\begin{DoxyCompactItemize}
\item 
src/\mbox{\hyperlink{usbThread_8py}{usb\+Thread.\+py}}\end{DoxyCompactItemize}