Uploaded tarball of RA documents.
[GoMoku3D.git] / network_diagram / network_diagram.prj
blob733f446d8e388e629213adcac4e63b1a9bfea550
1 format 49
2 "network_diagram"
3   revision 64
4   modified_by 82 "davide"
7   
8   // class settings
9   default_attribute_visibility protected default_relation_visibility protected default_operation_visibility public
10   //class diagram settings
11   draw_all_relations yes hide_attributes no hide_operations no show_members_full_definition no show_members_visibility no show_members_stereotype no show_parameter_dir yes show_parameter_name yes package_name_in_tab no class_drawing_mode natural drawing_language uml show_context_mode no auto_label_position yes show_infonote no shadow yes
12   //use case diagram settings
13   package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
14   //sequence diagram settings
15   show_full_operations_definition no write_horizontally yes class_drawing_mode natural drawing_language uml draw_all_relations yes shadow yes
16   //collaboration diagram settings
17   show_full_operations_definition no show_hierarchical_rank no write_horizontally yes drawing_language uml package_name_in_tab no show_context no draw_all_relations yes shadow yes
18   //object diagram settings
19    write_horizontally yes package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
20   //component diagram settings
21   package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
22   draw_component_as_icon no show_component_req_prov no show_component_rea no
23   //deployment diagram settings
24   package_name_in_tab no show_context no write_horizontally yes auto_label_position yes draw_all_relations yes shadow yes
25   draw_component_as_icon no show_component_req_prov no show_component_rea no
26   //state diagram settings
27   package_name_in_tab no show_context no auto_label_position yes write_trans_label_horizontally yes show_trans_definition no draw_all_relations yes shadow yes
28   show_activities yes region_horizontally yes drawing_language uml
29   //activity diagram settings
30   package_name_in_tab no show_context no show_opaque_action_definition no auto_label_position yes write_flow_label_horizontally no draw_all_relations yes shadow yes
31   show_infonote yes drawing_language uml
32   
33   class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activityaction_color transparent parameterpin_color white 
34   font_size 9
35   diagram_format A3
37   mark_for_import
38   
39   classview 128021 "GoMoku3D"
40     //class diagram settings
41     draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype yes show_parameter_dir no show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
42     //collaboration diagram settings
43     show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default
44     //object diagram settings
45      write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
46     //sequence diagram settings
47     show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
48     //state diagram settings
49     package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
50     show_activities default region_horizontally default drawing_language default
51     //class settings
52     //activity diagram settings
53     package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
54     show_infonote default drawing_language default
55     state 129163 "NetworkProtocol"
56       stereotype "machine"
57       statediagram 128114 "ClientSide"
58         package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition yes draw_all_relations yes shadow default
59         show_activities yes region_horizontally default drawing_language default
60         size A3
61       end
63       statediagram 128206 "ServerSide"
64         package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition yes draw_all_relations yes shadow default
65         show_activities yes region_horizontally default drawing_language default
66         size A3
67       end
69       pseudostate 128114 initial 
70         transition 128114 "<transition>"
71           on state_ref 128067 // Unconnected
72           external 
73         end
74       end
76       state 128067 "Unconnected"
77         transition 128323 "<transition>"
78           on state_ref 128195 // Connecting
79             uml_trigger "connectToHost()"
80           external 
81         end
83         transition 128525 "<transition>"
84           on state_ref 128078 // Listening
85             uml_trigger "listen()"
86           external 
87         end
88       end
90       state 128078 "Listening"
91         transition 128926 "<transition>"
92           on state_ref 128158 // Connected
93             uml_trigger "newConnection()"
94             uml_expr "handleIncomingConnection()"
95           external 
96         end
97       end
99       state 128195 "Connecting"
100         transition 128370 "<transition>"
101           on state_ref 128114 // Opening Stream
102             uml_trigger "connected"
103             uml_expr "openStream()"
104           external 
105         end
106       end
108       state 128158 "Connected"
109         transition 129453 "<transition>"
110           on state_ref 128114 // Opening Stream
111             uml_trigger "openStream()"
112           external 
113         end
114       end
116       state 128114 "Opening Stream"
117         transition 128498 "<transition>"
118           on state_ref 128365 // Closing
119             uml_trigger "received protocol version
121             uml_guard "not supported"
122           external 
123         end
125         transition 128626 "<transition>"
126           on state_ref 128242 // Fully Opened
127             uml_trigger "received protocol version
129             uml_guard "supported"
130           external 
131         end
132       end
134       state 128242 "Fully Opened"
135         transition 129522 "<transition>"
136           on state_ref 128754 // Idle
137             uml_trigger "settings received"
138             uml_expr "
139 receivedGameSettings()"
140           external 
141         end
143         transition 129325 "<transition>"
144           on state_ref 129197 // Awaiting Join Request
145             uml_trigger "sendGameSettings()"
146           external 
147         end
148       end
150       state 128754 "Idle"
151           uml_do_activity "playerJoined()
152 do / playerLeft()"
153         transition 129650 "<transition>"
154           on state_ref 128498 // Awaiting Join Answer
155             uml_trigger "joinGame()"
156           external 
157         end
159         transition 128008 "<transition>"
160           on state_ref 128365 // Closing
161             uml_trigger "cancel"
162           external 
163         end
164       end
166       state 129355 "Closed"
167         transition 130507 "<transition>"
168           on pseudostate_ref 128334 // final
169           external 
170         end
171       end
173       state 129197 "Awaiting Join Request"
174           uml_do_activity "sendPlayerJoined()
175 do / sendPlayerLeft()"
176         transition 128013 "<transition>"
177           on pseudostate_ref 128013 // junction
178             uml_trigger "join request"
179             uml_guard "spectator mode"
180             uml_expr "
181 acceptJoin()"
182           external 
183         end
185         transition 128070 "<transition>"
186           on state_ref 129197 // Awaiting Join Request
187             uml_trigger "join request"
188             uml_guard "player mode and
189 game already in progress"
190             uml_expr "
191 refuseJoin()"
192         end
194         transition 128116 "<transition>"
195           on state_ref 128075 // Awaiting Players
196             uml_trigger "join request"
197             uml_guard "player mode
198 and game not in progress"
199             uml_expr "
200 acceptJoin()"
201           external 
202         end
204         transition 129268 "<transition>"
205           on state_ref 129197 // Awaiting Join Request
206             uml_trigger "join request"
207             uml_guard "name already used"
208             uml_expr "
209 refuseJoin()"
210         end
211       end
213       state 128498 "Awaiting Join Answer"
214           uml_do_activity "playerJoined()
215 do / playerLeft()"
216         transition 129266 "<transition>"
217           on state_ref 128626 // Awaiting Game Start
218             uml_trigger "ACK received"
219             uml_expr "joinAccepted()"
220           external 
221         end
223         transition 129778 "<transition>"
224           on state_ref 128754 // Idle
225             uml_trigger "NAK received"
226             uml_expr "joinRefused()"
227           external 
228         end
230         transition 129020 "<transition>"
231           on state_ref 128754 // Idle
232             uml_trigger "cancel"
233             uml_expr "cancelJoin()"
234           external 
235         end
236       end
238       state 128075 "Awaiting Players"
239           uml_do_activity "sendPlayerJoined()
240 do / sendPlayerLeft()"
241         transition 128459 "<transition>"
242           on state_ref 128109 // Playing
243             uml_trigger "all players have joined or
244 game already in progress"
245             uml_expr "
246 sendStartGame()"
247           external 
248         end
250         transition 129227 "<transition>"
251           on state_ref 129197 // Awaiting Join Request
252             uml_trigger "join cancelled"
253             uml_expr "sendPlayerLeft()"
254           external 
255         end
256       end
258       state 128626 "Awaiting Game Start"
259           uml_do_activity "playerJoined()
260 do / playerLeft()
261 do / receivedHistory()"
262         transition 129394 "<transition>"
263           on state_ref 128109 // Playing
264             uml_trigger "start game received"
265             uml_expr "
266 startGame()"
267           external 
268         end
270         transition 128892 "<transition>"
271           on state_ref 128754 // Idle
272             uml_trigger "cancel"
273             uml_expr "cancelJoin()"
274           external 
275         end
276       end
278       state 128109 "Playing"
279         transition 128237 "<transition>"
280           on state_ref 128237 // Awaiting Move
281             uml_trigger "requestMove()"
282           external 
283         end
285         transition 129005 "<transition>"
286           on state_ref 128365 // Closing
287             uml_trigger "game terminated"
288           external 
289         end
291         transition 128198 "<transition>"
292           on state_ref 128109 // Playing
293             uml_trigger "local player moved"
294             uml_expr "
295 sendMove()"
296         end
297       end
299       state 128237 "Awaiting Move"
300         transition 129261 "<transition>"
301           on state_ref 128109 // Playing
302             uml_trigger "move received"
303             uml_expr "notifyMove()"
304           external 
305         end
306       end
308       state 128365 "Closing"
309         transition 130379 "<transition>"
310           on state_ref 129355 // Closed
311             uml_trigger "closeStream()"
312           external 
313         end
314       end
316       pseudostate 128013 junction 
317         transition 128141 "<transition>"
318           on state_ref 128075 // Awaiting Players
319             uml_guard "else"
320           external 
321         end
323         transition 128269 "<transition>"
324           on state_ref 128075 // Awaiting Players
325             uml_guard "game already in progress"
326             uml_expr "
327 sendHistory()"
328           external 
329         end
330       end
332       pseudostate 128334 final 
333       end
334     end
336     activity 128088 "JoinRequest"
337       activitydiagram 128088 "handleJoinRequest"
338         package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations no shadow default
339         show_infonote default drawing_language default
340         size A3
341       end
342     end
344     activity 128216 "GameServer::handleJoinRequest"
345       parameter 128088 "mode" type class_ref 128440 // QString
346          multiplicity "1" unordered 
347         in
348         flow 128143 "<flow>"
349           on activitynode_ref 128344 // decision
350         end
351       end
353       parameter 128216 "name" type class_ref 128440 // QString
354          multiplicity "1" unordered 
355         in
356         flow 128015 "<flow>"
357           on activitynode_ref 128216 // decision
358         end
359       end
361       activitynode 128088 initial ""
362         flow 128088 "<flow>"
363           on activitynode_ref 128216 // decision
364         end
365       end
367       activitynode 128216 decision ""
368         flow 128472 "<flow>"
369           on activitynode_ref 128344 // decision
370             uml_guard "false"
371         end
373         flow 129880 "<flow>"
374           on activitynode_ref 128856 // merge
375             uml_guard "true"
376         end
377       end
379       activityaction 128088 "refuseJoin()"
380         opaque_action
381         flow 129112 "<flow>"
382           on activitynode_ref 128600 // activity_final
383         end
384       end
386       activityaction 128216 "acceptJoin()"
387         opaque_action
388         flow 129240 "<flow>"
389           on activitynode_ref 128600 // activity_final
390         end
391       end
393       activityaction 128344 "sendHistory()"
394         opaque_action
395         flow 130648 "<flow>"
396           on activitynode_ref 128984 // merge
397         end
398       end
400       activitynode 128344 decision ""
401         flow 128728 "<flow>"
402           on activitynode_ref 128472 // decision
403             uml_guard "mode == \"player\""
404         end
406         flow 129496 "<flow>"
407           on activitynode_ref 128728 // decision
408             uml_guard "mode == \"spectator\""
409         end
410       end
412       activitynode 128472 decision ""
413         flow 130136 "<flow>"
414           on activitynode_ref 128856 // merge
415             uml_guard "_gameInProgress"
416         end
418         flow 130392 "<flow>"
419           on activitynode_ref 128984 // merge
420             uml_guard "!_gameInProgress"
421         end
423         flow 128121 "<flow>"
424           on activitynode_ref 128121 // merge
425             uml_guard "!_gameInProgress"
426             cpp_guard "!_gameInProgress
428         end
429       end
431       activitynode 128600 activity_final ""
432       end
434       activitynode 128728 decision ""
435         flow 129624 "<flow>"
436           on activityaction_ref 128344 // activity action sendHistory()
437             uml_guard "_gameInProgress"
438         end
440         flow 130520 "<flow>"
441           on activitynode_ref 128984 // merge
442             uml_guard "!_gameInProgress"
443         end
445         flow 128249 "<flow>"
446           on activitynode_ref 128121 // merge
447             uml_guard "!_gameInProgress"
448             cpp_guard "!_gameInProgress"
449         end
450       end
452       activitynode 128856 merge ""
453         flow 130008 "<flow>"
454           on activityaction_ref 128088 // activity action refuseJoin()
455         end
456       end
458       activitynode 128984 merge ""
459         flow 130264 "<flow>"
460           on activityaction_ref 128216 // activity action acceptJoin()
461         end
462       end
464       activitynode 128121 merge ""
465         flow 128377 "<flow>"
466           on activitynode_ref 128984 // merge
467         end
468       end
469     end
471     class 128019 "QMainWindow"
472       visibility package 
473       cpp_decl ""
474       java_decl ""
475       php_decl ""
476       idl_decl ""
477       explicit_switch_type ""
478       
479     end
481     class 128917 "MainWindow"
482       visibility package 
483       cpp_decl ""
484       java_decl ""
485       php_decl ""
486       idl_decl ""
487       explicit_switch_type ""
488       
489       attribute 129301 "_loop"
490         private type class_ref 130325 // GameLoop
491         cpp_decl ""
492         java_decl ""
493         php_decl ""
494         idl_decl ""
495       end
497       attribute 129173 "_net"
498         private type class_ref 130069 // Network
499         cpp_decl ""
500         java_decl ""
501         php_decl ""
502         idl_decl ""
503       end
505       attribute 129429 "_settings"
506         private type class_ref 130453 // SettingsManager
507         cpp_decl ""
508         java_decl ""
509         php_decl ""
510         idl_decl ""
511       end
513       attribute 128040 "_playersInfo"
514         private explicit_type "QMap<int,PlayerInfo>"
515         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
517         java_decl ""
518         php_decl ""
519         idl_decl ""
520       end
522       attribute 128637 "_suggester"
523         private type class_ref 129720 // Suggester
524         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
526         java_decl ""
527         php_decl ""
528         idl_decl ""
529       end
531       attribute 128149 "_render"
532         private type class_ref 128661 // RenderWidget
533         cpp_decl ""
534         java_decl ""
535         php_decl ""
536         idl_decl ""
537       end
539       attribute 128277 "_chat"
540         private type class_ref 128789 // ChatWidget
541         cpp_decl ""
542         java_decl ""
543         php_decl ""
544         idl_decl ""
545       end
547       attribute 129848 "_timer"
548         private type class_ref 128381 // TimerWidget
549         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
551         java_decl ""
552         php_decl ""
553         idl_decl ""
554       end
556       operation 128175 "loadGame"
557         public explicit_return_type "bool"
558         nparams 1
559           param in name "fileName" type class_ref 128440 // QString
560         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
562         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
563   ${body}}
565         
566         
567         
568       end
570       operation 128047 "saveGame"
571         public explicit_return_type "bool"
572         nparams 1
573           param in name "fileName" type class_ref 128440 // QString
574         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
576         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
577   ${body}}
579         
580         
581         
582       end
584       classrelation 128917 // <directional composition>
585         relation 128917 *-->
586           a role_name "" multiplicity "0..1" protected
587             classrelation_ref 128917 // <directional composition>
588           b parent class_ref 128789 // ChatWidget
589       end
591       classrelation 129045 // <directional composition>
592         relation 129045 *-->
593           a role_name "" multiplicity "0..1" protected
594             classrelation_ref 129045 // <directional composition>
595           b parent class_ref 128661 // RenderWidget
596       end
598       classrelation 128019 // <generalisation>
599         relation 128019 ---|>
600           a public
601             classrelation_ref 128019 // <generalisation>
602           b parent class_ref 128019 // QMainWindow
603       end
605       classrelation 128440 // <directional composition>
606         relation 128440 *-->
607           a role_name "" multiplicity "0..1" protected
608             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
610             classrelation_ref 128440 // <directional composition>
611           b parent class_ref 130069 // Network
612       end
614       classrelation 128568 // <directional composition>
615         relation 128568 *-->
616           a role_name "" protected
617             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
619             classrelation_ref 128568 // <directional composition>
620           b parent class_ref 129941 // AI
621       end
623       classrelation 128264 // <directional composition>
624         relation 128264 *-->
625           a role_name "" protected
626             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
628             classrelation_ref 128264 // <directional composition>
629           b parent class_ref 130453 // SettingsManager
630       end
632       classrelation 128262 // <directional composition>
633         relation 128262 *-->
634           a role_name "" protected
635             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
637             classrelation_ref 128262 // <directional composition>
638           b parent class_ref 130325 // GameLoop
639       end
641       operation 128392 "turn"
642         stereotype "slot"
643         public explicit_return_type "void"
644         nparams 1
645           param in name "player" type class_ref 129045 // Player
646         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
648         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
649   ${body}}
651         
652         
653         
654       end
656       operation 128361 "drawMove"
657         stereotype "slot"
658         public explicit_return_type "void"
659         nparams 1
660           param in name "move" type class_ref 129301 // Move
661         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
663         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
664   ${body}}
666         
667         
668         
669         comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
670       end
672       operation 128060 "undoMoves"
673         stereotype "slot"
674         public explicit_return_type "void"
675         nparams 1
676           param in name "index" explicit_type "QModelIndex"
677         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
679         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
680   ${body}}
682         
683         
684         
685         comment "disattiva la possibilità da parte dell'utente di eseguire mosse
686 resetta su render e game matrix le caselle indicate nella lista index+1..n
687 invoca setLastRound(index-2...index) su game matrix
688 setta su GameLoop il turno con setTurn(index+1.id())
689 toglie gli elementi index+1..n dalla history
690 invoca notifyMove(Point_null)
692       end
694       operation 128700 "showPastGameStatus"
695         stereotype "slot"
696         public explicit_return_type "void"
697         nparams 1
698           param in name "index" explicit_type "QModelIndex"
699         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
701         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
702   ${body}}
704         
705         
706         
707         comment "vedi pesablock, Ã¨ il gestore dell'evento history::clicked"
708       end
710       attribute 129976 "_history"
711         private type class_ref 129848 // HistoryModel
712         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
714         java_decl ""
715         php_decl ""
716         idl_decl ""
717       end
719       classrelation 130744 // <directional composition>
720         relation 130744 *-->
721           a role_name "" protected
722             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
724             classrelation_ref 130744 // <directional composition>
725           b parent class_ref 129848 // HistoryModel
726       end
728       attribute 130232 "_gameMatrix"
729         private type class_ref 129557 // GameMatrix
730         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
732         java_decl ""
733         php_decl ""
734         idl_decl ""
735       end
737       attribute 128381 "_playersWidget"
738         private type class_ref 129021 // PlayersWidget
739         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
741         java_decl ""
742         php_decl ""
743         idl_decl ""
744       end
746       classrelation 129533 // <directional composition>
747         relation 129533 *-->
748           a role_name "" multiplicity "0..1" protected
749             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
751             classrelation_ref 129533 // <directional composition>
752           b parent class_ref 129720 // Suggester
753       end
755       classrelation 128316 // <directional composition>
756         relation 128316 *-->
757           a role_name "" multiplicity "0..1" protected
758             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
760             classrelation_ref 128316 // <directional composition>
761           b parent class_ref 128381 // TimerWidget
762       end
764       classrelation 128572 // <directional composition>
765         relation 128572 *-->
766           a role_name "" protected
767             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
769             classrelation_ref 128572 // <directional composition>
770           b parent class_ref 129021 // PlayersWidget
771       end
773       classrelation 128700 // <directional composition>
774         relation 128700 *-->
775           a role_name "" protected
776             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
778             classrelation_ref 128700 // <directional composition>
779           b parent class_ref 128893 // QTableView
780       end
782       attribute 128188 "_historyView"
783         private type class_ref 128893 // QTableView
784         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
786         java_decl ""
787         php_decl ""
788         idl_decl ""
789       end
791       operation 129206 "newStandAloneGame"
792         stereotype "slot"
793         public explicit_return_type "void"
794         nparams 0
795         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
797         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
798   ${body}}
800         
801         
802         
803       end
805       classrelation 128054 // <unidirectional association>
806         relation 128054 --->
807           a role_name "" multiplicity "0..3" private
808             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
810             classrelation_ref 128054 // <unidirectional association>
811           b parent class_ref 129976 // PlayerInfo
812       end
814       operation 128020 "playerWin"
815         stereotype "slot"
816         public explicit_return_type "void"
817         nparams 1
818           param in name "playerId" explicit_type "int"
819         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
821         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
822   ${body}}
824         
825         
826         
827       end
829       operation 128276 "playersDraw"
830         stereotype "slot"
831         public explicit_return_type "void"
832         nparams 1
833           param in name "playersIds" explicit_type "QList<int>"
834         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
836         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
837   ${body}}
839         
840         
841         
842       end
844       operation 130360 "forceMove"
845         stereotype "signal"
846         public explicit_return_type "void"
847         nparams 0
848         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
850         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
851   ${body}}
853         
854         
855         
856       end
857     end
859     class 128661 "RenderWidget"
860       visibility package 
861       cpp_decl "${comment}${template}class ${name}${inherit} {
862 ${members}};
863 ${inlines}
865       java_decl ""
866       php_decl ""
867       idl_decl ""
868       explicit_switch_type ""
869       
870       operation 128105 "RenderWidget"
871         public explicit_return_type ""
872         nparams 3
873           param in name "dim" explicit_type "int"
874           param in name "lock" type class_ref 130709 // SyncSharedCondition
875           param in name "defaultCubeColor" type class_ref 128253 // QColor
876         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
878         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
879   ${body}}
881         
882         
883         
884       end
886       attribute 128060 "DefaultCubeColor"
887         class_attribute const_attribute public type class_ref 128253 // QColor
888         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
890         java_decl ""
891         php_decl ""
892         idl_decl ""
893       end
895       classrelation 128277 // <generalisation>
896         relation 128277 ---|>
897           a public
898             classrelation_ref 128277 // <generalisation>
899           b parent class_ref 128533 // QWidget
900       end
902       operation 128824 "drawMove"
903         public explicit_return_type "bool"
904         nparams 2
905           param in name "p" type class_ref 129173 // Point
906           param in name "c" explicit_type "QColor"
907         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
909         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
910   ${body}}
912         
913         
914         
915         comment "true se la mossa Ã¨ valida altrimenti false
917       end
919       attribute 128006 "_scene"
920         private type class_ref 129685 // SceneGraph
921         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
923         java_decl ""
924         php_decl ""
925         idl_decl ""
926       end
928       classrelation 128006 // <directional composition>
929         relation 128006 *-->
930           a role_name "" protected
931             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
933             classrelation_ref 128006 // <directional composition>
934           b parent class_ref 129685 // SceneGraph
935       end
937       attribute 129001 "_acceptMove"
938         private explicit_type "bool"
939         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
941         java_decl ""
942         php_decl ""
943         idl_decl ""
944       end
946       operation 129385 "acceptMove"
947         public explicit_return_type "void"
948         nparams 1
949           param in name "value" explicit_type "bool"
950         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
952         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
953   ${body}}
955         
956         
957         
958       end
960       operation 128828 "uncheckedDraw"
961         public explicit_return_type "void"
962         nparams 2
963           param in name "pointList" explicit_type "QList<Point>"
964           param in name "colorList" explicit_type "QList<QColor>"
965             defaultvalue "0"
966         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
968         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
969   ${body}}
971         
972         
973         
974         comment "se colorList==0 allora usa defaultCubeColor"
975       end
977       operation 131000 "highlightSuggested"
978         stereotype "slot"
979         public explicit_return_type "void"
980         nparams 1
981           param in name "point" type class_ref 129173 // Point
982         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
984         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
985   ${body}}
987         
988         
989         
990       end
992       classrelation 128107 // <directional composition>
993         relation 128107 *-->
994           a role_name "" protected
995             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
997             classrelation_ref 128107 // <directional composition>
998           b parent class_ref 128277 // SoQtRenderArea
999       end
1001       attribute 128107 "_renderArea"
1002         private type class_ref 128277 // SoQtRenderArea
1003         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1005         java_decl ""
1006         php_decl ""
1007         idl_decl ""
1008       end
1009     end
1011     class 128789 "ChatWidget"
1012       visibility package 
1013       cpp_decl ""
1014       java_decl ""
1015       php_decl ""
1016       idl_decl ""
1017       explicit_switch_type ""
1018       
1019       classrelation 129208 // <generalisation>
1020         relation 129208 ---|>
1021           a public
1022             cpp default "${type}"
1023             classrelation_ref 129208 // <generalisation>
1024           b parent class_ref 128568 // QDockWidget
1025       end
1027       operation 128235 "displayText"
1028         stereotype "slot"
1029         public explicit_return_type "void"
1030         nparams 1
1031           param in name "text" type class_ref 128440 // QString
1032         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1034         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1035   ${body}}
1037         
1038         
1039         
1040       end
1042       operation 128107 "textEntered"
1043         stereotype "signal"
1044         public explicit_return_type "void"
1045         nparams 1
1046           param in name "text" type class_ref 128440 // QString
1047         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1049         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1050   ${body}}
1052         
1053         
1054         
1055       end
1056     end
1058     class 129173 "Point"
1059       visibility package 
1060       cpp_decl ""
1061       java_decl ""
1062       php_decl ""
1063       idl_decl ""
1064       explicit_switch_type ""
1065       
1066       attribute 128184 "_x"
1067         private explicit_type "int"
1068         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1070         java_decl ""
1071         php_decl ""
1072         idl_decl ""
1073       end
1075       attribute 128312 "_y"
1076         private explicit_type "int"
1077         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1079         java_decl ""
1080         php_decl ""
1081         idl_decl ""
1082       end
1084       attribute 128440 "_z"
1085         private explicit_type "int"
1086         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1088         java_decl ""
1089         php_decl ""
1090         idl_decl ""
1091       end
1093       operation 128875 "Point"
1094         public explicit_return_type ""
1095         nparams 3
1096           param in name "x" explicit_type "int"
1097           param in name "y" explicit_type "int"
1098           param in name "z" explicit_type "int"
1099         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1101         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1102   ${body}}
1104         
1105         
1106         
1107       end
1108     end
1110     class 129301 "Move"
1111       visibility package 
1112       cpp_decl ""
1113       java_decl ""
1114       php_decl ""
1115       idl_decl ""
1116       explicit_switch_type ""
1117       
1118       attribute 128405 "_playerId"
1119         private explicit_type "int"
1120         cpp_decl ""
1121         java_decl ""
1122         php_decl ""
1123         idl_decl ""
1124       end
1126       attribute 128533 "_coord"
1127         private type class_ref 129173 // Point
1128         cpp_decl ""
1129         java_decl ""
1130         php_decl ""
1131         idl_decl ""
1132       end
1134       classrelation 129173 // <directional composition>
1135         relation 129173 *-->
1136           a role_name "" protected
1137             classrelation_ref 129173 // <directional composition>
1138           b parent class_ref 129173 // Point
1139       end
1141       operation 129641 "Move"
1142         public explicit_return_type ""
1143         nparams 2
1144           param in name "id" explicit_type "int"
1145           param in name "p" type class_ref 129173 // Point
1146         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1148         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1149   ${body}}
1151         
1152         
1153         
1154       end
1155     end
1157     class 129557 "GameMatrix"
1158       visibility package 
1159       cpp_decl ""
1160       java_decl ""
1161       php_decl ""
1162       idl_decl ""
1163       explicit_switch_type ""
1164       
1165       comment "istanziata da MainWindow e passata poi a GameLoop"
1166       attribute 128042 "EmptyPoint"
1167         class_attribute const_attribute public explicit_type "int"
1168         init_value "-1"
1169         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1171         java_decl ""
1172         php_decl ""
1173         idl_decl ""
1174       end
1176       attribute 128283 "_instance"
1177         class_attribute private type class_ref 129557 // GameMatrix
1178         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1180         java_decl ""
1181         php_decl ""
1182         idl_decl ""
1183       end
1185       operation 130104 "GameMatrix"
1186         private explicit_return_type ""
1187         nparams 3
1188           param in name "d1" explicit_type "int"
1189           param in name "d2" explicit_type "int"
1190           param in name "numPlayers" explicit_type "int"
1191         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1193         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1194   ${body}}
1196         
1197         
1198         
1199       end
1201       operation 128085 "create"
1202         class_operation public return_type class_ref 129557 // GameMatrix
1203         nparams 3
1204           param in name "d1" explicit_type "int"
1205           param in name "d2" explicit_type "int"
1206           param in name "numPlayers" explicit_type "int"
1207         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1209         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1210   ${body}}
1212         
1213         
1214         
1215       end
1217       operation 128411 "destroy"
1218         class_operation public explicit_return_type "void"
1219         nparams 0
1220         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1222         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1223   ${body}}
1225         
1226         
1227         
1228       end
1230       operation 128283 "instance"
1231         class_operation const public return_type class_ref 129557 // GameMatrix
1232         nparams 0
1233         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1235         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1236   ${body}}
1238         
1239         
1240         
1241       end
1243       attribute 128873 "_lastRound"
1244         private explicit_type "QList<Point>"
1245         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1247         java_decl ""
1248         php_decl ""
1249         idl_decl ""
1250         comment "/buffer delle ultime mosse da rivedere"
1251       end
1253       attribute 129129 "_d1"
1254         private explicit_type "int"
1255         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1257         java_decl ""
1258         php_decl ""
1259         idl_decl ""
1260       end
1262       attribute 129257 "_d2"
1263         private explicit_type "int"
1264         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1266         java_decl ""
1267         php_decl ""
1268         idl_decl ""
1269       end
1271       operation 129513 "add"
1272         public explicit_return_type "bool"
1273         nparams 1
1274           param in name "move" type class_ref 129301 // Move
1275         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1277         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1278   ${body}}
1280         
1281         
1282         
1283         comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1284       end
1286       operation 128554 "clear"
1287         public explicit_return_type "void"
1288         nparams 1
1289           param in name "point" type class_ref 129173 // Point
1290         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1292         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1293   ${body}}
1295         
1296         
1297         
1298       end
1300       operation 128155 "check"
1301         class_operation const public explicit_return_type "bool"
1302         nparams 1
1303           param in name "point" type class_ref 129173 // Point
1304         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1306         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1307   ${body}}
1309         
1310         
1311         
1312       end
1314       operation 128404 "isFull"
1315         const public explicit_return_type "bool"
1316         nparams 0
1317         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1319         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1320   ${body}}
1322         
1323         
1324         
1325       end
1327       operation 130232 "numberOfPlayers"
1328         const public explicit_return_type "int"
1329         nparams 0
1330         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1332         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1333   ${body}}
1335         
1336         
1337         
1338         comment "lastRound.size()"
1339       end
1341       operation 128188 "setLastRound"
1342         public explicit_return_type "void"
1343         nparams 1
1344           param in name "round" explicit_type "QList<Point>"
1345         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1347         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1348   ${body}}
1350         
1351         
1352         
1353       end
1355       attribute 128148 "_freeCounter"
1356         private explicit_type "int"
1357         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1359         java_decl ""
1360         php_decl ""
1361         idl_decl ""
1362       end
1363     end
1365     class 129941 "AI"
1366       visibility package 
1367       cpp_decl ""
1368       java_decl ""
1369       php_decl ""
1370       idl_decl ""
1371       explicit_switch_type ""
1372       
1373       attribute 128084 "mat"
1374         private type class_ref 129557 // GameMatrix
1375         cpp_decl ""
1376         java_decl ""
1377         php_decl ""
1378         idl_decl ""
1379       end
1381       operation 128084 "AI"
1382         public explicit_return_type ""
1383         nparams 2
1384           param in name "id" explicit_type "int"
1385           param in name "mat" type class_ref 129557 // GameMatrix
1386         
1387         
1388         
1389         
1390       end
1392       operation 128212 "move"
1393         public return_type class_ref 129301 // Move
1394         nparams 1
1395           param in name "level" explicit_type "int"
1396         
1397         
1398         
1399         
1400         comment "prima di ritornare la mossa mette a false il bool forceMove"
1401       end
1403       attribute 128296 "playerId"
1404         const_attribute private explicit_type "int"
1405         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1407         java_decl ""
1408         php_decl ""
1409         idl_decl ""
1410       end
1412       attribute 128424 "forceMove"
1413         private explicit_type "bool"
1414         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1416         java_decl ""
1417         php_decl ""
1418         idl_decl ""
1419         comment "default false."
1420       end
1422       operation 129976 "forceMove"
1423         public explicit_return_type "void"
1424         nparams 0
1425         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1427         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1428   ${body}}
1430         
1431         
1432         
1433         comment "setta a true il bool forceMove"
1434       end
1435     end
1437     class 130069 "Network"
1438       abstract visibility package 
1439       cpp_decl ""
1440       java_decl ""
1441       php_decl ""
1442       idl_decl ""
1443       explicit_switch_type ""
1444       
1445       operation 128508 "Network"
1446         public explicit_return_type ""
1447         nparams 1
1448           param in name "gui" type class_ref 128533 // QWidget
1449         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1451         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1452   ${body}}
1454         
1455         
1456         
1457       end
1459       operation 128109 "requestMove"
1460         abstract cpp_virtual public explicit_return_type "void"
1461         nparams 0
1462         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1464         
1465         
1466         
1467       end
1469       operation 128982 "setupChat"
1470         abstract cpp_virtual public explicit_return_type "void"
1471         nparams 1
1472           param in name "widget" type class_ref 128789 // ChatWidget
1473         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1475         
1476         
1477         
1478       end
1480       attribute 128552 "_localPlayer"
1481         private explicit_type "int"
1482         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1484         java_decl ""
1485         php_decl ""
1486         idl_decl ""
1487         comment "rappresenta l'ID del player che usa la GUI in una partita online.
1488 può essere uno solo per partita online quindi va settato una volta che si Ã¨ ricevuta lista di giocatori dal server e quindi l'id del giocatore locale."
1489       end
1491       attribute 128124 "_gui"
1492         private type class_ref 128533 // QWidget
1493         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1495         java_decl ""
1496         php_decl ""
1497         idl_decl ""
1498       end
1500       attribute 128075 "_settings"
1501         private type class_ref 128170 // ServerSettings
1502         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1504         java_decl ""
1505         php_decl ""
1506         idl_decl ""
1507       end
1509       classrelation 128075 // <directional composition>
1510         relation 128075 *-->
1511           a role_name "" protected
1512             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1514             classrelation_ref 128075 // <directional composition>
1515           b parent class_ref 128170 // ServerSettings
1516       end
1517     end
1519     class 128214 "GameClient"
1520       visibility package 
1521       cpp_decl "${comment}${template}class ${name}${inherit} {
1522 ${members}};
1523 ${inlines}
1525       java_decl ""
1526       php_decl ""
1527       idl_decl ""
1528       explicit_switch_type ""
1529       
1530       operation 128078 "GameClient"
1531         public explicit_return_type ""
1532         nparams 2
1533           param in name "gui" type class_ref 128533 // QWidget
1534           param in name "serverAddress" type class_ref 128440 // QString
1535         
1536         
1537         
1538         
1539         comment "serverAddress indica il server a cui connettersi."
1540       end
1542       operation 128365 "requestMove"
1543         cpp_virtual public explicit_return_type "void"
1544         nparams 0
1545         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1547         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1548   ${body}}
1550         
1551         
1552         
1553       end
1555       operation 129110 "setupChat"
1556         public explicit_return_type "void"
1557         nparams 1
1558           param in name "widget" type class_ref 128789 // ChatWidget
1559         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1561         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1562   ${body}}
1564         
1565         
1566         
1567       end
1569       attribute 128158 "_server"
1570         private type class_ref 128027 // ClientSocket
1571         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1573         java_decl ""
1574         php_decl ""
1575         idl_decl ""
1576       end
1578       classrelation 128086 // <realization>
1579         relation 128086 -_-|>
1580           a public
1581             cpp default "${type}"
1582             classrelation_ref 128086 // <realization>
1583           b parent class_ref 130069 // Network
1584       end
1586       classrelation 128283 // <directional composition>
1587         relation 128155 *-->
1588           a role_name "" protected
1589             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1591             classrelation_ref 128283 // <directional composition>
1592           b parent class_ref 128027 // ClientSocket
1593       end
1594     end
1596     class 128086 "GameServer"
1597       visibility protected 
1598       cpp_decl "${comment}${template}class ${name}${inherit} {
1599 ${members}};
1600 ${inlines}
1602       java_decl ""
1603       php_decl ""
1604       idl_decl ""
1605       explicit_switch_type ""
1606       
1607       operation 129372 "GameServer"
1608         public explicit_return_type ""
1609         nparams 2
1610           param in name "gui" type class_ref 128533 // QWidget
1611           param in name "history" explicit_type "QList<Move>"
1612         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1614         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1615   ${body}}
1617         
1618         
1619         
1620       end
1622       operation 128237 "requestMove"
1623         cpp_virtual public explicit_return_type "void"
1624         nparams 0
1625         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1627         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1628   ${body}}
1630         
1631         
1632         
1633       end
1635       operation 129238 "setupChat"
1636         public explicit_return_type "void"
1637         nparams 1
1638           param in name "widget" type class_ref 128789 // ChatWidget
1639         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1641         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1642   ${body}}
1644         
1645         
1646         
1647       end
1649       operation 128974 "handleIncomingConnection"
1650         stereotype "slot"
1651         private explicit_return_type "void"
1652         nparams 0
1653         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1655         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1656   ${body}}
1658         
1659         
1660         
1661         comment "connesso al segnale newConnection() di QTcpServer."
1662       end
1664       attribute 128027 "_listener"
1665         private type class_ref 128206 // QTcpServer
1666         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1668         java_decl ""
1669         php_decl ""
1670         idl_decl ""
1671       end
1673       attribute 128342 "_pendingConnections"
1674         private explicit_type "QLinkedList<ServerSocket>"
1675         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1677         java_decl ""
1678         php_decl ""
1679         idl_decl ""
1680       end
1682       attribute 128462 "_remotePlayers"
1683         private explicit_type "QList<ServerSocket>"
1684         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1686         java_decl ""
1687         php_decl ""
1688         idl_decl ""
1689       end
1691       attribute 128334 "_spectators"
1692         private explicit_type "QLinkedList<ServerSocket>"
1693         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1695         java_decl ""
1696         php_decl ""
1697         idl_decl ""
1698       end
1700       attribute 129244 "_history"
1701         private explicit_type "QList<Move>"
1702         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1704         java_decl ""
1705         php_decl ""
1706         idl_decl ""
1707       end
1709       attribute 128114 "_gameInProgress"
1710         private explicit_type "bool"
1711         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1713         java_decl ""
1714         php_decl ""
1715         idl_decl ""
1716       end
1718       classrelation 128214 // <realization>
1719         relation 128214 -_-|>
1720           a public
1721             cpp default "${type}"
1722             classrelation_ref 128214 // <realization>
1723           b parent class_ref 130069 // Network
1724       end
1726       classrelation 128598 // <directional composition>
1727         relation 128598 *-->
1728           a role_name "" protected
1729             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1731             classrelation_ref 128598 // <directional composition>
1732           b parent class_ref 128206 // QTcpServer
1733       end
1735       classrelation 128411 // <directional composition>
1736         relation 128283 *-->
1737           a role_name "" multiplicity "*" protected
1738             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1740             classrelation_ref 128411 // <directional composition>
1741           b parent class_ref 128155 // ServerSocket
1742       end
1743     end
1745     class 130197 "QThread"
1746       abstract visibility package 
1747       cpp_decl ""
1748       java_decl ""
1749       php_decl ""
1750       idl_decl ""
1751       explicit_switch_type ""
1752       
1753       operation 128393 "run"
1754         abstract cpp_virtual protected explicit_return_type "void"
1755         nparams 0
1756         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1758         
1759         
1760         
1761       end
1763       operation 128319 "start"
1764         public explicit_return_type ""
1765         nparams 0
1766         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1768         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1769   ${body}}
1771         
1772         
1773         
1774       end
1775     end
1777     class 130325 "GameLoop"
1778       visibility package 
1779       cpp_decl ""
1780       java_decl ""
1781       php_decl ""
1782       idl_decl ""
1783       explicit_switch_type ""
1784       
1785       comment "quando attende una mossa da RemotePlayer o HumanPlayer va in wait, quando invece tocca ad AIPlayer deve essere questo Thread che esegue il calcolo. NON deve andare in wait."
1786       operation 128054 "GameLoop"
1787         public explicit_return_type ""
1788         nparams 1
1789           param in name "players" explicit_type "QList<Player>"
1790         cpp_decl "    ${comment}${inline}${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, ${t2} ${p2}, const ${t3} & ${p3}${)}${volatile}${throw};
1792         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1793   ${body}}
1795         
1796         
1797         
1798       end
1800       operation 128520 "run"
1801         protected explicit_return_type "void"
1802         nparams 0
1803         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1805         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1806   ${body}}
1808         
1809         
1810         
1811       end
1813       operation 128316 "setTurn"
1814         public explicit_return_type "void"
1815         nparams 1
1816           param in name "id" explicit_type "int"
1817         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1819         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1820   ${body}}
1822         
1823         
1824         
1825       end
1827       classrelation 130069 // <realization>
1828         relation 130069 -_-|>
1829           a public
1830             classrelation_ref 130069 // <realization>
1831           b parent class_ref 130197 // QThread
1832       end
1834       attribute 128264 "_players"
1835         private explicit_type "QList<Player>"
1836         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1838         java_decl ""
1839         php_decl ""
1840         idl_decl ""
1841       end
1843       attribute 128134 "_mat"
1844         private type class_ref 129557 // GameMatrix
1845         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1847         java_decl ""
1848         php_decl ""
1849         idl_decl ""
1850       end
1852       classrelation 128134 // <directional composition>
1853         relation 128134 *-->
1854           a role_name "" protected
1855             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1857             classrelation_ref 128134 // <directional composition>
1858           b parent class_ref 129557 // GameMatrix
1859       end
1861       operation 130488 "forceMove"
1862         stereotype "slot"
1863         public explicit_return_type "void"
1864         nparams 0
1865         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1867         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1868   ${body}}
1870         
1871         
1872         
1873       end
1875       operation 128233 "moved"
1876         stereotype "signal"
1877         public explicit_return_type "void"
1878         nparams 1
1879           param in name "move" type class_ref 129301 // Move
1880         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1882         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1883   ${body}}
1885         
1886         
1887         
1888       end
1890       operation 128264 "turn"
1891         stereotype "signal"
1892         public explicit_return_type "void"
1893         nparams 1
1894           param in name "player" type class_ref 129045 // Player
1895         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1897         
1898         
1899         
1900       end
1902       attribute 129592 "_currentPlayer"
1903         private type class_ref 129045 // Player
1904         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1906         java_decl ""
1907         php_decl ""
1908         idl_decl ""
1909         comment "mantenuto consistente per poter effettuare la forceMove()"
1910       end
1912       classrelation 128042 // <directional composition>
1913         relation 128042 *-->
1914           a role_name "" multiplicity "2..3" protected
1915             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1917             classrelation_ref 128042 // <directional composition>
1918           b parent class_ref 129045 // Player
1919       end
1921       operation 128148 "win"
1922         stereotype "signal"
1923         public explicit_return_type "void"
1924         nparams 1
1925           param in name "playerId" explicit_type "int"
1926         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1928         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1929   ${body}}
1931         
1932         
1933         
1934       end
1936       attribute 128020 "_winStatus"
1937         private explicit_type "QList<bool>"
1938         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1940         java_decl ""
1941         php_decl ""
1942         idl_decl ""
1943         comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1944       end
1946       operation 128532 "draw"
1947         stereotype "signal"
1948         public explicit_return_type "void"
1949         nparams 1
1950           param in name "playersIds" explicit_type "QList<int>"
1951         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1953         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1954   ${body}}
1956         
1957         
1958         
1959       end
1960     end
1962     class 130709 "SyncSharedCondition"
1963       visibility package 
1964       cpp_decl ""
1965       java_decl ""
1966       php_decl ""
1967       idl_decl ""
1968       explicit_switch_type ""
1969       
1970       attribute 128063 "_instance"
1971         class_attribute private type class_ref 130709 // SyncSharedCondition
1972         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1974         java_decl ""
1975         php_decl ""
1976         idl_decl ""
1977       end
1979       operation 128191 "SyncSharedCondition"
1980         protected explicit_return_type ""
1981         nparams 0
1982         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1984         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1985   ${body}}
1987         
1988         
1989         
1990       end
1992       operation 128063 "instance"
1993         class_operation public return_type class_ref 130709 // SyncSharedCondition
1994         nparams 0
1995         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1997         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1998   ${body}}
2000         
2001         
2002         
2003       end
2005       attribute 129557 "_waitCond"
2006         private type class_ref 129813 // QWaitCondition
2007         cpp_decl ""
2008         java_decl ""
2009         php_decl ""
2010         idl_decl ""
2011       end
2013       attribute 128105 "_point"
2014         private type class_ref 129173 // Point
2015         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2017         java_decl ""
2018         php_decl ""
2019         idl_decl ""
2020       end
2022       operation 129129 "waitForMove"
2023         public return_type class_ref 129173 // Point
2024         nparams 0
2025         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2027         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2028   ${body}}
2030         
2031         
2032         
2033       end
2035       operation 129257 "notifyMove"
2036         public explicit_return_type "void"
2037         nparams 1
2038           param in name "p" type class_ref 129173 // Point
2039         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2041         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2042   ${body}}
2044         
2045         
2046         
2047       end
2049       classrelation 128105 // <generalisation>
2050         relation 128105 ---|>
2051           a public
2052             cpp default "${type}"
2053             classrelation_ref 128105 // <generalisation>
2054           b parent class_ref 130837 // QMutex
2055       end
2057       classrelation 128168 // <directional composition>
2058         relation 128168 *-->
2059           a role_name "" protected
2060             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2062             classrelation_ref 128168 // <directional composition>
2063           b parent class_ref 129813 // QWaitCondition
2064       end
2065     end
2067     class 130837 "QMutex"
2068       visibility package 
2069       cpp_decl ""
2070       java_decl ""
2071       php_decl ""
2072       idl_decl ""
2073       explicit_switch_type ""
2074       
2075       operation 129769 "lock"
2076         public explicit_return_type "void"
2077         nparams 0
2078         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2080         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2081   ${body}}
2083         
2084         
2085         
2086       end
2088       operation 129897 "unlock"
2089         public explicit_return_type "void"
2090         nparams 0
2091         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2093         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2094   ${body}}
2096         
2097         
2098         
2099       end
2100     end
2102     class 129813 "QWaitCondition"
2103       visibility package 
2104       cpp_decl ""
2105       java_decl ""
2106       php_decl ""
2107       idl_decl ""
2108       explicit_switch_type ""
2109       
2110       operation 130025 "wait"
2111         public explicit_return_type "bool"
2112         nparams 2
2113           param in name "lock" type class_ref 130837 // QMutex
2114           param in name "timeout" explicit_type "unsigned long"
2115         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2117         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2118   ${body}}
2120         
2121         
2122         
2123       end
2125       operation 130153 "wakeOne"
2126         public explicit_return_type "void"
2127         nparams 0
2128         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2130         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2131   ${body}}
2133         
2134         
2135         
2136       end
2137     end
2139     class 129045 "Player"
2140       abstract visibility package 
2141       cpp_decl ""
2142       java_decl ""
2143       php_decl ""
2144       idl_decl ""
2145       explicit_switch_type ""
2146       
2147       operation 128617 "Player"
2148         public explicit_return_type ""
2149         nparams 1
2150           param in name "id" explicit_type "int"
2151         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2153         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2154   ${body}}
2156         
2157         
2158         
2159       end
2161       operation 128184 "move"
2162         abstract cpp_virtual public return_type class_ref 129301 // Move
2163         nparams 0
2164         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2166         
2167         
2168         
2169       end
2171       attribute 128168 "_id"
2172         const_attribute private explicit_type "int"
2173         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2175         java_decl ""
2176         php_decl ""
2177         idl_decl ""
2178       end
2180       operation 128040 "id"
2181         const public explicit_return_type "int"
2182         nparams 0
2183         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2185         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2186   ${body}}
2188         
2189         
2190         
2191       end
2192     end
2194     class 128056 "HumanPlayer"
2195       visibility package 
2196       cpp_decl "${comment}${template}class ${name}${inherit} {
2197 ${members}};
2198 ${inlines}
2200       java_decl ""
2201       php_decl ""
2202       idl_decl ""
2203       explicit_switch_type ""
2204       
2205       operation 128745 "HumanPlayer"
2206         public explicit_return_type ""
2207         nparams 2
2208           param in name "id" explicit_type "int"
2209           param in name "render" type class_ref 128661 // RenderWidget
2210         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2212         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2213   ${body}}
2215         
2216         
2217         
2218       end
2220       operation 128440 "move"
2221         cpp_virtual public return_type class_ref 129301 // Move
2222         nparams 0
2223         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2225         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2226   ${body}}
2228         
2229         
2230         
2231       end
2233       attribute 128233 "_render"
2234         private type class_ref 128661 // RenderWidget
2235         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2237         java_decl ""
2238         php_decl ""
2239         idl_decl ""
2240       end
2242       classrelation 128361 // <realization>
2243         relation 128361 -_-|>
2244           a public
2245             cpp default "${type}"
2246             classrelation_ref 128361 // <realization>
2247           b parent class_ref 129045 // Player
2248       end
2249     end
2251     class 128184 "RemotePlayer"
2252       visibility package 
2253       cpp_decl "${comment}${template}class ${name}${inherit} {
2254 ${members}};
2255 ${inlines}
2257       java_decl ""
2258       php_decl ""
2259       idl_decl ""
2260       explicit_switch_type ""
2261       
2262       operation 128873 "RemotePlayer"
2263         public explicit_return_type ""
2264         nparams 2
2265           param in name "id" explicit_type "int"
2266           param in name "net" type class_ref 130069 // Network
2267         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2269         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2270   ${body}}
2272         
2273         
2274         
2275       end
2277       operation 128568 "move"
2278         cpp_virtual public return_type class_ref 129301 // Move
2279         nparams 0
2280         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2282         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2283   ${body}}
2285         
2286         
2287         
2288       end
2290       attribute 128361 "_net"
2291         private type class_ref 130069 // Network
2292         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2294         java_decl ""
2295         php_decl ""
2296         idl_decl ""
2297       end
2299       classrelation 128489 // <realization>
2300         relation 128489 -_-|>
2301           a public
2302             cpp default "${type}"
2303             classrelation_ref 128489 // <realization>
2304           b parent class_ref 129045 // Player
2305       end
2306     end
2308     class 128312 "AIPlayer"
2309       visibility package 
2310       cpp_decl "${comment}${template}class ${name}${inherit} {
2311 ${members}};
2312 ${inlines}
2314       java_decl ""
2315       php_decl ""
2316       idl_decl ""
2317       explicit_switch_type ""
2318       
2319       operation 129001 "AIPlayer"
2320         public explicit_return_type ""
2321         nparams 2
2322           param in name "id" explicit_type "int"
2323           param in name "mat" type class_ref 129557 // GameMatrix
2324         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2326         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2327   ${body}}
2329         
2330         
2331         
2332         comment "inizializza skill con la costante di classe DefaultSkill"
2333       end
2335       attribute 128386 "_DefaultSkill"
2336         class_attribute const_attribute private explicit_type "int"
2337         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2339         java_decl ""
2340         php_decl ""
2341         idl_decl ""
2342       end
2344       operation 128696 "move"
2345         cpp_virtual public return_type class_ref 129301 // Move
2346         nparams 0
2347         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2349         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2350   ${body}}
2352         
2353         
2354         
2355       end
2357       classrelation 128617 // <realization>
2358         relation 128617 -_-|>
2359           a public
2360             cpp default "${type}"
2361             classrelation_ref 128617 // <realization>
2362           b parent class_ref 129045 // Player
2363       end
2365       attribute 128258 "_skill"
2366         private explicit_type "int"
2367         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2369         java_decl ""
2370         php_decl ""
2371         idl_decl ""
2372       end
2374       operation 128002 "skill"
2375         const public explicit_return_type "int"
2376         nparams 0
2377         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2379         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2380   ${body}}
2382         
2383         
2384         
2385       end
2387       operation 128130 "setSkill"
2388         public explicit_return_type "void"
2389         nparams 1
2390           param in name "sk" explicit_type "int"
2391         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2393         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2394   ${body}}
2396         
2397         
2398         
2399       end
2401       classrelation 130360 // <generalisation>
2402         relation 130360 ---|>
2403           a public
2404             cpp default "${type}"
2405             classrelation_ref 130360 // <generalisation>
2406           b parent class_ref 129941 // AI
2407       end
2408     end
2410     class 128277 "SoQtRenderArea"
2411       visibility package 
2412       cpp_decl ""
2413       java_decl ""
2414       php_decl ""
2415       idl_decl ""
2416       explicit_switch_type ""
2417       
2418     end
2420     class 129685 "SceneGraph"
2421       visibility package 
2422       cpp_decl ""
2423       java_decl ""
2424       php_decl ""
2425       idl_decl ""
2426       explicit_switch_type ""
2427       
2428     end
2430     class 128440 "QString"
2431       visibility package 
2432       cpp_decl "${comment}${template}class ${name}${inherit} {
2433 ${members}};
2434 ${inlines}
2436       java_decl ""
2437       php_decl ""
2438       idl_decl ""
2439       explicit_switch_type ""
2440       
2441     end
2443     class 128253 "QColor"
2444       visibility package 
2445       cpp_decl "${comment}${template}class ${name}${inherit} {
2446 ${members}};
2447 ${inlines}
2449       java_decl ""
2450       php_decl ""
2451       idl_decl ""
2452       explicit_switch_type ""
2453       
2454     end
2456     class 128533 "QWidget"
2457       visibility package 
2458       cpp_decl ""
2459       java_decl ""
2460       php_decl ""
2461       idl_decl ""
2462       explicit_switch_type ""
2463       
2464     end
2466     class 128568 "QDockWidget"
2467       visibility package 
2468       cpp_decl "${comment}${template}class ${name}${inherit} {
2469 ${members}};
2470 ${inlines}
2472       java_decl ""
2473       php_decl ""
2474       idl_decl ""
2475       explicit_switch_type ""
2476       
2477       classrelation 128009 // <generalisation>
2478         relation 128009 ---|>
2479           a public
2480             cpp default "${type}"
2481             classrelation_ref 128009 // <generalisation>
2482           b parent class_ref 128533 // QWidget
2483       end
2484     end
2486     class 128008 "QSettings"
2487       visibility package 
2488       cpp_decl "${comment}${template}class ${name}${inherit} {
2489 ${members}};
2490 ${inlines}
2492       java_decl ""
2493       php_decl ""
2494       idl_decl ""
2495       explicit_switch_type ""
2496       
2497     end
2499     class 128125 "QTimer"
2500       visibility package 
2501       cpp_decl "${comment}${template}class ${name}${inherit} {
2502 ${members}};
2503 ${inlines}
2505       java_decl ""
2506       php_decl ""
2507       idl_decl ""
2508       explicit_switch_type ""
2509       
2510       operation 128253 "start"
2511         stereotype "slot"
2512         public explicit_return_type "void"
2513         nparams 1
2514           param in name "msec" explicit_type "int"
2515         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2517         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2518   ${body}}
2520         
2521         
2522         
2523       end
2525       operation 128381 "stop"
2526         stereotype "slot"
2527         public explicit_return_type "void"
2528         nparams 0
2529         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2531         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2532   ${body}}
2534         
2535         
2536         
2537       end
2539       operation 128125 "timeout"
2540         stereotype "signal"
2541         public explicit_return_type "void"
2542         nparams 0
2543         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2545         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2546   ${body}}
2548         
2549         
2550         
2551       end
2552     end
2554     class 129720 "Suggester"
2555       visibility package 
2556       cpp_decl "${comment}${template}class ${name}${inherit} {
2557 ${members}};
2558 ${inlines}
2560       java_decl ""
2561       php_decl ""
2562       idl_decl ""
2563       explicit_switch_type ""
2564       
2565       operation 130744 "Suggester"
2566         public explicit_return_type ""
2567         nparams 2
2568           param in name "id" explicit_type "int"
2569           param in name "mat" type class_ref 129557 // GameMatrix
2570         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2572         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2573   ${body}}
2575         
2576         
2577         
2578       end
2580       attribute 128130 "_SuggestedMoveLevel"
2581         class_attribute const_attribute private explicit_type "int"
2582         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2584         java_decl ""
2585         php_decl ""
2586         idl_decl ""
2587       end
2589       classrelation 130488 // <generalisation>
2590         relation 130488 ---|>
2591           stereotype "private"
2592           a private
2593             cpp default "${type}"
2594             classrelation_ref 130488 // <generalisation>
2595           b parent class_ref 129941 // AI
2596       end
2598       classrelation 130616 // <realization>
2599         relation 130616 -_-|>
2600           a public
2601             cpp default "${type}"
2602             classrelation_ref 130616 // <realization>
2603           b parent class_ref 130197 // QThread
2604       end
2606       operation 130616 "run"
2607         protected explicit_return_type "void"
2608         nparams 0
2609         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2611         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2612   ${body}}
2614         
2615         
2616         
2617       end
2619       operation 128056 "suggestMove"
2620         public return_type class_ref 129173 // Point
2621         nparams 0
2622         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2624         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2625   ${body}}
2627         
2628         
2629         
2630         comment "prima di ritornare mettea false il bool forceMove"
2631       end
2633       operation 130872 "suggestedMoveReady"
2634         stereotype "signal"
2635         public explicit_return_type "void"
2636         nparams 1
2637           param in name "point" type class_ref 129173 // Point
2638         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2640         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2641   ${body}}
2643         
2644         
2645         
2646       end
2647     end
2649     class 129848 "HistoryModel"
2650       visibility package 
2651       cpp_decl "${comment}${template}class ${name}${inherit} {
2652 ${members}};
2653 ${inlines}
2655       java_decl ""
2656       php_decl ""
2657       idl_decl ""
2658       explicit_switch_type ""
2659       
2660       attribute 130104 "_history"
2661         private explicit_type "QList<Move>"
2662         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2664         java_decl ""
2665         php_decl ""
2666         idl_decl ""
2667       end
2669       operation 128765 "columnCount"
2670         const cpp_virtual public explicit_return_type "int"
2671         nparams 1
2672           param in name "parent" explicit_type "QModelIndex"
2673         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2675         
2676         
2677         
2678       end
2680       operation 128637 "rowCount"
2681         const cpp_virtual public explicit_return_type "int"
2682         nparams 1
2683           param in name "parent" explicit_type "QModelIndex"
2684         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2686         
2687         
2688         
2689       end
2691       operation 128509 "data"
2692         const cpp_virtual public explicit_return_type "QVariant"
2693         nparams 2
2694           param in name "index" explicit_type "QModelIndex"
2695           param in name "role" explicit_type "int"
2696             defaultvalue "Qt::DisplayRole"
2697         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2699         
2700         
2701         
2702       end
2704       operation 128893 "flags"
2705         const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2706         nparams 1
2707           param in name "index" explicit_type "QModelIndex"
2708         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2710         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2711   ${body}}
2713         
2714         
2715         
2716       end
2718       operation 129021 "headerData"
2719         const cpp_virtual public explicit_return_type "QVariant"
2720         nparams 3
2721           param in name "section" explicit_type "int"
2722           param in name "orientation" explicit_type "Qt::Orientation"
2723           param in name "role" explicit_type "int"
2724         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2726         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2727   ${body}}
2729         
2730         
2731         
2732       end
2734       operation 131128 "add"
2735         public explicit_return_type "void"
2736         nparams 1
2737           param in name "move" type class_ref 129301 // Move
2738         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2740         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2741   ${body}}
2743         
2744         
2745         
2746       end
2748       classrelation 128637 // <realization>
2749         relation 128637 -_-|>
2750           a public
2751             cpp default "${type}"
2752             classrelation_ref 128637 // <realization>
2753           b parent class_ref 128509 // QAbstractTableModel
2754       end
2756       operation 129259 "insertRows"
2757         cpp_virtual public explicit_return_type "bool"
2758         nparams 3
2759           param in name "row" explicit_type "int"
2760           param in name "count" explicit_type "int"
2761           param in name "parent" explicit_type "QModelIndex"
2762         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2764         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2765   ${body}}
2767         
2768         
2769         
2770       end
2772       operation 129387 "removeRows"
2773         cpp_virtual public explicit_return_type "bool"
2774         nparams 3
2775           param in name "row" explicit_type "int"
2776           param in name "count" explicit_type "int"
2777           param in name "parent" explicit_type "QModelIndex"
2778         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2780         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2781   ${body}}
2783         
2784         
2785         
2786       end
2788       operation 129244 "moveList"
2789         const public explicit_return_type "QList<Move>"
2790         nparams 0
2791         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2793         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2794   ${body}}
2796         
2797         
2798         
2799       end
2800     end
2802     class 129976 "PlayerInfo"
2803       visibility package 
2804       cpp_decl "${comment}${template}class ${name}${inherit} {
2805 ${members}};
2806 ${inlines}
2808       java_decl ""
2809       php_decl ""
2810       idl_decl ""
2811       explicit_switch_type ""
2812       
2813       attribute 130360 "_name"
2814         private type class_ref 128440 // QString
2815         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2817         java_decl ""
2818         php_decl ""
2819         idl_decl ""
2820       end
2822       attribute 130488 "_color"
2823         private type class_ref 128253 // QColor
2824         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2826         java_decl ""
2827         php_decl ""
2828         idl_decl ""
2829       end
2831       attribute 130616 "_type"
2832         private type class_ref 128440 // QString
2833         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2835         java_decl ""
2836         php_decl ""
2837         idl_decl ""
2838       end
2840       operation 129131 "PlayerInfo"
2841         public explicit_return_type ""
2842         nparams 3
2843           param in name "name" type class_ref 128440 // QString
2844           param in name "color" type class_ref 128253 // QColor
2845           param in name "type" type class_ref 128440 // QString
2846         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2848         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2849   ${body}}
2851         
2852         
2853         
2854       end
2855     end
2857     class 128381 "TimerWidget"
2858       visibility package 
2859       cpp_decl "${comment}${template}class ${name}${inherit} {
2860 ${members}};
2861 ${inlines}
2863       java_decl ""
2864       php_decl ""
2865       idl_decl ""
2866       explicit_switch_type ""
2867       
2868       attribute 128125 "_timer"
2869         private type class_ref 128125 // QTimer
2870         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2872         java_decl ""
2873         php_decl ""
2874         idl_decl ""
2875       end
2877       classrelation 128381 // <directional composition>
2878         relation 128381 *-->
2879           a role_name "" protected
2880             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2882             classrelation_ref 128381 // <directional composition>
2883           b parent class_ref 128125 // QTimer
2884       end
2886       classrelation 128509 // <generalisation>
2887         relation 128509 ---|>
2888           a public
2889             cpp default "${type}"
2890             classrelation_ref 128509 // <generalisation>
2891           b parent class_ref 128533 // QWidget
2892       end
2893     end
2895     class 128509 "QAbstractTableModel"
2896       abstract visibility package 
2897       cpp_decl "${comment}${template}class ${name}${inherit} {
2898 ${members}};
2899 ${inlines}
2901       java_decl ""
2902       php_decl ""
2903       idl_decl ""
2904       explicit_switch_type ""
2905       
2906     end
2908     class 128893 "QTableView"
2909       visibility package 
2910       cpp_decl "${comment}${template}class ${name}${inherit} {
2911 ${members}};
2912 ${inlines}
2914       java_decl ""
2915       php_decl ""
2916       idl_decl ""
2917       explicit_switch_type ""
2918       
2919       classrelation 128444 // <generalisation>
2920         relation 128444 ---|>
2921           a public
2922             cpp default "${type}"
2923             classrelation_ref 128444 // <generalisation>
2924           b parent class_ref 128533 // QWidget
2925       end
2927       classrelation 128191 // <dependency>
2928         relation 128191 -_->
2929           a default
2930             cpp default "#include in source"
2931             classrelation_ref 128191 // <dependency>
2932           b parent class_ref 129848 // HistoryModel
2933       end
2934     end
2936     class 129021 "PlayersWidget"
2937       visibility package 
2938       cpp_decl "${comment}${template}class ${name}${inherit} {
2939 ${members}};
2940 ${inlines}
2942       java_decl ""
2943       php_decl ""
2944       idl_decl ""
2945       explicit_switch_type ""
2946       
2947       comment "rappresenta turno, colore, tipo, nome dei players"
2948       operation 129149 "PlayersWidget"
2949         public explicit_return_type ""
2950         nparams 1
2951           param in name "info" explicit_type "QMap<int,PlayerInfo>"
2952         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2954         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2955   ${body}}
2957         
2958         
2959         
2960         comment "crea un QLabel per ogni player con freccia turno, colore, tipo, nome."
2961       end
2963       classrelation 128828 // <generalisation>
2964         relation 128828 ---|>
2965           a public
2966             cpp default "${type}"
2967             classrelation_ref 128828 // <generalisation>
2968           b parent class_ref 128533 // QWidget
2969       end
2970     end
2972     class 128426 "AbstractSettings"
2973       abstract visibility package 
2974       cpp_decl "${comment}${template}class ${name}${inherit} {
2975 ${members}};
2976 ${inlines}
2978       java_decl ""
2979       php_decl ""
2980       idl_decl ""
2981       explicit_switch_type ""
2982       
2983       operation 128776 "language"
2984         abstract const cpp_virtual public return_type class_ref 128440 // QString
2985         nparams 0
2986         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2988         
2989         
2990         
2991       end
2993       operation 129416 "geometry"
2994         abstract const cpp_virtual public explicit_return_type "QByteArray"
2995         nparams 0
2996         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2998         
2999         
3000         
3001       end
3003       operation 128444 "defaultCubeColor"
3004         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3005         nparams 0
3006         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3008         
3009         
3010         
3011       end
3013       operation 128619 "backgroundColor"
3014         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3015         nparams 0
3016         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3018         
3019         
3020         
3021       end
3023       operation 129544 "setLanguage"
3024         abstract cpp_virtual public explicit_return_type "void"
3025         nparams 1
3026           param in name "lang" type class_ref 128440 // QString
3027         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3029         
3030         
3031         
3032       end
3034       operation 129800 "setGeometry"
3035         abstract cpp_virtual public explicit_return_type "void"
3036         nparams 1
3037           param in name "geom" explicit_type "QByteArray"
3038         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3040         
3041         
3042         
3043       end
3045       operation 128572 "setDefaultCubeColor"
3046         abstract cpp_virtual public explicit_return_type "void"
3047         nparams 1
3048           param in name "color" type class_ref 128253 // QColor
3049         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3051         
3052         
3053         
3054       end
3056       operation 128747 "setBackgroundColor"
3057         abstract cpp_virtual public explicit_return_type "void"
3058         nparams 1
3059           param in name "color" type class_ref 128253 // QColor
3060         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3062         
3063         
3064         
3065       end
3066     end
3068     class 130453 "SettingsManager"
3069       abstract visibility package 
3070       cpp_decl "${comment}${template}class ${name}${inherit} {
3071 ${members}};
3072 ${inlines}
3074       java_decl ""
3075       php_decl ""
3076       idl_decl ""
3077       explicit_switch_type ""
3078       
3079       operation 128904 "playersInfo"
3080         abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3081         nparams 0
3082         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3084         
3085         
3086         
3087       end
3089       operation 129032 "difficulty1"
3090         abstract const cpp_virtual public explicit_return_type "int"
3091         nparams 0
3092         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3094         
3095         
3096         
3097       end
3099       operation 129160 "difficulty2"
3100         abstract const cpp_virtual public explicit_return_type "int"
3101         nparams 0
3102         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3104         
3105         
3106         
3107       end
3109       operation 129672 "setPlayersInfo"
3110         abstract cpp_virtual public explicit_return_type "void"
3111         nparams 1
3112           param in name "info" explicit_type "QList<PlayerInfo>"
3113         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3115         
3116         
3117         
3118       end
3120       operation 128009 "setDifficulty1"
3121         abstract cpp_virtual public explicit_return_type "void"
3122         nparams 1
3123           param in name "d1" explicit_type "int"
3124         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3126         
3127         
3128         
3129       end
3131       operation 128137 "setDifficulty2"
3132         abstract cpp_virtual public explicit_return_type "void"
3133         nparams 1
3134           param in name "d2" explicit_type "int"
3135         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3137         
3138         
3139         
3140       end
3142       classrelation 129450 // <generalisation>
3143         relation 129450 ---|>
3144           a public
3145             cpp default "${type}"
3146             classrelation_ref 129450 // <generalisation>
3147           b parent class_ref 128426 // AbstractSettings
3148       end
3149     end
3151     class 128042 "LocalSettings"
3152       visibility package 
3153       cpp_decl "${comment}${template}class ${name}${inherit} {
3154 ${members}};
3155 ${inlines}
3157       java_decl ""
3158       php_decl ""
3159       idl_decl ""
3160       explicit_switch_type ""
3161       
3162       classrelation 129578 // <generalisation>
3163         relation 129578 ---|>
3164           a public
3165             cpp default "${type}"
3166             classrelation_ref 129578 // <generalisation>
3167           b parent class_ref 128298 // GUISettings
3168       end
3170       classrelation 129962 // <realization>
3171         relation 129962 -_-|>
3172           a public
3173             cpp default "${type}"
3174             classrelation_ref 129962 // <realization>
3175           b parent class_ref 130453 // SettingsManager
3176       end
3177     end
3179     class 128170 "ServerSettings"
3180       visibility package 
3181       cpp_decl "${comment}${template}class ${name}${inherit} {
3182 ${members}};
3183 ${inlines}
3185       java_decl ""
3186       php_decl ""
3187       idl_decl ""
3188       explicit_switch_type ""
3189       
3190       operation 128414 "serverPort"
3191         public explicit_return_type "quint16"
3192         nparams 0
3193         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3195         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3196   ${body}}
3198         
3199         
3200         
3201       end
3203       operation 128170 "timerDuration"
3204         const public explicit_return_type "int"
3205         nparams 0
3206         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3208         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3209   ${body}}
3211         
3212         
3213         
3214       end
3216       operation 128542 "setServerPort"
3217         public explicit_return_type "void"
3218         nparams 1
3219           param in name "port" explicit_type "quint16"
3220         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3222         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3223   ${body}}
3225         
3226         
3227         
3228       end
3230       operation 128298 "setTimerDuration"
3231         public explicit_return_type "void"
3232         nparams 1
3233           param in name "msec" explicit_type "int"
3234         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3236         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3237   ${body}}
3239         
3240         
3241         
3242       end
3244       classrelation 129706 // <generalisation>
3245         relation 129706 ---|>
3246           a public
3247             cpp default "${type}"
3248             classrelation_ref 129706 // <generalisation>
3249           b parent class_ref 128298 // GUISettings
3250       end
3252       classrelation 129834 // <realization>
3253         relation 129834 -_-|>
3254           a public
3255             cpp default "${type}"
3256             classrelation_ref 129834 // <realization>
3257           b parent class_ref 130453 // SettingsManager
3258       end
3259     end
3261     class 128298 "GUISettings"
3262       visibility package 
3263       cpp_decl "${comment}${template}class ${name}${inherit} {
3264 ${members}};
3265 ${inlines}
3267       java_decl ""
3268       php_decl ""
3269       idl_decl ""
3270       explicit_switch_type ""
3271       
3272       classrelation 129194 // <realization>
3273         relation 129194 -_-|>
3274           a public
3275             cpp default "${type}"
3276             classrelation_ref 129194 // <realization>
3277           b parent class_ref 128426 // AbstractSettings
3278       end
3280       classrelation 129322 // <generalisation>
3281         relation 129322 ---|>
3282           stereotype "protected"
3283           a protected
3284             cpp default "${type}"
3285             classrelation_ref 129322 // <generalisation>
3286           b parent class_ref 128008 // QSettings
3287       end
3288     end
3290     class 128334 "QTcpSocket"
3291       visibility package 
3292       cpp_decl "${comment}${template}class ${name}${inherit} {
3293 ${members}};
3294 ${inlines}
3296       java_decl ""
3297       php_decl ""
3298       idl_decl ""
3299       explicit_switch_type ""
3300       
3301       operation 128027 "connected"
3302         stereotype "signal"
3303         protected explicit_return_type "void"
3304         nparams 0
3305         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3307         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3308   ${body}}
3310         
3311         
3312         
3313       end
3315       operation 128462 "error"
3316         stereotype "signal"
3317         protected explicit_return_type "void"
3318         nparams 1
3319           param in name "socketError" explicit_type "QAbstractSocket::SocketError"
3320         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3322         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3323   ${body}}
3325         
3326         
3327         
3328       end
3330       operation 128590 "readyRead"
3331         stereotype "signal"
3332         protected explicit_return_type "void"
3333         nparams 0
3334         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3336         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3337   ${body}}
3339         
3340         
3341         
3342         comment "generalmente connesso allo slot StreamSocket::parseData()"
3343       end
3344     end
3346     class 128206 "QTcpServer"
3347       visibility package 
3348       cpp_decl "${comment}${template}class ${name}${inherit} {
3349 ${members}};
3350 ${inlines}
3352       java_decl ""
3353       php_decl ""
3354       idl_decl ""
3355       explicit_switch_type ""
3356       
3357       operation 128334 "newConnection"
3358         stereotype "signal"
3359         protected explicit_return_type "void"
3360         nparams 0
3361         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3363         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3364   ${body}}
3366         
3367         
3368         
3369       end
3370     end
3372     class 128718 "QHostAddress"
3373       visibility package 
3374       cpp_decl "${comment}${template}class ${name}${inherit} {
3375 ${members}};
3376 ${inlines}
3378       java_decl ""
3379       php_decl ""
3380       idl_decl ""
3381       explicit_switch_type ""
3382       
3383     end
3385     class 128078 "QHostInfo"
3386       visibility package 
3387       cpp_decl "${comment}${template}class ${name}${inherit} {
3388 ${members}};
3389 ${inlines}
3391       java_decl ""
3392       php_decl ""
3393       idl_decl ""
3394       explicit_switch_type ""
3395       
3396     end
3398     class 128462 "QXmlStreamReader"
3399       visibility package 
3400       cpp_decl "${comment}${template}class ${name}${inherit} {
3401 ${members}};
3402 ${inlines}
3404       java_decl ""
3405       php_decl ""
3406       idl_decl ""
3407       explicit_switch_type ""
3408       
3409     end
3411     class 128590 "QXmlStreamWriter"
3412       visibility package 
3413       cpp_decl "${comment}${template}class ${name}${inherit} {
3414 ${members}};
3415 ${inlines}
3417       java_decl ""
3418       php_decl ""
3419       idl_decl ""
3420       explicit_switch_type ""
3421       
3422     end
3424     class 128030 "StreamSocket"
3425       visibility package 
3426       cpp_decl "${comment}${template}class ${name}${inherit} {
3427 ${members}};
3428 ${inlines}
3430       java_decl ""
3431       php_decl ""
3432       idl_decl ""
3433       explicit_switch_type ""
3434       
3435       operation 128854 "StreamSocket"
3436         public explicit_return_type ""
3437         nparams 1
3438           param in name "socket" type class_ref 128334 // QTcpSocket
3439         cpp_decl "    ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
3441         cpp_def "${comment}${inline}${class}::${name}${(}const ${t0} & ${p0}${)}${volatile}${throw} {
3442   ${body}}
3444         
3445         
3446         
3447       end
3449       classrelation 128158 // <generalisation>
3450         relation 128158 ---|>
3451           stereotype "protected"
3452           a private
3453             cpp default "${type}"
3454             classrelation_ref 128158 // <generalisation>
3455           b parent class_ref 128462 // QXmlStreamReader
3456       end
3458       classrelation 128286 // <generalisation>
3459         relation 128286 ---|>
3460           stereotype "protected"
3461           a private
3462             cpp default "${type}"
3463             classrelation_ref 128286 // <generalisation>
3464           b parent class_ref 128590 // QXmlStreamWriter
3465       end
3467       classrelation 128414 // <directional composition>
3468         relation 128414 *-->
3469           a role_name "" protected
3470             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3472             classrelation_ref 128414 // <directional composition>
3473           b parent class_ref 128334 // QTcpSocket
3474       end
3476       operation 128153 "changeState"
3477         protected explicit_return_type "void"
3478         nparams 1
3479           param in name "state" explicit_type "ProtocolState"
3480         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3482         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3483   ${body}}
3485         
3486         
3487         
3488       end
3490       operation 128340 "sendChatMsg"
3491         stereotype "slot"
3492         public explicit_return_type "void"
3493         nparams 1
3494           param in name "msg" type class_ref 128440 // QString
3495         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3497         
3498         
3499         
3500       end
3502       operation 128468 "sendMove"
3503         stereotype "slot"
3504         public explicit_return_type "void"
3505         nparams 1
3506           param in name "move" type class_ref 129301 // Move
3507         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3509         
3510         
3511         
3512       end
3514       operation 128025 "openStream"
3515         stereotype "slot"
3516         cpp_virtual protected explicit_return_type "void"
3517         nparams 0
3518         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3520         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3521   ${body}}
3523         
3524         
3525         
3526       end
3528       operation 128114 "closeStream"
3529         stereotype "slot"
3530         cpp_virtual protected explicit_return_type "void"
3531         nparams 0
3532         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3534         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3535   ${body}}
3537         
3538         
3539         
3540       end
3542       operation 128754 "handleError"
3543         stereotype "slot"
3544         cpp_virtual protected explicit_return_type "void"
3545         nparams 1
3546           param in name "error" explicit_type "QAbstractSocket::SocketError"
3547         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3549         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3550   ${body}}
3552         
3553         
3554         
3555         comment "connesso al segnale error() del proprio QTcpSocket."
3556       end
3558       operation 128086 "parseData"
3559         stereotype "slot"
3560         cpp_virtual protected explicit_return_type "void"
3561         nparams 0
3562         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3564         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3565   ${body}}
3567         
3568         
3569         
3570         comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3571       end
3573       operation 128846 "playerJoined"
3574         stereotype "signal"
3575         protected explicit_return_type "void"
3576         nparams 3
3577           param in name "id" explicit_type "int"
3578           param in name "name" type class_ref 128440 // QString
3579           param in name "type" type class_ref 128440 // QString
3580         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${const}${volatile}${throw}${abstract};
3582         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3583   ${body}}
3585         
3586         
3587         
3588       end
3590       operation 128882 "playerLeft"
3591         stereotype "signal"
3592         protected explicit_return_type "void"
3593         nparams 1
3594           param in name "id" explicit_type "int"
3595         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3597         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3598   ${body}}
3600         
3601         
3602         
3603       end
3605       operation 128956 "receivedChatMsg"
3606         stereotype "signal"
3607         protected explicit_return_type "void"
3608         nparams 1
3609           param in name "msg" type class_ref 128440 // QString
3610         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3612         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3613   ${body}}
3615         
3616         
3617         
3618       end
3620       operation 128363 "receivedMove"
3621         stereotype "signal"
3622         protected explicit_return_type "void"
3623         nparams 1
3624           param in name "move" type class_ref 129301 // Move
3625         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3627         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3628   ${body}}
3630         
3631         
3632         
3633       end
3635       attribute 128025 "_supportedProtocolVersion"
3636         class_attribute const_attribute protected type class_ref 128440 // QString
3637         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3639         java_decl ""
3640         php_decl ""
3641         idl_decl ""
3642       end
3644       attribute 128030 "_socket"
3645         protected type class_ref 128334 // QTcpSocket
3646         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3648         java_decl ""
3649         php_decl ""
3650         idl_decl ""
3651       end
3653       attribute 128155 "_state"
3654         private explicit_type "ProtocolState"
3655         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3657         java_decl ""
3658         php_decl ""
3659         idl_decl ""
3660       end
3662       operation 129266 "startGame"
3663         stereotype "signal"
3664         protected explicit_return_type "void"
3665         nparams 0
3666         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3668         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3669   ${body}}
3671         
3672         
3673         
3674       end
3675     end
3677     class 128027 "ClientSocket"
3678       visibility package 
3679       cpp_decl "${comment}${template}class ${name}${inherit} {
3680 ${members}};
3681 ${inlines}
3683       java_decl ""
3684       php_decl ""
3685       idl_decl ""
3686       explicit_switch_type ""
3687       
3688       classrelation 128539 // <generalisation>
3689         relation 128411 ---|>
3690           a protected
3691             cpp default "${type}"
3692             classrelation_ref 128539 // <generalisation>
3693           b parent class_ref 128030 // StreamSocket
3694       end
3696       operation 128426 "joinGame"
3697         stereotype "slot"
3698         public explicit_return_type "void"
3699         nparams 2
3700           param in name "mode" type class_ref 128440 // QString
3701           param in name "name" type class_ref 128440 // QString
3702         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3704         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3705   ${body}}
3707         
3708         
3709         
3710       end
3712       operation 128124 "cancelJoin"
3713         stereotype "slot"
3714         public explicit_return_type "void"
3715         nparams 0
3716         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3718         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3719   ${body}}
3721         
3722         
3723         
3724       end
3726       operation 128370 "parseData"
3727         stereotype "slot"
3728         cpp_virtual protected explicit_return_type "void"
3729         nparams 0
3730         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3732         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3733   ${body}}
3735         
3736         
3737         
3738         comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3739       end
3741       operation 129010 "joinAccepted"
3742         stereotype "signal"
3743         protected explicit_return_type "void"
3744         nparams 1
3745           param in name "id" explicit_type "int"
3746         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3748         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3749   ${body}}
3751         
3752         
3753         
3754       end
3756       operation 129138 "joinRefused"
3757         stereotype "signal"
3758         protected explicit_return_type "void"
3759         nparams 1
3760           param inout name "cause" explicit_type "int"
3761         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3763         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3764   ${body}}
3766         
3767         
3768         
3769       end
3771       operation 128030 "receivedGameSettings"
3772         stereotype "signal"
3773         protected explicit_return_type "void"
3774         nparams 4
3775           param in name "d1" explicit_type "int"
3776           param in name "d2" explicit_type "int"
3777           param in name "timer" explicit_type "int"
3778           param in name "playing" explicit_type "bool"
3779         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}, ${t3} ${p3}${)}${const}${volatile}${throw}${abstract};
3781         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3782   ${body}}
3784         
3785         
3786         
3787       end
3789       operation 128380 "receivedHistory"
3790         stereotype "signal"
3791         protected explicit_return_type "void"
3792         nparams 1
3793           param in name "history" explicit_type "QList<Move>"
3794         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3796         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3797   ${body}}
3799         
3800         
3801         
3802       end
3803     end
3805     class 128155 "ServerSocket"
3806       visibility package 
3807       cpp_decl "${comment}${template}class ${name}${inherit} {
3808 ${members}};
3809 ${inlines}
3811       java_decl ""
3812       php_decl ""
3813       idl_decl ""
3814       explicit_switch_type ""
3815       
3816       classrelation 128667 // <generalisation>
3817         relation 128539 ---|>
3818           a protected
3819             cpp default "${type}"
3820             classrelation_ref 128667 // <generalisation>
3821           b parent class_ref 128030 // StreamSocket
3822       end
3824       operation 130301 "acceptJoin"
3825         stereotype "slot"
3826         public explicit_return_type "void"
3827         nparams 1
3828           param in name "id" explicit_type "int"
3829         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3831         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3832   ${body}}
3834         
3835         
3836         
3837       end
3839       operation 130429 "refuseJoin"
3840         stereotype "slot"
3841         public explicit_return_type "void"
3842         nparams 1
3843           param in name "cause" explicit_type "int"
3844         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3846         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3847   ${body}}
3849         
3850         
3851         
3852       end
3854       operation 128042 "sendGameSettings"
3855         stereotype "slot"
3856         public explicit_return_type "void"
3857         nparams 4
3858           param in name "d1" explicit_type "int"
3859           param in name "d2" explicit_type "int"
3860           param in name "timer" explicit_type "int"
3861           param in name "playing" explicit_type "bool"
3862         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3864         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3865   ${body}}
3867         
3868         
3869         
3870       end
3872       operation 128252 "sendHistory"
3873         stereotype "slot"
3874         public explicit_return_type "void"
3875         nparams 1
3876           param in name "history" explicit_type "QList<Move>"
3877         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3879         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3880   ${body}}
3882         
3883         
3884         
3885       end
3887       operation 128075 "sendPlayerJoined"
3888         stereotype "slot"
3889         public explicit_return_type "void"
3890         nparams 3
3891           param in name "id" explicit_type "int"
3892           param in name "name" type class_ref 128440 // QString
3893           param in name "type" type class_ref 128440 // QString
3894         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3896         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3897   ${body}}
3899         
3900         
3901         
3902       end
3904       operation 128203 "sendPlayerLeft"
3905         stereotype "slot"
3906         public explicit_return_type "void"
3907         nparams 1
3908           param in name "id" explicit_type "int"
3909         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3911         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3912   ${body}}
3914         
3915         
3916         
3917       end
3919       operation 129394 "sendStartGame"
3920         stereotype "slot"
3921         public explicit_return_type "void"
3922         nparams 0
3923         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3925         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3926   ${body}}
3928         
3929         
3930         
3931       end
3933       operation 128498 "parseData"
3934         stereotype "slot"
3935         cpp_virtual protected explicit_return_type "void"
3936         nparams 0
3937         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3939         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3940   ${body}}
3942         
3943         
3944         
3945         comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3946       end
3948       operation 130557 "joinRequested"
3949         stereotype "signal"
3950         protected explicit_return_type "void"
3951         nparams 2
3952           param in name "mode" type class_ref 128440 // QString
3953           param in name "name" type class_ref 128440 // QString
3954         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3956         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3957   ${body}}
3959         
3960         
3961         
3962       end
3963     end
3965     class 128070 "ProtocolState"
3966       visibility package stereotype "enum"
3967       cpp_decl "${comment}enum ${name} {
3968 ${items}
3971       java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
3972 ${items};
3973 ${members}}
3975       php_decl "${comment}final ${visibility}class ${name} {
3976 ${items}}
3978       idl_decl "${comment}enum ${name} {
3979 ${items}};
3981       explicit_switch_type ""
3982       
3983       attribute 128070 "Unconnected"
3984         public type class_ref 128070 // ProtocolState
3985         cpp_decl "  ${name}${value},${comment}"
3986         java_decl ""
3987         php_decl ""
3988         idl_decl ""
3989       end
3991       attribute 128198 "Listening"
3992         public type class_ref 128070 // ProtocolState
3993         cpp_decl "  ${name}${value},${comment}"
3994         java_decl ""
3995         php_decl ""
3996         idl_decl ""
3997       end
3999       attribute 128326 "Connecting"
4000         public type class_ref 128070 // ProtocolState
4001         cpp_decl "  ${name}${value},${comment}"
4002         java_decl ""
4003         php_decl ""
4004         idl_decl ""
4005       end
4007       attribute 128454 "Connected"
4008         public type class_ref 128070 // ProtocolState
4009         cpp_decl "  ${name}${value},${comment}"
4010         java_decl ""
4011         php_decl ""
4012         idl_decl ""
4013       end
4015       attribute 128582 "OpeningStream"
4016         public type class_ref 128070 // ProtocolState
4017         cpp_decl "  ${name}${value},${comment}"
4018         java_decl ""
4019         php_decl ""
4020         idl_decl ""
4021       end
4023       attribute 128710 "FullyOpened"
4024         public type class_ref 128070 // ProtocolState
4025         cpp_decl "  ${name}${value},${comment}"
4026         java_decl ""
4027         php_decl ""
4028         idl_decl ""
4029       end
4031       attribute 128838 "Idle"
4032         public type class_ref 128070 // ProtocolState
4033         cpp_decl "  ${name}${value},${comment}"
4034         java_decl ""
4035         php_decl ""
4036         idl_decl ""
4037       end
4039       attribute 128116 "AwaitingJoinRequest"
4040         public type class_ref 128070 // ProtocolState
4041         cpp_decl "  ${name}${value},${comment}"
4042         java_decl ""
4043         php_decl ""
4044         idl_decl ""
4045       end
4047       attribute 128244 "AwaitingJoinAnswer"
4048         public type class_ref 128070 // ProtocolState
4049         cpp_decl "  ${name}${value},${comment}"
4050         java_decl ""
4051         php_decl ""
4052         idl_decl ""
4053       end
4055       attribute 128372 "AwaitingPlayers"
4056         public type class_ref 128070 // ProtocolState
4057         cpp_decl "  ${name}${value},${comment}"
4058         java_decl ""
4059         php_decl ""
4060         idl_decl ""
4061       end
4063       attribute 128500 "AwaitingGameStart"
4064         public type class_ref 128070 // ProtocolState
4065         cpp_decl "  ${name}${value},${comment}"
4066         java_decl ""
4067         php_decl ""
4068         idl_decl ""
4069       end
4071       attribute 128628 "Playing"
4072         public type class_ref 128070 // ProtocolState
4073         cpp_decl "  ${name}${value},${comment}"
4074         java_decl ""
4075         php_decl ""
4076         idl_decl ""
4077       end
4079       attribute 128756 "AwaitingMove"
4080         public type class_ref 128070 // ProtocolState
4081         cpp_decl "  ${name}${value},${comment}"
4082         java_decl ""
4083         php_decl ""
4084         idl_decl ""
4085       end
4087       attribute 128884 "Closing"
4088         public type class_ref 128070 // ProtocolState
4089         cpp_decl "  ${name}${value},${comment}"
4090         java_decl ""
4091         php_decl ""
4092         idl_decl ""
4093       end
4095       attribute 129012 "Closed"
4096         public type class_ref 128070 // ProtocolState
4097         cpp_decl "  ${name}${value},${comment}"
4098         java_decl ""
4099         php_decl ""
4100         idl_decl ""
4101       end
4102     end
4104     class 128054 "QMap"
4105       visibility package 
4106       nformals 2
4107       formal name "K" type "typename" explicit_default_value ""
4108         explicit_extends ""
4109       formal name "T" type "typename" explicit_default_value ""
4110         explicit_extends ""
4111       cpp_decl "${comment}${template}class ${name}${inherit} {
4112 ${members}};
4113 ${inlines}
4115       java_decl ""
4116       php_decl ""
4117       idl_decl ""
4118       explicit_switch_type ""
4119       
4120     end
4122     class 128182 "QList"
4123       visibility package 
4124       nformals 1
4125       formal name "T" type "typename" explicit_default_value ""
4126         explicit_extends ""
4127       cpp_decl "${comment}${template}class ${name}${inherit} {
4128 ${members}};
4129 ${inlines}
4131       java_decl ""
4132       php_decl ""
4133       idl_decl ""
4134       explicit_switch_type ""
4135       
4136     end
4138     class 128075 "QLinkedList"
4139       visibility package 
4140       nformals 1
4141       formal name "T" type "typename" explicit_default_value ""
4142         explicit_extends ""
4143       cpp_decl "${comment}${template}class ${name}${inherit} {
4144 ${members}};
4145 ${inlines}
4147       java_decl ""
4148       php_decl ""
4149       idl_decl ""
4150       explicit_switch_type ""
4151       
4152     end
4153   end
4155   package_ref 128002 // GUI
4157   package_ref 128258 // Core
4159   package_ref 128130 // Network
4161   package_ref 128386 // AI