Some little changes to PSM diagrams.
[GoMoku3D.git] / network_diagram / network_diagram.prj
blob512c42c8b49df09cb2f03a077d0ee4b385a0e1c5
1 format 49
2 "network_diagram"
3   revision 55
4   modified_by 70 "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     classdiagram 128021 "Global"
56       draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default 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
57       size A3
58     end
60     classdiagram 128149 "PlayerDiagram"
61       draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default 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
62       size A4
63     end
65     classdiagram 128393 "GUIDiagram"
66       draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default 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
67       size A3
68     end
70     classdiagram 128521 "CoreDiagram"
71       draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default 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
72       size A3
73     end
75     classdiagram 128078 "NetworkDiagram"
76       draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default 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
77       size A3
78     end
80     state 129163 "NetworkProtocol"
81       stereotype "machine"
82       statediagram 128114 "ClientSide"
83         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
84         show_activities yes region_horizontally default drawing_language default
85         size A3
86       end
88       statediagram 128206 "ServerSide"
89         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
90         show_activities yes region_horizontally default drawing_language default
91         size A3
92       end
94       pseudostate 128114 initial 
95         transition 128114 "<transition>"
96           on state_ref 128067 // Unconnected
97           external 
98         end
99       end
101       state 128067 "Unconnected"
102         transition 128323 "<transition>"
103           on state_ref 128195 // Connecting
104             uml_trigger "connectToHost()"
105           external 
106         end
108         transition 128525 "<transition>"
109           on state_ref 128078 // Listening
110             uml_trigger "listen()"
111           external 
112         end
113       end
115       state 128078 "Listening"
116         transition 128926 "<transition>"
117           on state_ref 128158 // Connected
118             uml_trigger "newConnection()"
119             uml_expr "handleIncomingConnection()"
120           external 
121         end
122       end
124       state 128195 "Connecting"
125         transition 128370 "<transition>"
126           on state_ref 128114 // Opening Stream
127             uml_trigger "[connected] openStream()"
128           external 
129         end
130       end
132       state 128158 "Connected"
133         transition 129453 "<transition>"
134           on state_ref 128114 // Opening Stream
135             uml_trigger "openStream()"
136           external 
137         end
138       end
140       state 128114 "Opening Stream"
141         transition 128498 "<transition>"
142           on state_ref 128365 // Closing
143             uml_trigger "received protocol version
145             uml_guard "not supported"
146           external 
147         end
149         transition 128626 "<transition>"
150           on state_ref 128242 // Fully Opened
151             uml_trigger "received protocol version
153             uml_guard "supported"
154           external 
155         end
156       end
158       state 128242 "Fully Opened"
159         transition 129522 "<transition>"
160           on state_ref 128754 // Idle
161             uml_trigger "[received <settings>]
162 receivedGameSettings()"
163           external 
164         end
166         transition 129325 "<transition>"
167           on state_ref 129197 // Awaiting Join Request
168             uml_trigger "sendGameSettings()"
169           external 
170         end
171       end
173       state 128754 "Idle"
174           uml_do_activity "playerJoined()
175 do / playerLeft()"
176         transition 129650 "<transition>"
177           on state_ref 128498 // Awaiting Join Answer
178             uml_trigger "joinGame()"
179           external 
180         end
182         transition 128008 "<transition>"
183           on state_ref 128365 // Closing
184             uml_trigger "cancel"
185           external 
186         end
187       end
189       state 129197 "Awaiting Join Request"
190           uml_do_activity "sendPlayerJoined()
191 do / sendPlayerLeft()
192 join request / [name already used] refuseJoin()"
193         transition 128013 "<transition>"
194           on pseudostate_ref 128013 // junction
195             uml_trigger "join request"
196             uml_expr "acceptJoin()"
197           external 
198         end
200         transition 128070 "<transition>"
201           on state_ref 129197 // Awaiting Join Request
202             uml_trigger "join request"
203             uml_guard "player mode and
204 game already in progress"
205             uml_expr "
206 refuseJoin()"
207         end
208       end
210       state 128498 "Awaiting Join Answer"
211           uml_do_activity "playerJoined()
212 do / playerLeft()"
213         transition 129266 "<transition>"
214           on state_ref 128626 // Awaiting Game Start
215             uml_trigger "[received <joinACK>]
216 joinAccepted()"
217           external 
218         end
220         transition 129778 "<transition>"
221           on state_ref 128754 // Idle
222             uml_trigger "[received <joinNAK>] joinRefused()"
223           external 
224         end
226         transition 129020 "<transition>"
227           on state_ref 128754 // Idle
228             uml_trigger "cancelJoin()"
229           external 
230         end
231       end
233       state 128075 "Awaiting Players"
234           uml_do_activity "sendPlayerJoined()
235 do / sendPlayerLeft()"
236         transition 128459 "<transition>"
237           on state_ref 128109 // Playing
238             uml_trigger "all players have joined or
239 game already in progress"
240             uml_expr "
241 sendStartGame()"
242           external 
243         end
245         transition 129227 "<transition>"
246           on state_ref 129197 // Awaiting Join Request
247             uml_trigger "join cancelled"
248             uml_expr "sendPlayerLeft()"
249           external 
250         end
251       end
253       state 128626 "Awaiting Game Start"
254           uml_do_activity "playerJoined()
255 do / playerLeft()
256 do / receivedHistory()"
257         transition 129394 "<transition>"
258           on state_ref 128109 // Playing
259             uml_trigger "[received <startGame>]
260 startGame()"
261           external 
262         end
264         transition 128892 "<transition>"
265           on state_ref 128754 // Idle
266             uml_trigger "cancelJoin()"
267           external 
268         end
269       end
271       state 128109 "Playing"
272         transition 128237 "<transition>"
273           on state_ref 128237 // Awaiting Move
274             uml_trigger "requestMove()"
275           external 
276         end
278         transition 129005 "<transition>"
279           on state_ref 128365 // Closing
280             uml_trigger "game terminated"
281           external 
282         end
284         transition 128198 "<transition>"
285           on state_ref 128109 // Playing
286             uml_trigger "local player moved"
287             uml_expr "sendMove()"
288         end
289       end
291       state 128237 "Awaiting Move"
292         transition 129261 "<transition>"
293           on state_ref 128109 // Playing
294             uml_trigger "move received"
295             uml_expr "notifyMove()"
296           external 
297         end
298       end
300       state 128365 "Closing"
301         transition 130379 "<transition>"
302           on state_ref 129355 // Closed
303             uml_trigger "closeStream()"
304           external 
305         end
306       end
308       state 129355 "Closed"
309         transition 130507 "<transition>"
310           on pseudostate_ref 128334 // final
311           external 
312         end
313       end
315       pseudostate 128013 junction 
316         transition 128141 "<transition>"
317           on state_ref 128075 // Awaiting Players
318           external 
319         end
321         transition 128269 "<transition>"
322           on state_ref 128075 // Awaiting Players
323             uml_guard "spectator mode and
324 game already in progress"
325             uml_expr "
326 sendHistory()"
327           external 
328         end
329       end
331       pseudostate 128334 final 
332       end
333     end
335     class 128019 "QMainWindow"
336       visibility package 
337       cpp_decl ""
338       java_decl ""
339       php_decl ""
340       idl_decl ""
341       explicit_switch_type ""
342       
343     end
345     class 128917 "MainWindow"
346       visibility package 
347       cpp_decl ""
348       java_decl ""
349       php_decl ""
350       idl_decl ""
351       explicit_switch_type ""
352       
353       attribute 129301 "_loop"
354         private type class_ref 130325 // GameLoop
355         cpp_decl ""
356         java_decl ""
357         php_decl ""
358         idl_decl ""
359       end
361       attribute 129173 "_net"
362         private type class_ref 130069 // Network
363         cpp_decl ""
364         java_decl ""
365         php_decl ""
366         idl_decl ""
367       end
369       attribute 129429 "_settings"
370         private type class_ref 130453 // SettingsManager
371         cpp_decl ""
372         java_decl ""
373         php_decl ""
374         idl_decl ""
375       end
377       attribute 128040 "_playersInfo"
378         private explicit_type "QMap<int,PlayerInfo>"
379         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
381         java_decl ""
382         php_decl ""
383         idl_decl ""
384       end
386       attribute 128637 "_suggester"
387         private type class_ref 129720 // Suggester
388         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
390         java_decl ""
391         php_decl ""
392         idl_decl ""
393       end
395       attribute 128149 "_render"
396         private type class_ref 128661 // RenderWidget
397         cpp_decl ""
398         java_decl ""
399         php_decl ""
400         idl_decl ""
401       end
403       attribute 128277 "_chat"
404         private type class_ref 128789 // ChatWidget
405         cpp_decl ""
406         java_decl ""
407         php_decl ""
408         idl_decl ""
409       end
411       attribute 129848 "_timer"
412         private type class_ref 128381 // TimerWidget
413         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
415         java_decl ""
416         php_decl ""
417         idl_decl ""
418       end
420       operation 128175 "loadGame"
421         public explicit_return_type "bool"
422         nparams 1
423           param in name "fileName" type class_ref 128440 // QString
424         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
426         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
427   ${body}}
429         
430         
431         
432       end
434       operation 128047 "saveGame"
435         public explicit_return_type "bool"
436         nparams 1
437           param in name "fileName" type class_ref 128440 // QString
438         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
440         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
441   ${body}}
443         
444         
445         
446       end
448       classrelation 128917 // <directional composition>
449         relation 128917 *-->
450           a role_name "" multiplicity "0..1" protected
451             classrelation_ref 128917 // <directional composition>
452           b parent class_ref 128789 // ChatWidget
453       end
455       classrelation 129045 // <directional composition>
456         relation 129045 *-->
457           a role_name "" multiplicity "0..1" protected
458             classrelation_ref 129045 // <directional composition>
459           b parent class_ref 128661 // RenderWidget
460       end
462       classrelation 128019 // <generalisation>
463         relation 128019 ---|>
464           a public
465             classrelation_ref 128019 // <generalisation>
466           b parent class_ref 128019 // QMainWindow
467       end
469       classrelation 128440 // <directional composition>
470         relation 128440 *-->
471           a role_name "" multiplicity "0..1" protected
472             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
474             classrelation_ref 128440 // <directional composition>
475           b parent class_ref 130069 // Network
476       end
478       classrelation 128568 // <directional composition>
479         relation 128568 *-->
480           a role_name "" protected
481             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
483             classrelation_ref 128568 // <directional composition>
484           b parent class_ref 129941 // AI
485       end
487       classrelation 128264 // <directional composition>
488         relation 128264 *-->
489           a role_name "" protected
490             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
492             classrelation_ref 128264 // <directional composition>
493           b parent class_ref 130453 // SettingsManager
494       end
496       classrelation 128262 // <directional composition>
497         relation 128262 *-->
498           a role_name "" protected
499             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
501             classrelation_ref 128262 // <directional composition>
502           b parent class_ref 130325 // GameLoop
503       end
505       operation 128392 "turn"
506         stereotype "slot"
507         public explicit_return_type "void"
508         nparams 1
509           param in name "player" type class_ref 129045 // Player
510         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
512         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
513   ${body}}
515         
516         
517         
518       end
520       operation 128361 "drawMove"
521         stereotype "slot"
522         public explicit_return_type "void"
523         nparams 1
524           param in name "move" type class_ref 129301 // Move
525         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
527         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
528   ${body}}
530         
531         
532         
533         comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
534       end
536       operation 128060 "undoMoves"
537         stereotype "slot"
538         public explicit_return_type "void"
539         nparams 1
540           param in name "index" explicit_type "QModelIndex"
541         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
543         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
544   ${body}}
546         
547         
548         
549         comment "disattiva la possibilità da parte dell'utente di eseguire mosse
550 resetta su render e game matrix le caselle indicate nella lista index+1..n
551 invoca setLastRound(index-2...index) su game matrix
552 setta su GameLoop il turno con setTurn(index+1.id())
553 toglie gli elementi index+1..n dalla history
554 invoca notifyMove(Point_null)
556       end
558       operation 128700 "showPastGameStatus"
559         stereotype "slot"
560         public explicit_return_type "void"
561         nparams 1
562           param in name "index" explicit_type "QModelIndex"
563         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
565         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
566   ${body}}
568         
569         
570         
571         comment "vedi pesablock, Ã¨ il gestore dell'evento history::clicked"
572       end
574       attribute 129976 "_history"
575         private type class_ref 129848 // HistoryModel
576         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
578         java_decl ""
579         php_decl ""
580         idl_decl ""
581       end
583       classrelation 130744 // <directional composition>
584         relation 130744 *-->
585           a role_name "" protected
586             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
588             classrelation_ref 130744 // <directional composition>
589           b parent class_ref 129848 // HistoryModel
590       end
592       attribute 130232 "_gameMatrix"
593         private type class_ref 129557 // GameMatrix
594         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
596         java_decl ""
597         php_decl ""
598         idl_decl ""
599       end
601       attribute 128381 "_playersWidget"
602         private type class_ref 129021 // PlayersWidget
603         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
605         java_decl ""
606         php_decl ""
607         idl_decl ""
608       end
610       classrelation 129533 // <directional composition>
611         relation 129533 *-->
612           a role_name "" multiplicity "0..1" protected
613             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
615             classrelation_ref 129533 // <directional composition>
616           b parent class_ref 129720 // Suggester
617       end
619       classrelation 128316 // <directional composition>
620         relation 128316 *-->
621           a role_name "" multiplicity "0..1" protected
622             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
624             classrelation_ref 128316 // <directional composition>
625           b parent class_ref 128381 // TimerWidget
626       end
628       classrelation 128572 // <directional composition>
629         relation 128572 *-->
630           a role_name "" protected
631             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
633             classrelation_ref 128572 // <directional composition>
634           b parent class_ref 129021 // PlayersWidget
635       end
637       classrelation 128700 // <directional composition>
638         relation 128700 *-->
639           a role_name "" protected
640             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
642             classrelation_ref 128700 // <directional composition>
643           b parent class_ref 128893 // QTableView
644       end
646       attribute 128188 "_historyView"
647         private type class_ref 128893 // QTableView
648         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
650         java_decl ""
651         php_decl ""
652         idl_decl ""
653       end
655       operation 129206 "newStandAloneGame"
656         stereotype "slot"
657         public explicit_return_type "void"
658         nparams 0
659         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
661         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
662   ${body}}
664         
665         
666         
667       end
669       classrelation 128054 // <unidirectional association>
670         relation 128054 --->
671           a role_name "" multiplicity "0..3" private
672             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
674             classrelation_ref 128054 // <unidirectional association>
675           b parent class_ref 129976 // PlayerInfo
676       end
678       operation 128020 "playerWin"
679         stereotype "slot"
680         public explicit_return_type "void"
681         nparams 1
682           param in name "playerId" explicit_type "int"
683         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
685         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
686   ${body}}
688         
689         
690         
691       end
693       operation 128276 "playersDraw"
694         stereotype "slot"
695         public explicit_return_type "void"
696         nparams 1
697           param in name "playersIds" explicit_type "QList<int>"
698         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
700         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
701   ${body}}
703         
704         
705         
706       end
708       operation 130360 "forceMove"
709         stereotype "signal"
710         public explicit_return_type "void"
711         nparams 0
712         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
714         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
715   ${body}}
717         
718         
719         
720       end
721     end
723     class 128661 "RenderWidget"
724       visibility package 
725       cpp_decl "${comment}${template}class ${name}${inherit} {
726 ${members}};
727 ${inlines}
729       java_decl ""
730       php_decl ""
731       idl_decl ""
732       explicit_switch_type ""
733       
734       associated_diagram classdiagram_ref 128021 // Global
735       operation 128105 "RenderWidget"
736         public explicit_return_type ""
737         nparams 3
738           param in name "dim" explicit_type "int"
739           param in name "lock" type class_ref 130709 // SyncSharedCondition
740           param in name "defaultCubeColor" type class_ref 128253 // QColor
741         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
743         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
744   ${body}}
746         
747         
748         
749       end
751       attribute 128060 "DefaultCubeColor"
752         class_attribute const_attribute public type class_ref 128253 // QColor
753         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
755         java_decl ""
756         php_decl ""
757         idl_decl ""
758       end
760       classrelation 128277 // <generalisation>
761         relation 128277 ---|>
762           a public
763             classrelation_ref 128277 // <generalisation>
764           b parent class_ref 128533 // QWidget
765       end
767       operation 128824 "drawMove"
768         public explicit_return_type "bool"
769         nparams 2
770           param in name "p" type class_ref 129173 // Point
771           param in name "c" explicit_type "QColor"
772         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
774         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
775   ${body}}
777         
778         
779         
780         comment "true se la mossa Ã¨ valida altrimenti false
782       end
784       attribute 128006 "_scene"
785         private type class_ref 129685 // SceneGraph
786         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
788         java_decl ""
789         php_decl ""
790         idl_decl ""
791       end
793       classrelation 128006 // <directional composition>
794         relation 128006 *-->
795           a role_name "" protected
796             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
798             classrelation_ref 128006 // <directional composition>
799           b parent class_ref 129685 // SceneGraph
800       end
802       attribute 129001 "_acceptMove"
803         private explicit_type "bool"
804         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
806         java_decl ""
807         php_decl ""
808         idl_decl ""
809       end
811       operation 129385 "acceptMove"
812         public explicit_return_type "void"
813         nparams 1
814           param in name "value" explicit_type "bool"
815         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
817         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
818   ${body}}
820         
821         
822         
823       end
825       operation 128828 "uncheckedDraw"
826         public explicit_return_type "void"
827         nparams 2
828           param in name "pointList" explicit_type "QList<Point>"
829           param in name "colorList" explicit_type "QList<QColor>"
830             defaultvalue "0"
831         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
833         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
834   ${body}}
836         
837         
838         
839         comment "se colorList==0 allora usa defaultCubeColor"
840       end
842       operation 131000 "highlightSuggested"
843         stereotype "slot"
844         public explicit_return_type "void"
845         nparams 1
846           param in name "point" type class_ref 129173 // Point
847         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
849         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
850   ${body}}
852         
853         
854         
855       end
857       classrelation 128107 // <directional composition>
858         relation 128107 *-->
859           a role_name "" protected
860             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
862             classrelation_ref 128107 // <directional composition>
863           b parent class_ref 128277 // SoQtRenderArea
864       end
866       attribute 128107 "_renderArea"
867         private type class_ref 128277 // SoQtRenderArea
868         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
870         java_decl ""
871         php_decl ""
872         idl_decl ""
873       end
874     end
876     class 128789 "ChatWidget"
877       visibility package 
878       cpp_decl ""
879       java_decl ""
880       php_decl ""
881       idl_decl ""
882       explicit_switch_type ""
883       
884       classrelation 129208 // <generalisation>
885         relation 129208 ---|>
886           a public
887             cpp default "${type}"
888             classrelation_ref 129208 // <generalisation>
889           b parent class_ref 128568 // QDockWidget
890       end
892       operation 128235 "displayText"
893         stereotype "slot"
894         public explicit_return_type "void"
895         nparams 1
896           param in name "text" type class_ref 128440 // QString
897         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
899         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
900   ${body}}
902         
903         
904         
905       end
907       operation 128107 "textEntered"
908         stereotype "signal"
909         public explicit_return_type "void"
910         nparams 1
911           param in name "text" type class_ref 128440 // QString
912         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
914         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
915   ${body}}
917         
918         
919         
920       end
921     end
923     class 129173 "Point"
924       visibility package 
925       cpp_decl ""
926       java_decl ""
927       php_decl ""
928       idl_decl ""
929       explicit_switch_type ""
930       
931       attribute 128184 "_x"
932         private explicit_type "int"
933         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
935         java_decl ""
936         php_decl ""
937         idl_decl ""
938       end
940       attribute 128312 "_y"
941         private explicit_type "int"
942         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
944         java_decl ""
945         php_decl ""
946         idl_decl ""
947       end
949       attribute 128440 "_z"
950         private explicit_type "int"
951         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
953         java_decl ""
954         php_decl ""
955         idl_decl ""
956       end
958       operation 128875 "Point"
959         public explicit_return_type ""
960         nparams 3
961           param in name "x" explicit_type "int"
962           param in name "y" explicit_type "int"
963           param in name "z" explicit_type "int"
964         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
966         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
967   ${body}}
969         
970         
971         
972       end
973     end
975     class 129301 "Move"
976       visibility package 
977       cpp_decl ""
978       java_decl ""
979       php_decl ""
980       idl_decl ""
981       explicit_switch_type ""
982       
983       attribute 128405 "_playerId"
984         private explicit_type "int"
985         cpp_decl ""
986         java_decl ""
987         php_decl ""
988         idl_decl ""
989       end
991       attribute 128533 "_coord"
992         private type class_ref 129173 // Point
993         cpp_decl ""
994         java_decl ""
995         php_decl ""
996         idl_decl ""
997       end
999       classrelation 129173 // <directional composition>
1000         relation 129173 *-->
1001           a role_name "" protected
1002             classrelation_ref 129173 // <directional composition>
1003           b parent class_ref 129173 // Point
1004       end
1006       operation 129641 "Move"
1007         public explicit_return_type ""
1008         nparams 2
1009           param in name "id" explicit_type "int"
1010           param in name "p" type class_ref 129173 // Point
1011         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1013         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1014   ${body}}
1016         
1017         
1018         
1019       end
1020     end
1022     class 129557 "GameMatrix"
1023       visibility package 
1024       cpp_decl ""
1025       java_decl ""
1026       php_decl ""
1027       idl_decl ""
1028       explicit_switch_type ""
1029       
1030       comment "istanziata da MainWindow e passata poi a GameLoop"
1031       attribute 128042 "EmptyPoint"
1032         class_attribute const_attribute public explicit_type "int"
1033         init_value "-1"
1034         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1036         java_decl ""
1037         php_decl ""
1038         idl_decl ""
1039       end
1041       attribute 128283 "_instance"
1042         class_attribute private type class_ref 129557 // GameMatrix
1043         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1045         java_decl ""
1046         php_decl ""
1047         idl_decl ""
1048       end
1050       operation 130104 "GameMatrix"
1051         private explicit_return_type ""
1052         nparams 3
1053           param in name "d1" explicit_type "int"
1054           param in name "d2" explicit_type "int"
1055           param in name "numPlayers" explicit_type "int"
1056         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1058         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1059   ${body}}
1061         
1062         
1063         
1064       end
1066       operation 128085 "create"
1067         class_operation public return_type class_ref 129557 // GameMatrix
1068         nparams 3
1069           param in name "d1" explicit_type "int"
1070           param in name "d2" explicit_type "int"
1071           param in name "numPlayers" explicit_type "int"
1072         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1074         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1075   ${body}}
1077         
1078         
1079         
1080       end
1082       operation 128411 "destroy"
1083         class_operation public explicit_return_type "void"
1084         nparams 0
1085         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1087         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1088   ${body}}
1090         
1091         
1092         
1093       end
1095       operation 128283 "instance"
1096         class_operation const public return_type class_ref 129557 // GameMatrix
1097         nparams 0
1098         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1100         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1101   ${body}}
1103         
1104         
1105         
1106       end
1108       attribute 128873 "_lastRound"
1109         private explicit_type "QList<Point>"
1110         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1112         java_decl ""
1113         php_decl ""
1114         idl_decl ""
1115         comment "/buffer delle ultime mosse da rivedere"
1116       end
1118       attribute 129129 "_d1"
1119         private explicit_type "int"
1120         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1122         java_decl ""
1123         php_decl ""
1124         idl_decl ""
1125       end
1127       attribute 129257 "_d2"
1128         private explicit_type "int"
1129         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1131         java_decl ""
1132         php_decl ""
1133         idl_decl ""
1134       end
1136       operation 129513 "add"
1137         public explicit_return_type "bool"
1138         nparams 1
1139           param in name "move" type class_ref 129301 // Move
1140         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1142         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1143   ${body}}
1145         
1146         
1147         
1148         comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1149       end
1151       operation 128554 "clear"
1152         public explicit_return_type "void"
1153         nparams 1
1154           param in name "point" type class_ref 129173 // Point
1155         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1157         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1158   ${body}}
1160         
1161         
1162         
1163       end
1165       operation 128155 "check"
1166         class_operation const public explicit_return_type "bool"
1167         nparams 1
1168           param in name "point" type class_ref 129173 // Point
1169         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1171         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1172   ${body}}
1174         
1175         
1176         
1177       end
1179       operation 128404 "isFull"
1180         const public explicit_return_type "bool"
1181         nparams 0
1182         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1184         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1185   ${body}}
1187         
1188         
1189         
1190       end
1192       operation 130232 "numberOfPlayers"
1193         const public explicit_return_type "int"
1194         nparams 0
1195         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1197         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1198   ${body}}
1200         
1201         
1202         
1203         comment "lastRound.size()"
1204       end
1206       operation 128188 "setLastRound"
1207         public explicit_return_type "void"
1208         nparams 1
1209           param in name "round" explicit_type "QList<Point>"
1210         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1212         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1213   ${body}}
1215         
1216         
1217         
1218       end
1220       attribute 128148 "_freeCounter"
1221         private explicit_type "int"
1222         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1224         java_decl ""
1225         php_decl ""
1226         idl_decl ""
1227       end
1228     end
1230     class 129941 "AI"
1231       visibility package 
1232       cpp_decl ""
1233       java_decl ""
1234       php_decl ""
1235       idl_decl ""
1236       explicit_switch_type ""
1237       
1238       attribute 128084 "mat"
1239         private type class_ref 129557 // GameMatrix
1240         cpp_decl ""
1241         java_decl ""
1242         php_decl ""
1243         idl_decl ""
1244       end
1246       operation 128084 "AI"
1247         public explicit_return_type ""
1248         nparams 2
1249           param in name "id" explicit_type "int"
1250           param in name "mat" type class_ref 129557 // GameMatrix
1251         
1252         
1253         
1254         
1255       end
1257       operation 128212 "move"
1258         public return_type class_ref 129301 // Move
1259         nparams 1
1260           param in name "level" explicit_type "int"
1261         
1262         
1263         
1264         
1265         comment "prima di ritornare la mossa mette a false il bool forceMove"
1266       end
1268       attribute 128296 "playerId"
1269         const_attribute private explicit_type "int"
1270         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1272         java_decl ""
1273         php_decl ""
1274         idl_decl ""
1275       end
1277       attribute 128424 "forceMove"
1278         private explicit_type "bool"
1279         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1281         java_decl ""
1282         php_decl ""
1283         idl_decl ""
1284         comment "default false."
1285       end
1287       operation 129976 "forceMove"
1288         public explicit_return_type "void"
1289         nparams 0
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         comment "setta a true il bool forceMove"
1299       end
1300     end
1302     class 130069 "Network"
1303       abstract visibility package 
1304       cpp_decl ""
1305       java_decl ""
1306       php_decl ""
1307       idl_decl ""
1308       explicit_switch_type ""
1309       
1310       operation 128508 "Network"
1311         public explicit_return_type ""
1312         nparams 1
1313           param in name "gui" type class_ref 128533 // QWidget
1314         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1316         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1317   ${body}}
1319         
1320         
1321         
1322       end
1324       operation 128109 "requestMove"
1325         abstract cpp_virtual public explicit_return_type "void"
1326         nparams 0
1327         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1329         
1330         
1331         
1332       end
1334       operation 128982 "setupChat"
1335         abstract cpp_virtual public explicit_return_type "void"
1336         nparams 1
1337           param in name "widget" type class_ref 128789 // ChatWidget
1338         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1340         
1341         
1342         
1343       end
1345       attribute 128552 "_localPlayer"
1346         private explicit_type "int"
1347         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1349         java_decl ""
1350         php_decl ""
1351         idl_decl ""
1352         comment "rappresenta l'ID del player che usa la GUI in una partita online.
1353 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."
1354       end
1356       attribute 128124 "_gui"
1357         private type class_ref 128533 // QWidget
1358         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1360         java_decl ""
1361         php_decl ""
1362         idl_decl ""
1363       end
1365       attribute 128075 "_settings"
1366         private type class_ref 128170 // ServerSettings
1367         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1369         java_decl ""
1370         php_decl ""
1371         idl_decl ""
1372       end
1374       classrelation 128075 // <directional composition>
1375         relation 128075 *-->
1376           a role_name "" protected
1377             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1379             classrelation_ref 128075 // <directional composition>
1380           b parent class_ref 128170 // ServerSettings
1381       end
1382     end
1384     class 128214 "GameClient"
1385       visibility package 
1386       cpp_decl "${comment}${template}class ${name}${inherit} {
1387 ${members}};
1388 ${inlines}
1390       java_decl ""
1391       php_decl ""
1392       idl_decl ""
1393       explicit_switch_type ""
1394       
1395       operation 128078 "GameClient"
1396         public explicit_return_type ""
1397         nparams 2
1398           param in name "gui" type class_ref 128533 // QWidget
1399           param in name "serverAddress" type class_ref 128440 // QString
1400         
1401         
1402         
1403         
1404         comment "serverAddress indica il server a cui connettersi."
1405       end
1407       operation 128365 "requestMove"
1408         cpp_virtual public explicit_return_type "void"
1409         nparams 0
1410         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1412         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1413   ${body}}
1415         
1416         
1417         
1418       end
1420       operation 129110 "setupChat"
1421         public explicit_return_type "void"
1422         nparams 1
1423           param in name "widget" type class_ref 128789 // ChatWidget
1424         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1426         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1427   ${body}}
1429         
1430         
1431         
1432       end
1434       attribute 128158 "_server"
1435         private type class_ref 128027 // ClientSocket
1436         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1438         java_decl ""
1439         php_decl ""
1440         idl_decl ""
1441       end
1443       classrelation 128086 // <realization>
1444         relation 128086 -_-|>
1445           a public
1446             cpp default "${type}"
1447             classrelation_ref 128086 // <realization>
1448           b parent class_ref 130069 // Network
1449       end
1451       classrelation 128283 // <directional composition>
1452         relation 128155 *-->
1453           a role_name "" protected
1454             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1456             classrelation_ref 128283 // <directional composition>
1457           b parent class_ref 128027 // ClientSocket
1458       end
1459     end
1461     class 128086 "GameServer"
1462       visibility protected 
1463       cpp_decl "${comment}${template}class ${name}${inherit} {
1464 ${members}};
1465 ${inlines}
1467       java_decl ""
1468       php_decl ""
1469       idl_decl ""
1470       explicit_switch_type ""
1471       
1472       operation 129372 "GameServer"
1473         public explicit_return_type ""
1474         nparams 2
1475           param in name "gui" type class_ref 128533 // QWidget
1476           param in name "history" explicit_type "QList<Move>"
1477         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1479         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1480   ${body}}
1482         
1483         
1484         
1485       end
1487       operation 128237 "requestMove"
1488         cpp_virtual public explicit_return_type "void"
1489         nparams 0
1490         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1492         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1493   ${body}}
1495         
1496         
1497         
1498       end
1500       operation 129238 "setupChat"
1501         public explicit_return_type "void"
1502         nparams 1
1503           param in name "widget" type class_ref 128789 // ChatWidget
1504         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1506         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1507   ${body}}
1509         
1510         
1511         
1512       end
1514       operation 128974 "handleIncomingConnection"
1515         stereotype "slot"
1516         private explicit_return_type "void"
1517         nparams 0
1518         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1520         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1521   ${body}}
1523         
1524         
1525         
1526         comment "connesso al segnale newConnection() di QTcpServer."
1527       end
1529       attribute 128027 "_listener"
1530         private type class_ref 128206 // QTcpServer
1531         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1533         java_decl ""
1534         php_decl ""
1535         idl_decl ""
1536       end
1538       attribute 128342 "_pendingConnections"
1539         private explicit_type "QLinkedList<ServerSocket>"
1540         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1542         java_decl ""
1543         php_decl ""
1544         idl_decl ""
1545       end
1547       attribute 128462 "_remotePlayers"
1548         private explicit_type "QList<ServerSocket>"
1549         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1551         java_decl ""
1552         php_decl ""
1553         idl_decl ""
1554       end
1556       attribute 128334 "_spectators"
1557         private explicit_type "QLinkedList<ServerSocket>"
1558         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1560         java_decl ""
1561         php_decl ""
1562         idl_decl ""
1563       end
1565       attribute 129244 "_history"
1566         private explicit_type "QList<Move>"
1567         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1569         java_decl ""
1570         php_decl ""
1571         idl_decl ""
1572       end
1574       attribute 128114 "_gameInProgress"
1575         private explicit_type "bool"
1576         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1578         java_decl ""
1579         php_decl ""
1580         idl_decl ""
1581       end
1583       classrelation 128214 // <realization>
1584         relation 128214 -_-|>
1585           a public
1586             cpp default "${type}"
1587             classrelation_ref 128214 // <realization>
1588           b parent class_ref 130069 // Network
1589       end
1591       classrelation 128598 // <directional composition>
1592         relation 128598 *-->
1593           a role_name "" protected
1594             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1596             classrelation_ref 128598 // <directional composition>
1597           b parent class_ref 128206 // QTcpServer
1598       end
1600       classrelation 128411 // <directional composition>
1601         relation 128283 *-->
1602           a role_name "" multiplicity "*" protected
1603             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1605             classrelation_ref 128411 // <directional composition>
1606           b parent class_ref 128155 // ServerSocket
1607       end
1608     end
1610     class 130197 "QThread"
1611       abstract visibility package 
1612       cpp_decl ""
1613       java_decl ""
1614       php_decl ""
1615       idl_decl ""
1616       explicit_switch_type ""
1617       
1618       operation 128393 "run"
1619         abstract cpp_virtual protected explicit_return_type "void"
1620         nparams 0
1621         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1623         
1624         
1625         
1626       end
1628       operation 128319 "start"
1629         public explicit_return_type ""
1630         nparams 0
1631         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1633         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1634   ${body}}
1636         
1637         
1638         
1639       end
1640     end
1642     class 130325 "GameLoop"
1643       visibility package 
1644       cpp_decl ""
1645       java_decl ""
1646       php_decl ""
1647       idl_decl ""
1648       explicit_switch_type ""
1649       
1650       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."
1651       operation 128054 "GameLoop"
1652         public explicit_return_type ""
1653         nparams 1
1654           param in name "players" explicit_type "QList<Player>"
1655         cpp_decl "    ${comment}${inline}${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, ${t2} ${p2}, const ${t3} & ${p3}${)}${volatile}${throw};
1657         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1658   ${body}}
1660         
1661         
1662         
1663       end
1665       operation 128520 "run"
1666         protected explicit_return_type "void"
1667         nparams 0
1668         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1670         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1671   ${body}}
1673         
1674         
1675         
1676       end
1678       operation 128316 "setTurn"
1679         public explicit_return_type "void"
1680         nparams 1
1681           param in name "id" explicit_type "int"
1682         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1684         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1685   ${body}}
1687         
1688         
1689         
1690       end
1692       classrelation 130069 // <realization>
1693         relation 130069 -_-|>
1694           a public
1695             classrelation_ref 130069 // <realization>
1696           b parent class_ref 130197 // QThread
1697       end
1699       attribute 128264 "_players"
1700         private explicit_type "QList<Player>"
1701         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1703         java_decl ""
1704         php_decl ""
1705         idl_decl ""
1706       end
1708       attribute 128134 "_mat"
1709         private type class_ref 129557 // GameMatrix
1710         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1712         java_decl ""
1713         php_decl ""
1714         idl_decl ""
1715       end
1717       classrelation 128134 // <directional composition>
1718         relation 128134 *-->
1719           a role_name "" protected
1720             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1722             classrelation_ref 128134 // <directional composition>
1723           b parent class_ref 129557 // GameMatrix
1724       end
1726       operation 130488 "forceMove"
1727         stereotype "slot"
1728         public explicit_return_type "void"
1729         nparams 0
1730         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1732         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1733   ${body}}
1735         
1736         
1737         
1738       end
1740       operation 128233 "moved"
1741         stereotype "signal"
1742         public explicit_return_type "void"
1743         nparams 1
1744           param in name "move" type class_ref 129301 // Move
1745         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1747         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1748   ${body}}
1750         
1751         
1752         
1753       end
1755       operation 128264 "turn"
1756         stereotype "signal"
1757         public explicit_return_type "void"
1758         nparams 1
1759           param in name "player" type class_ref 129045 // Player
1760         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1762         
1763         
1764         
1765       end
1767       attribute 129592 "_currentPlayer"
1768         private type class_ref 129045 // Player
1769         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1771         java_decl ""
1772         php_decl ""
1773         idl_decl ""
1774         comment "mantenuto consistente per poter effettuare la forceMove()"
1775       end
1777       classrelation 128042 // <directional composition>
1778         relation 128042 *-->
1779           a role_name "" multiplicity "2..3" protected
1780             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1782             classrelation_ref 128042 // <directional composition>
1783           b parent class_ref 129045 // Player
1784       end
1786       operation 128148 "win"
1787         stereotype "signal"
1788         public explicit_return_type "void"
1789         nparams 1
1790           param in name "playerId" explicit_type "int"
1791         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1793         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1794   ${body}}
1796         
1797         
1798         
1799       end
1801       attribute 128020 "_winStatus"
1802         private explicit_type "QList<bool>"
1803         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1805         java_decl ""
1806         php_decl ""
1807         idl_decl ""
1808         comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1809       end
1811       operation 128532 "draw"
1812         stereotype "signal"
1813         public explicit_return_type "void"
1814         nparams 1
1815           param in name "playersIds" explicit_type "QList<int>"
1816         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1818         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1819   ${body}}
1821         
1822         
1823         
1824       end
1825     end
1827     class 130709 "SyncSharedCondition"
1828       visibility package 
1829       cpp_decl ""
1830       java_decl ""
1831       php_decl ""
1832       idl_decl ""
1833       explicit_switch_type ""
1834       
1835       attribute 128063 "_instance"
1836         class_attribute private type class_ref 130709 // SyncSharedCondition
1837         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1839         java_decl ""
1840         php_decl ""
1841         idl_decl ""
1842       end
1844       operation 128191 "SyncSharedCondition"
1845         protected explicit_return_type ""
1846         nparams 0
1847         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1849         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1850   ${body}}
1852         
1853         
1854         
1855       end
1857       operation 128063 "instance"
1858         class_operation public return_type class_ref 130709 // SyncSharedCondition
1859         nparams 0
1860         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1862         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1863   ${body}}
1865         
1866         
1867         
1868       end
1870       attribute 129557 "_waitCond"
1871         private type class_ref 129813 // QWaitCondition
1872         cpp_decl ""
1873         java_decl ""
1874         php_decl ""
1875         idl_decl ""
1876       end
1878       attribute 128105 "_point"
1879         private type class_ref 129173 // Point
1880         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1882         java_decl ""
1883         php_decl ""
1884         idl_decl ""
1885       end
1887       operation 129129 "waitForMove"
1888         public return_type class_ref 129173 // Point
1889         nparams 0
1890         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1892         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1893   ${body}}
1895         
1896         
1897         
1898       end
1900       operation 129257 "notifyMove"
1901         public explicit_return_type "void"
1902         nparams 1
1903           param in name "p" type class_ref 129173 // Point
1904         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1906         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1907   ${body}}
1909         
1910         
1911         
1912       end
1914       classrelation 128105 // <generalisation>
1915         relation 128105 ---|>
1916           a public
1917             cpp default "${type}"
1918             classrelation_ref 128105 // <generalisation>
1919           b parent class_ref 130837 // QMutex
1920       end
1922       classrelation 128168 // <directional composition>
1923         relation 128168 *-->
1924           a role_name "" protected
1925             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1927             classrelation_ref 128168 // <directional composition>
1928           b parent class_ref 129813 // QWaitCondition
1929       end
1930     end
1932     class 130837 "QMutex"
1933       visibility package 
1934       cpp_decl ""
1935       java_decl ""
1936       php_decl ""
1937       idl_decl ""
1938       explicit_switch_type ""
1939       
1940       operation 129769 "lock"
1941         public explicit_return_type "void"
1942         nparams 0
1943         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1945         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1946   ${body}}
1948         
1949         
1950         
1951       end
1953       operation 129897 "unlock"
1954         public explicit_return_type "void"
1955         nparams 0
1956         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1958         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1959   ${body}}
1961         
1962         
1963         
1964       end
1965     end
1967     class 129813 "QWaitCondition"
1968       visibility package 
1969       cpp_decl ""
1970       java_decl ""
1971       php_decl ""
1972       idl_decl ""
1973       explicit_switch_type ""
1974       
1975       operation 130025 "wait"
1976         public explicit_return_type "bool"
1977         nparams 2
1978           param in name "lock" type class_ref 130837 // QMutex
1979           param in name "timeout" explicit_type "unsigned long"
1980         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1982         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1983   ${body}}
1985         
1986         
1987         
1988       end
1990       operation 130153 "wakeOne"
1991         public explicit_return_type "void"
1992         nparams 0
1993         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1995         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1996   ${body}}
1998         
1999         
2000         
2001       end
2002     end
2004     class 129045 "Player"
2005       abstract visibility package 
2006       cpp_decl ""
2007       java_decl ""
2008       php_decl ""
2009       idl_decl ""
2010       explicit_switch_type ""
2011       
2012       operation 128617 "Player"
2013         public explicit_return_type ""
2014         nparams 1
2015           param in name "id" explicit_type "int"
2016         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2018         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2019   ${body}}
2021         
2022         
2023         
2024       end
2026       operation 128184 "move"
2027         abstract cpp_virtual public return_type class_ref 129301 // Move
2028         nparams 0
2029         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2031         
2032         
2033         
2034       end
2036       attribute 128168 "_id"
2037         const_attribute private explicit_type "int"
2038         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2040         java_decl ""
2041         php_decl ""
2042         idl_decl ""
2043       end
2045       operation 128040 "id"
2046         const public explicit_return_type "int"
2047         nparams 0
2048         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2050         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2051   ${body}}
2053         
2054         
2055         
2056       end
2057     end
2059     class 128056 "HumanPlayer"
2060       visibility package 
2061       cpp_decl "${comment}${template}class ${name}${inherit} {
2062 ${members}};
2063 ${inlines}
2065       java_decl ""
2066       php_decl ""
2067       idl_decl ""
2068       explicit_switch_type ""
2069       
2070       operation 128745 "HumanPlayer"
2071         public explicit_return_type ""
2072         nparams 2
2073           param in name "id" explicit_type "int"
2074           param in name "render" type class_ref 128661 // RenderWidget
2075         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2077         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2078   ${body}}
2080         
2081         
2082         
2083       end
2085       operation 128440 "move"
2086         cpp_virtual public return_type class_ref 129301 // Move
2087         nparams 0
2088         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2090         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2091   ${body}}
2093         
2094         
2095         
2096       end
2098       attribute 128233 "_render"
2099         private type class_ref 128661 // RenderWidget
2100         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2102         java_decl ""
2103         php_decl ""
2104         idl_decl ""
2105       end
2107       classrelation 128361 // <realization>
2108         relation 128361 -_-|>
2109           a public
2110             cpp default "${type}"
2111             classrelation_ref 128361 // <realization>
2112           b parent class_ref 129045 // Player
2113       end
2114     end
2116     class 128184 "RemotePlayer"
2117       visibility package 
2118       cpp_decl "${comment}${template}class ${name}${inherit} {
2119 ${members}};
2120 ${inlines}
2122       java_decl ""
2123       php_decl ""
2124       idl_decl ""
2125       explicit_switch_type ""
2126       
2127       operation 128873 "RemotePlayer"
2128         public explicit_return_type ""
2129         nparams 2
2130           param in name "id" explicit_type "int"
2131           param in name "net" type class_ref 130069 // Network
2132         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2134         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2135   ${body}}
2137         
2138         
2139         
2140       end
2142       operation 128568 "move"
2143         cpp_virtual public return_type class_ref 129301 // Move
2144         nparams 0
2145         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2147         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2148   ${body}}
2150         
2151         
2152         
2153       end
2155       attribute 128361 "_net"
2156         private type class_ref 130069 // Network
2157         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2159         java_decl ""
2160         php_decl ""
2161         idl_decl ""
2162       end
2164       classrelation 128489 // <realization>
2165         relation 128489 -_-|>
2166           a public
2167             cpp default "${type}"
2168             classrelation_ref 128489 // <realization>
2169           b parent class_ref 129045 // Player
2170       end
2171     end
2173     class 128312 "AIPlayer"
2174       visibility package 
2175       cpp_decl "${comment}${template}class ${name}${inherit} {
2176 ${members}};
2177 ${inlines}
2179       java_decl ""
2180       php_decl ""
2181       idl_decl ""
2182       explicit_switch_type ""
2183       
2184       operation 129001 "AIPlayer"
2185         public explicit_return_type ""
2186         nparams 2
2187           param in name "id" explicit_type "int"
2188           param in name "mat" type class_ref 129557 // GameMatrix
2189         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2191         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2192   ${body}}
2194         
2195         
2196         
2197         comment "inizializza skill con la costante di classe DefaultSkill"
2198       end
2200       attribute 128386 "_DefaultSkill"
2201         class_attribute const_attribute private explicit_type "int"
2202         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2204         java_decl ""
2205         php_decl ""
2206         idl_decl ""
2207       end
2209       operation 128696 "move"
2210         cpp_virtual public return_type class_ref 129301 // Move
2211         nparams 0
2212         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2214         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2215   ${body}}
2217         
2218         
2219         
2220       end
2222       classrelation 128617 // <realization>
2223         relation 128617 -_-|>
2224           a public
2225             cpp default "${type}"
2226             classrelation_ref 128617 // <realization>
2227           b parent class_ref 129045 // Player
2228       end
2230       attribute 128258 "_skill"
2231         private explicit_type "int"
2232         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2234         java_decl ""
2235         php_decl ""
2236         idl_decl ""
2237       end
2239       operation 128002 "skill"
2240         const public explicit_return_type "int"
2241         nparams 0
2242         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2244         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2245   ${body}}
2247         
2248         
2249         
2250       end
2252       operation 128130 "setSkill"
2253         public explicit_return_type "void"
2254         nparams 1
2255           param in name "sk" explicit_type "int"
2256         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2258         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2259   ${body}}
2261         
2262         
2263         
2264       end
2266       classrelation 130360 // <generalisation>
2267         relation 130360 ---|>
2268           a public
2269             cpp default "${type}"
2270             classrelation_ref 130360 // <generalisation>
2271           b parent class_ref 129941 // AI
2272       end
2273     end
2275     class 128277 "SoQtRenderArea"
2276       visibility package 
2277       cpp_decl ""
2278       java_decl ""
2279       php_decl ""
2280       idl_decl ""
2281       explicit_switch_type ""
2282       
2283     end
2285     class 129685 "SceneGraph"
2286       visibility package 
2287       cpp_decl ""
2288       java_decl ""
2289       php_decl ""
2290       idl_decl ""
2291       explicit_switch_type ""
2292       
2293     end
2295     class 128440 "QString"
2296       visibility package 
2297       cpp_decl "${comment}${template}class ${name}${inherit} {
2298 ${members}};
2299 ${inlines}
2301       java_decl ""
2302       php_decl ""
2303       idl_decl ""
2304       explicit_switch_type ""
2305       
2306     end
2308     class 128253 "QColor"
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     end
2321     class 128533 "QWidget"
2322       visibility package 
2323       cpp_decl ""
2324       java_decl ""
2325       php_decl ""
2326       idl_decl ""
2327       explicit_switch_type ""
2328       
2329     end
2331     class 128568 "QDockWidget"
2332       visibility package 
2333       cpp_decl "${comment}${template}class ${name}${inherit} {
2334 ${members}};
2335 ${inlines}
2337       java_decl ""
2338       php_decl ""
2339       idl_decl ""
2340       explicit_switch_type ""
2341       
2342       classrelation 128009 // <generalisation>
2343         relation 128009 ---|>
2344           a public
2345             cpp default "${type}"
2346             classrelation_ref 128009 // <generalisation>
2347           b parent class_ref 128533 // QWidget
2348       end
2349     end
2351     class 128008 "QSettings"
2352       visibility package 
2353       cpp_decl "${comment}${template}class ${name}${inherit} {
2354 ${members}};
2355 ${inlines}
2357       java_decl ""
2358       php_decl ""
2359       idl_decl ""
2360       explicit_switch_type ""
2361       
2362     end
2364     class 128125 "QTimer"
2365       visibility package 
2366       cpp_decl "${comment}${template}class ${name}${inherit} {
2367 ${members}};
2368 ${inlines}
2370       java_decl ""
2371       php_decl ""
2372       idl_decl ""
2373       explicit_switch_type ""
2374       
2375       operation 128253 "start"
2376         stereotype "slot"
2377         public explicit_return_type "void"
2378         nparams 1
2379           param in name "msec" explicit_type "int"
2380         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2382         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2383   ${body}}
2385         
2386         
2387         
2388       end
2390       operation 128381 "stop"
2391         stereotype "slot"
2392         public explicit_return_type "void"
2393         nparams 0
2394         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2396         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2397   ${body}}
2399         
2400         
2401         
2402       end
2404       operation 128125 "timeout"
2405         stereotype "signal"
2406         public explicit_return_type "void"
2407         nparams 0
2408         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2410         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2411   ${body}}
2413         
2414         
2415         
2416       end
2417     end
2419     class 129720 "Suggester"
2420       visibility package 
2421       cpp_decl "${comment}${template}class ${name}${inherit} {
2422 ${members}};
2423 ${inlines}
2425       java_decl ""
2426       php_decl ""
2427       idl_decl ""
2428       explicit_switch_type ""
2429       
2430       operation 130744 "Suggester"
2431         public explicit_return_type ""
2432         nparams 2
2433           param in name "id" explicit_type "int"
2434           param in name "mat" type class_ref 129557 // GameMatrix
2435         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2437         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2438   ${body}}
2440         
2441         
2442         
2443       end
2445       attribute 128130 "_SuggestedMoveLevel"
2446         class_attribute const_attribute private explicit_type "int"
2447         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2449         java_decl ""
2450         php_decl ""
2451         idl_decl ""
2452       end
2454       classrelation 130488 // <generalisation>
2455         relation 130488 ---|>
2456           stereotype "private"
2457           a private
2458             cpp default "${type}"
2459             classrelation_ref 130488 // <generalisation>
2460           b parent class_ref 129941 // AI
2461       end
2463       classrelation 130616 // <realization>
2464         relation 130616 -_-|>
2465           a public
2466             cpp default "${type}"
2467             classrelation_ref 130616 // <realization>
2468           b parent class_ref 130197 // QThread
2469       end
2471       operation 130616 "run"
2472         protected explicit_return_type "void"
2473         nparams 0
2474         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2476         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2477   ${body}}
2479         
2480         
2481         
2482       end
2484       operation 128056 "suggestMove"
2485         public return_type class_ref 129173 // Point
2486         nparams 0
2487         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2489         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2490   ${body}}
2492         
2493         
2494         
2495         comment "prima di ritornare mettea false il bool forceMove"
2496       end
2498       operation 130872 "suggestedMoveReady"
2499         stereotype "signal"
2500         public explicit_return_type "void"
2501         nparams 1
2502           param in name "point" type class_ref 129173 // Point
2503         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2505         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2506   ${body}}
2508         
2509         
2510         
2511       end
2512     end
2514     class 129848 "HistoryModel"
2515       visibility package 
2516       cpp_decl "${comment}${template}class ${name}${inherit} {
2517 ${members}};
2518 ${inlines}
2520       java_decl ""
2521       php_decl ""
2522       idl_decl ""
2523       explicit_switch_type ""
2524       
2525       attribute 130104 "_history"
2526         private explicit_type "QList<Move>"
2527         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2529         java_decl ""
2530         php_decl ""
2531         idl_decl ""
2532       end
2534       operation 128765 "columnCount"
2535         const cpp_virtual public explicit_return_type "int"
2536         nparams 1
2537           param in name "parent" explicit_type "QModelIndex"
2538         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2540         
2541         
2542         
2543       end
2545       operation 128637 "rowCount"
2546         const cpp_virtual public explicit_return_type "int"
2547         nparams 1
2548           param in name "parent" explicit_type "QModelIndex"
2549         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2551         
2552         
2553         
2554       end
2556       operation 128509 "data"
2557         const cpp_virtual public explicit_return_type "QVariant"
2558         nparams 2
2559           param in name "index" explicit_type "QModelIndex"
2560           param in name "role" explicit_type "int"
2561             defaultvalue "Qt::DisplayRole"
2562         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2564         
2565         
2566         
2567       end
2569       operation 128893 "flags"
2570         const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2571         nparams 1
2572           param in name "index" explicit_type "QModelIndex"
2573         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2575         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2576   ${body}}
2578         
2579         
2580         
2581       end
2583       operation 129021 "headerData"
2584         const cpp_virtual public explicit_return_type "QVariant"
2585         nparams 3
2586           param in name "section" explicit_type "int"
2587           param in name "orientation" explicit_type "Qt::Orientation"
2588           param in name "role" explicit_type "int"
2589         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2591         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2592   ${body}}
2594         
2595         
2596         
2597       end
2599       operation 131128 "add"
2600         public explicit_return_type "void"
2601         nparams 1
2602           param in name "move" type class_ref 129301 // Move
2603         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2605         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2606   ${body}}
2608         
2609         
2610         
2611       end
2613       classrelation 128637 // <realization>
2614         relation 128637 -_-|>
2615           a public
2616             cpp default "${type}"
2617             classrelation_ref 128637 // <realization>
2618           b parent class_ref 128509 // QAbstractTableModel
2619       end
2621       operation 129259 "insertRows"
2622         cpp_virtual public explicit_return_type "bool"
2623         nparams 3
2624           param in name "row" explicit_type "int"
2625           param in name "count" explicit_type "int"
2626           param in name "parent" explicit_type "QModelIndex"
2627         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2629         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2630   ${body}}
2632         
2633         
2634         
2635       end
2637       operation 129387 "removeRows"
2638         cpp_virtual public explicit_return_type "bool"
2639         nparams 3
2640           param in name "row" explicit_type "int"
2641           param in name "count" explicit_type "int"
2642           param in name "parent" explicit_type "QModelIndex"
2643         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2645         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2646   ${body}}
2648         
2649         
2650         
2651       end
2653       operation 129244 "moveList"
2654         const public explicit_return_type "QList<Move>"
2655         nparams 0
2656         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2658         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2659   ${body}}
2661         
2662         
2663         
2664       end
2665     end
2667     class 129976 "PlayerInfo"
2668       visibility package 
2669       cpp_decl "${comment}${template}class ${name}${inherit} {
2670 ${members}};
2671 ${inlines}
2673       java_decl ""
2674       php_decl ""
2675       idl_decl ""
2676       explicit_switch_type ""
2677       
2678       attribute 130360 "_name"
2679         private type class_ref 128440 // QString
2680         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2682         java_decl ""
2683         php_decl ""
2684         idl_decl ""
2685       end
2687       attribute 130488 "_color"
2688         private type class_ref 128253 // QColor
2689         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2691         java_decl ""
2692         php_decl ""
2693         idl_decl ""
2694       end
2696       attribute 130616 "_type"
2697         private type class_ref 128440 // QString
2698         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2700         java_decl ""
2701         php_decl ""
2702         idl_decl ""
2703       end
2705       operation 129131 "PlayerInfo"
2706         public explicit_return_type ""
2707         nparams 3
2708           param in name "name" type class_ref 128440 // QString
2709           param in name "color" type class_ref 128253 // QColor
2710           param in name "type" type class_ref 128440 // QString
2711         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2713         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2714   ${body}}
2716         
2717         
2718         
2719       end
2720     end
2722     class 128381 "TimerWidget"
2723       visibility package 
2724       cpp_decl "${comment}${template}class ${name}${inherit} {
2725 ${members}};
2726 ${inlines}
2728       java_decl ""
2729       php_decl ""
2730       idl_decl ""
2731       explicit_switch_type ""
2732       
2733       attribute 128125 "_timer"
2734         private type class_ref 128125 // QTimer
2735         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2737         java_decl ""
2738         php_decl ""
2739         idl_decl ""
2740       end
2742       classrelation 128381 // <directional composition>
2743         relation 128381 *-->
2744           a role_name "" protected
2745             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2747             classrelation_ref 128381 // <directional composition>
2748           b parent class_ref 128125 // QTimer
2749       end
2751       classrelation 128509 // <generalisation>
2752         relation 128509 ---|>
2753           a public
2754             cpp default "${type}"
2755             classrelation_ref 128509 // <generalisation>
2756           b parent class_ref 128533 // QWidget
2757       end
2758     end
2760     class 128509 "QAbstractTableModel"
2761       abstract visibility package 
2762       cpp_decl "${comment}${template}class ${name}${inherit} {
2763 ${members}};
2764 ${inlines}
2766       java_decl ""
2767       php_decl ""
2768       idl_decl ""
2769       explicit_switch_type ""
2770       
2771     end
2773     class 128893 "QTableView"
2774       visibility package 
2775       cpp_decl "${comment}${template}class ${name}${inherit} {
2776 ${members}};
2777 ${inlines}
2779       java_decl ""
2780       php_decl ""
2781       idl_decl ""
2782       explicit_switch_type ""
2783       
2784       classrelation 128444 // <generalisation>
2785         relation 128444 ---|>
2786           a public
2787             cpp default "${type}"
2788             classrelation_ref 128444 // <generalisation>
2789           b parent class_ref 128533 // QWidget
2790       end
2792       classrelation 128191 // <dependency>
2793         relation 128191 -_->
2794           a default
2795             cpp default "#include in source"
2796             classrelation_ref 128191 // <dependency>
2797           b parent class_ref 129848 // HistoryModel
2798       end
2799     end
2801     class 129021 "PlayersWidget"
2802       visibility package 
2803       cpp_decl "${comment}${template}class ${name}${inherit} {
2804 ${members}};
2805 ${inlines}
2807       java_decl ""
2808       php_decl ""
2809       idl_decl ""
2810       explicit_switch_type ""
2811       
2812       comment "rappresenta turno, colore, tipo, nome dei players"
2813       operation 129149 "PlayersWidget"
2814         public explicit_return_type ""
2815         nparams 1
2816           param in name "info" explicit_type "QMap<int,PlayerInfo>"
2817         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2819         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2820   ${body}}
2822         
2823         
2824         
2825         comment "crea un QLabel per ogni player con freccia turno, colore, tipo, nome."
2826       end
2828       classrelation 128828 // <generalisation>
2829         relation 128828 ---|>
2830           a public
2831             cpp default "${type}"
2832             classrelation_ref 128828 // <generalisation>
2833           b parent class_ref 128533 // QWidget
2834       end
2835     end
2837     class 128426 "AbstractSettings"
2838       abstract visibility package 
2839       cpp_decl "${comment}${template}class ${name}${inherit} {
2840 ${members}};
2841 ${inlines}
2843       java_decl ""
2844       php_decl ""
2845       idl_decl ""
2846       explicit_switch_type ""
2847       
2848       operation 128776 "language"
2849         abstract const cpp_virtual public return_type class_ref 128440 // QString
2850         nparams 0
2851         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2853         
2854         
2855         
2856       end
2858       operation 129416 "geometry"
2859         abstract const cpp_virtual public explicit_return_type "QByteArray"
2860         nparams 0
2861         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2863         
2864         
2865         
2866       end
2868       operation 128444 "defaultCubeColor"
2869         abstract const cpp_virtual public return_type class_ref 128253 // QColor
2870         nparams 0
2871         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2873         
2874         
2875         
2876       end
2878       operation 128619 "backgroundColor"
2879         abstract const cpp_virtual public return_type class_ref 128253 // QColor
2880         nparams 0
2881         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2883         
2884         
2885         
2886       end
2888       operation 129544 "setLanguage"
2889         abstract cpp_virtual public explicit_return_type "void"
2890         nparams 1
2891           param in name "lang" type class_ref 128440 // QString
2892         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2894         
2895         
2896         
2897       end
2899       operation 129800 "setGeometry"
2900         abstract cpp_virtual public explicit_return_type "void"
2901         nparams 1
2902           param in name "geom" explicit_type "QByteArray"
2903         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2905         
2906         
2907         
2908       end
2910       operation 128572 "setDefaultCubeColor"
2911         abstract cpp_virtual public explicit_return_type "void"
2912         nparams 1
2913           param in name "color" type class_ref 128253 // QColor
2914         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2916         
2917         
2918         
2919       end
2921       operation 128747 "setBackgroundColor"
2922         abstract cpp_virtual public explicit_return_type "void"
2923         nparams 1
2924           param in name "color" type class_ref 128253 // QColor
2925         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2927         
2928         
2929         
2930       end
2931     end
2933     class 130453 "SettingsManager"
2934       abstract visibility package 
2935       cpp_decl "${comment}${template}class ${name}${inherit} {
2936 ${members}};
2937 ${inlines}
2939       java_decl ""
2940       php_decl ""
2941       idl_decl ""
2942       explicit_switch_type ""
2943       
2944       operation 128904 "playersInfo"
2945         abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
2946         nparams 0
2947         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2949         
2950         
2951         
2952       end
2954       operation 129032 "difficulty1"
2955         abstract const cpp_virtual public explicit_return_type "int"
2956         nparams 0
2957         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2959         
2960         
2961         
2962       end
2964       operation 129160 "difficulty2"
2965         abstract const cpp_virtual public explicit_return_type "int"
2966         nparams 0
2967         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2969         
2970         
2971         
2972       end
2974       operation 129672 "setPlayersInfo"
2975         abstract cpp_virtual public explicit_return_type "void"
2976         nparams 1
2977           param in name "info" explicit_type "QList<PlayerInfo>"
2978         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2980         
2981         
2982         
2983       end
2985       operation 128009 "setDifficulty1"
2986         abstract cpp_virtual public explicit_return_type "void"
2987         nparams 1
2988           param in name "d1" explicit_type "int"
2989         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
2991         
2992         
2993         
2994       end
2996       operation 128137 "setDifficulty2"
2997         abstract cpp_virtual public explicit_return_type "void"
2998         nparams 1
2999           param in name "d2" explicit_type "int"
3000         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3002         
3003         
3004         
3005       end
3007       classrelation 129450 // <generalisation>
3008         relation 129450 ---|>
3009           a public
3010             cpp default "${type}"
3011             classrelation_ref 129450 // <generalisation>
3012           b parent class_ref 128426 // AbstractSettings
3013       end
3014     end
3016     class 128042 "LocalSettings"
3017       visibility package 
3018       cpp_decl "${comment}${template}class ${name}${inherit} {
3019 ${members}};
3020 ${inlines}
3022       java_decl ""
3023       php_decl ""
3024       idl_decl ""
3025       explicit_switch_type ""
3026       
3027       classrelation 129578 // <generalisation>
3028         relation 129578 ---|>
3029           a public
3030             cpp default "${type}"
3031             classrelation_ref 129578 // <generalisation>
3032           b parent class_ref 128298 // GUISettings
3033       end
3035       classrelation 129962 // <realization>
3036         relation 129962 -_-|>
3037           a public
3038             cpp default "${type}"
3039             classrelation_ref 129962 // <realization>
3040           b parent class_ref 130453 // SettingsManager
3041       end
3042     end
3044     class 128170 "ServerSettings"
3045       visibility package 
3046       cpp_decl "${comment}${template}class ${name}${inherit} {
3047 ${members}};
3048 ${inlines}
3050       java_decl ""
3051       php_decl ""
3052       idl_decl ""
3053       explicit_switch_type ""
3054       
3055       operation 128414 "serverPort"
3056         public explicit_return_type "quint16"
3057         nparams 0
3058         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3060         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3061   ${body}}
3063         
3064         
3065         
3066       end
3068       operation 128170 "timerDuration"
3069         const public explicit_return_type "int"
3070         nparams 0
3071         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3073         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3074   ${body}}
3076         
3077         
3078         
3079       end
3081       operation 128542 "setServerPort"
3082         public explicit_return_type "void"
3083         nparams 1
3084           param in name "port" explicit_type "quint16"
3085         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3087         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3088   ${body}}
3090         
3091         
3092         
3093       end
3095       operation 128298 "setTimerDuration"
3096         public explicit_return_type "void"
3097         nparams 1
3098           param in name "msec" explicit_type "int"
3099         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3101         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3102   ${body}}
3104         
3105         
3106         
3107       end
3109       classrelation 129706 // <generalisation>
3110         relation 129706 ---|>
3111           a public
3112             cpp default "${type}"
3113             classrelation_ref 129706 // <generalisation>
3114           b parent class_ref 128298 // GUISettings
3115       end
3117       classrelation 129834 // <realization>
3118         relation 129834 -_-|>
3119           a public
3120             cpp default "${type}"
3121             classrelation_ref 129834 // <realization>
3122           b parent class_ref 130453 // SettingsManager
3123       end
3124     end
3126     class 128298 "GUISettings"
3127       visibility package 
3128       cpp_decl "${comment}${template}class ${name}${inherit} {
3129 ${members}};
3130 ${inlines}
3132       java_decl ""
3133       php_decl ""
3134       idl_decl ""
3135       explicit_switch_type ""
3136       
3137       classrelation 129194 // <realization>
3138         relation 129194 -_-|>
3139           a public
3140             cpp default "${type}"
3141             classrelation_ref 129194 // <realization>
3142           b parent class_ref 128426 // AbstractSettings
3143       end
3145       classrelation 129322 // <generalisation>
3146         relation 129322 ---|>
3147           stereotype "protected"
3148           a protected
3149             cpp default "${type}"
3150             classrelation_ref 129322 // <generalisation>
3151           b parent class_ref 128008 // QSettings
3152       end
3153     end
3155     class 128334 "QTcpSocket"
3156       visibility package 
3157       cpp_decl "${comment}${template}class ${name}${inherit} {
3158 ${members}};
3159 ${inlines}
3161       java_decl ""
3162       php_decl ""
3163       idl_decl ""
3164       explicit_switch_type ""
3165       
3166       operation 128027 "connected"
3167         stereotype "signal"
3168         protected explicit_return_type "void"
3169         nparams 0
3170         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3172         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3173   ${body}}
3175         
3176         
3177         
3178       end
3180       operation 128462 "error"
3181         stereotype "signal"
3182         protected explicit_return_type "void"
3183         nparams 1
3184           param in name "socketError" explicit_type "QAbstractSocket::SocketError"
3185         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3187         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3188   ${body}}
3190         
3191         
3192         
3193       end
3195       operation 128590 "readyRead"
3196         stereotype "signal"
3197         protected explicit_return_type "void"
3198         nparams 0
3199         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3201         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3202   ${body}}
3204         
3205         
3206         
3207         comment "generalmente connesso allo slot StreamSocket::parseData()"
3208       end
3209     end
3211     class 128206 "QTcpServer"
3212       visibility package 
3213       cpp_decl "${comment}${template}class ${name}${inherit} {
3214 ${members}};
3215 ${inlines}
3217       java_decl ""
3218       php_decl ""
3219       idl_decl ""
3220       explicit_switch_type ""
3221       
3222       operation 128334 "newConnection"
3223         stereotype "signal"
3224         protected explicit_return_type "void"
3225         nparams 0
3226         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3228         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3229   ${body}}
3231         
3232         
3233         
3234       end
3235     end
3237     class 128718 "QHostAddress"
3238       visibility package 
3239       cpp_decl "${comment}${template}class ${name}${inherit} {
3240 ${members}};
3241 ${inlines}
3243       java_decl ""
3244       php_decl ""
3245       idl_decl ""
3246       explicit_switch_type ""
3247       
3248     end
3250     class 128078 "QHostInfo"
3251       visibility package 
3252       cpp_decl "${comment}${template}class ${name}${inherit} {
3253 ${members}};
3254 ${inlines}
3256       java_decl ""
3257       php_decl ""
3258       idl_decl ""
3259       explicit_switch_type ""
3260       
3261     end
3263     class 128462 "QXmlStreamReader"
3264       visibility package 
3265       cpp_decl "${comment}${template}class ${name}${inherit} {
3266 ${members}};
3267 ${inlines}
3269       java_decl ""
3270       php_decl ""
3271       idl_decl ""
3272       explicit_switch_type ""
3273       
3274     end
3276     class 128590 "QXmlStreamWriter"
3277       visibility package 
3278       cpp_decl "${comment}${template}class ${name}${inherit} {
3279 ${members}};
3280 ${inlines}
3282       java_decl ""
3283       php_decl ""
3284       idl_decl ""
3285       explicit_switch_type ""
3286       
3287     end
3289     class 128030 "StreamSocket"
3290       visibility package 
3291       cpp_decl "${comment}${template}class ${name}${inherit} {
3292 ${members}};
3293 ${inlines}
3295       java_decl ""
3296       php_decl ""
3297       idl_decl ""
3298       explicit_switch_type ""
3299       
3300       operation 128854 "StreamSocket"
3301         public explicit_return_type ""
3302         nparams 1
3303           param in name "socket" type class_ref 128334 // QTcpSocket
3304         cpp_decl "    ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
3306         cpp_def "${comment}${inline}${class}::${name}${(}const ${t0} & ${p0}${)}${volatile}${throw} {
3307   ${body}}
3309         
3310         
3311         
3312       end
3314       classrelation 128158 // <generalisation>
3315         relation 128158 ---|>
3316           stereotype "protected"
3317           a private
3318             cpp default "${type}"
3319             classrelation_ref 128158 // <generalisation>
3320           b parent class_ref 128462 // QXmlStreamReader
3321       end
3323       classrelation 128286 // <generalisation>
3324         relation 128286 ---|>
3325           stereotype "protected"
3326           a private
3327             cpp default "${type}"
3328             classrelation_ref 128286 // <generalisation>
3329           b parent class_ref 128590 // QXmlStreamWriter
3330       end
3332       classrelation 128414 // <directional composition>
3333         relation 128414 *-->
3334           a role_name "" protected
3335             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3337             classrelation_ref 128414 // <directional composition>
3338           b parent class_ref 128334 // QTcpSocket
3339       end
3341       operation 128153 "changeState"
3342         protected explicit_return_type "void"
3343         nparams 1
3344           param in name "state" explicit_type "ProtocolState"
3345         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3347         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3348   ${body}}
3350         
3351         
3352         
3353       end
3355       operation 128340 "sendChatMsg"
3356         stereotype "slot"
3357         public explicit_return_type "void"
3358         nparams 1
3359           param in name "msg" type class_ref 128440 // QString
3360         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3362         
3363         
3364         
3365       end
3367       operation 128468 "sendMove"
3368         stereotype "slot"
3369         public explicit_return_type "void"
3370         nparams 1
3371           param in name "move" type class_ref 129301 // Move
3372         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3374         
3375         
3376         
3377       end
3379       operation 128025 "openStream"
3380         stereotype "slot"
3381         cpp_virtual protected explicit_return_type "void"
3382         nparams 0
3383         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3385         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3386   ${body}}
3388         
3389         
3390         
3391       end
3393       operation 128114 "closeStream"
3394         stereotype "slot"
3395         cpp_virtual protected explicit_return_type "void"
3396         nparams 0
3397         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3399         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3400   ${body}}
3402         
3403         
3404         
3405       end
3407       operation 128754 "handleError"
3408         stereotype "slot"
3409         cpp_virtual protected explicit_return_type "void"
3410         nparams 1
3411           param in name "error" explicit_type "QAbstractSocket::SocketError"
3412         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3414         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3415   ${body}}
3417         
3418         
3419         
3420         comment "connesso al segnale error() del proprio QTcpSocket."
3421       end
3423       operation 128086 "parseData"
3424         stereotype "slot"
3425         cpp_virtual protected explicit_return_type "void"
3426         nparams 0
3427         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3429         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3430   ${body}}
3432         
3433         
3434         
3435         comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3436       end
3438       operation 128846 "playerJoined"
3439         stereotype "signal"
3440         protected explicit_return_type "void"
3441         nparams 3
3442           param in name "id" explicit_type "int"
3443           param in name "name" type class_ref 128440 // QString
3444           param in name "type" type class_ref 128440 // QString
3445         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${const}${volatile}${throw}${abstract};
3447         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3448   ${body}}
3450         
3451         
3452         
3453       end
3455       operation 128882 "playerLeft"
3456         stereotype "signal"
3457         protected explicit_return_type "void"
3458         nparams 1
3459           param in name "id" explicit_type "int"
3460         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3462         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3463   ${body}}
3465         
3466         
3467         
3468       end
3470       operation 128956 "receivedChatMsg"
3471         stereotype "signal"
3472         protected explicit_return_type "void"
3473         nparams 1
3474           param in name "msg" type class_ref 128440 // QString
3475         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3477         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3478   ${body}}
3480         
3481         
3482         
3483       end
3485       operation 128363 "receivedMove"
3486         stereotype "signal"
3487         protected explicit_return_type "void"
3488         nparams 1
3489           param in name "move" type class_ref 129301 // Move
3490         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3492         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3493   ${body}}
3495         
3496         
3497         
3498       end
3500       attribute 128025 "_supportedProtocolVersion"
3501         class_attribute const_attribute protected type class_ref 128440 // QString
3502         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3504         java_decl ""
3505         php_decl ""
3506         idl_decl ""
3507       end
3509       attribute 128030 "_socket"
3510         protected type class_ref 128334 // QTcpSocket
3511         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3513         java_decl ""
3514         php_decl ""
3515         idl_decl ""
3516       end
3518       attribute 128155 "_state"
3519         private explicit_type "ProtocolState"
3520         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3522         java_decl ""
3523         php_decl ""
3524         idl_decl ""
3525       end
3527       operation 129266 "startGame"
3528         stereotype "signal"
3529         protected explicit_return_type "void"
3530         nparams 0
3531         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3533         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3534   ${body}}
3536         
3537         
3538         
3539       end
3540     end
3542     class 128027 "ClientSocket"
3543       visibility package 
3544       cpp_decl "${comment}${template}class ${name}${inherit} {
3545 ${members}};
3546 ${inlines}
3548       java_decl ""
3549       php_decl ""
3550       idl_decl ""
3551       explicit_switch_type ""
3552       
3553       classrelation 128539 // <generalisation>
3554         relation 128411 ---|>
3555           a protected
3556             cpp default "${type}"
3557             classrelation_ref 128539 // <generalisation>
3558           b parent class_ref 128030 // StreamSocket
3559       end
3561       operation 128426 "joinGame"
3562         stereotype "slot"
3563         public explicit_return_type "void"
3564         nparams 2
3565           param in name "mode" type class_ref 128440 // QString
3566           param in name "name" type class_ref 128440 // QString
3567         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3569         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3570   ${body}}
3572         
3573         
3574         
3575       end
3577       operation 128124 "cancelJoin"
3578         stereotype "slot"
3579         public explicit_return_type "void"
3580         nparams 0
3581         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3583         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3584   ${body}}
3586         
3587         
3588         
3589       end
3591       operation 128370 "parseData"
3592         stereotype "slot"
3593         cpp_virtual protected explicit_return_type "void"
3594         nparams 0
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         comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3604       end
3606       operation 129010 "joinAccepted"
3607         stereotype "signal"
3608         protected explicit_return_type "void"
3609         nparams 1
3610           param in name "id" explicit_type "int"
3611         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3613         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3614   ${body}}
3616         
3617         
3618         
3619       end
3621       operation 129138 "joinRefused"
3622         stereotype "signal"
3623         protected explicit_return_type "void"
3624         nparams 1
3625           param inout name "cause" explicit_type "int"
3626         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3628         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3629   ${body}}
3631         
3632         
3633         
3634       end
3636       operation 128030 "receivedGameSettings"
3637         stereotype "signal"
3638         protected explicit_return_type "void"
3639         nparams 4
3640           param in name "d1" explicit_type "int"
3641           param in name "d2" explicit_type "int"
3642           param in name "timer" explicit_type "int"
3643           param in name "playing" explicit_type "bool"
3644         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}, ${t3} ${p3}${)}${const}${volatile}${throw}${abstract};
3646         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3647   ${body}}
3649         
3650         
3651         
3652       end
3654       operation 128380 "receivedHistory"
3655         stereotype "signal"
3656         protected explicit_return_type "void"
3657         nparams 1
3658           param in name "history" explicit_type "QList<Move>"
3659         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3661         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3662   ${body}}
3664         
3665         
3666         
3667       end
3668     end
3670     class 128155 "ServerSocket"
3671       visibility package 
3672       cpp_decl "${comment}${template}class ${name}${inherit} {
3673 ${members}};
3674 ${inlines}
3676       java_decl ""
3677       php_decl ""
3678       idl_decl ""
3679       explicit_switch_type ""
3680       
3681       classrelation 128667 // <generalisation>
3682         relation 128539 ---|>
3683           a protected
3684             cpp default "${type}"
3685             classrelation_ref 128667 // <generalisation>
3686           b parent class_ref 128030 // StreamSocket
3687       end
3689       operation 130301 "acceptJoin"
3690         stereotype "slot"
3691         public explicit_return_type "void"
3692         nparams 1
3693           param in name "id" explicit_type "int"
3694         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3696         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3697   ${body}}
3699         
3700         
3701         
3702       end
3704       operation 130429 "refuseJoin"
3705         stereotype "slot"
3706         public explicit_return_type "void"
3707         nparams 1
3708           param in name "cause" explicit_type "int"
3709         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3711         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3712   ${body}}
3714         
3715         
3716         
3717       end
3719       operation 128042 "sendGameSettings"
3720         stereotype "slot"
3721         public explicit_return_type "void"
3722         nparams 4
3723           param in name "d1" explicit_type "int"
3724           param in name "d2" explicit_type "int"
3725           param in name "timer" explicit_type "int"
3726           param in name "playing" explicit_type "bool"
3727         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3729         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3730   ${body}}
3732         
3733         
3734         
3735       end
3737       operation 128252 "sendHistory"
3738         stereotype "slot"
3739         public explicit_return_type "void"
3740         nparams 1
3741           param in name "history" explicit_type "QList<Move>"
3742         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3744         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3745   ${body}}
3747         
3748         
3749         
3750       end
3752       operation 128075 "sendPlayerJoined"
3753         stereotype "slot"
3754         public explicit_return_type "void"
3755         nparams 3
3756           param in name "id" explicit_type "int"
3757           param in name "name" type class_ref 128440 // QString
3758           param in name "type" type class_ref 128440 // QString
3759         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3761         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3762   ${body}}
3764         
3765         
3766         
3767       end
3769       operation 128203 "sendPlayerLeft"
3770         stereotype "slot"
3771         public explicit_return_type "void"
3772         nparams 1
3773           param in name "id" explicit_type "int"
3774         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3776         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3777   ${body}}
3779         
3780         
3781         
3782       end
3784       operation 129394 "sendStartGame"
3785         stereotype "slot"
3786         public explicit_return_type "void"
3787         nparams 0
3788         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3790         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3791   ${body}}
3793         
3794         
3795         
3796       end
3798       operation 128498 "parseData"
3799         stereotype "slot"
3800         cpp_virtual protected explicit_return_type "void"
3801         nparams 0
3802         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3804         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3805   ${body}}
3807         
3808         
3809         
3810         comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3811       end
3813       operation 130557 "joinRequested"
3814         stereotype "signal"
3815         protected explicit_return_type "void"
3816         nparams 2
3817           param in name "mode" type class_ref 128440 // QString
3818           param in name "name" type class_ref 128440 // QString
3819         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3821         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3822   ${body}}
3824         
3825         
3826         
3827       end
3828     end
3830     class 128070 "ProtocolState"
3831       visibility package stereotype "enum"
3832       cpp_decl "${comment}enum ${name} {
3833 ${items}
3836       java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
3837 ${items};
3838 ${members}}
3840       php_decl "${comment}final ${visibility}class ${name} {
3841 ${items}}
3843       idl_decl "${comment}enum ${name} {
3844 ${items}};
3846       explicit_switch_type ""
3847       
3848       attribute 128070 "Unconnected"
3849         public type class_ref 128070 // ProtocolState
3850         cpp_decl "  ${name}${value},${comment}"
3851         java_decl ""
3852         php_decl ""
3853         idl_decl ""
3854       end
3856       attribute 128198 "Listening"
3857         public type class_ref 128070 // ProtocolState
3858         cpp_decl "  ${name}${value},${comment}"
3859         java_decl ""
3860         php_decl ""
3861         idl_decl ""
3862       end
3864       attribute 128326 "Connecting"
3865         public type class_ref 128070 // ProtocolState
3866         cpp_decl "  ${name}${value},${comment}"
3867         java_decl ""
3868         php_decl ""
3869         idl_decl ""
3870       end
3872       attribute 128454 "Connected"
3873         public type class_ref 128070 // ProtocolState
3874         cpp_decl "  ${name}${value},${comment}"
3875         java_decl ""
3876         php_decl ""
3877         idl_decl ""
3878       end
3880       attribute 128582 "OpeningStream"
3881         public type class_ref 128070 // ProtocolState
3882         cpp_decl "  ${name}${value},${comment}"
3883         java_decl ""
3884         php_decl ""
3885         idl_decl ""
3886       end
3888       attribute 128710 "FullyOpened"
3889         public type class_ref 128070 // ProtocolState
3890         cpp_decl "  ${name}${value},${comment}"
3891         java_decl ""
3892         php_decl ""
3893         idl_decl ""
3894       end
3896       attribute 128838 "Idle"
3897         public type class_ref 128070 // ProtocolState
3898         cpp_decl "  ${name}${value},${comment}"
3899         java_decl ""
3900         php_decl ""
3901         idl_decl ""
3902       end
3903     end
3905     class 128054 "QMap"
3906       visibility package 
3907       nformals 2
3908       formal name "K" type "typename" explicit_default_value ""
3909         explicit_extends ""
3910       formal name "T" type "typename" explicit_default_value ""
3911         explicit_extends ""
3912       cpp_decl "${comment}${template}class ${name}${inherit} {
3913 ${members}};
3914 ${inlines}
3916       java_decl ""
3917       php_decl ""
3918       idl_decl ""
3919       explicit_switch_type ""
3920       
3921     end
3923     class 128182 "QList"
3924       visibility package 
3925       nformals 1
3926       formal name "T" type "typename" explicit_default_value ""
3927         explicit_extends ""
3928       cpp_decl "${comment}${template}class ${name}${inherit} {
3929 ${members}};
3930 ${inlines}
3932       java_decl ""
3933       php_decl ""
3934       idl_decl ""
3935       explicit_switch_type ""
3936       
3937     end
3939     class 128075 "QLinkedList"
3940       visibility package 
3941       nformals 1
3942       formal name "T" type "typename" explicit_default_value ""
3943         explicit_extends ""
3944       cpp_decl "${comment}${template}class ${name}${inherit} {
3945 ${members}};
3946 ${inlines}
3948       java_decl ""
3949       php_decl ""
3950       idl_decl ""
3951       explicit_switch_type ""
3952       
3953     end
3955     sequencediagram 128054 "InitSequence"
3956       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
3957       size A1
3958     end
3960     sequencediagram 128148 "GameLoopRun"
3961       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
3962       size A3
3963     end
3965     sequencediagram 128213 "HumanPlayer::move"
3966       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
3967       overlapping_bars size A3
3968     end
3970     sequencediagram 128027 "RemotePlayer::move"
3971       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
3972       overlapping_bars size A3
3973     end
3974   end
3976   package_ref 128002 // GUI
3978   package_ref 128258 // Core
3980   package_ref 128130 // Network
3982   package_ref 128386 // AI