Fixed a minor bug.
[GoMoku3D.git] / class_diagram / class_diagram.prj
blob816f38120fdb44496a881f4f10bf2a44cade48fc
1 format 49
2 "class_diagram"
3   revision 86
4   modified_by 60 "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 "ArchitetturaGlobale"
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 128393 "GUIDiagram"
61       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
62       size A3
63     end
65     classdiagram 128099 "3DDiagram"
66       draw_all_relations yes 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 128149 "PlayerDiagram"
76       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
77       size A4
78     end
80     classdiagram 128003 "AIDiagram"
81       draw_all_relations yes 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
82       size A3
83     end
85     classdiagram 128122 "NetworkDiagram"
86       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
87       size A3
88     end
90     classdiagram 129301 "SettingsHierarchy"
91       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
92       size A3
93     end
95     classdiagram 129429 "GameLoopView"
96       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
97       size A3
98     end
100     classdiagram 129557 "MiscCoreView"
101       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
102       size A3
103     end
105     classdiagram 129685 "ReducedGUIView"
106       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
107       size A3
108     end
110     classdiagram 128087 "AI_NetworkView"
111       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
112       size A3
113     end
115     class 128019 "QMainWindow"
116       visibility package 
117       cpp_decl ""
118       java_decl ""
119       php_decl ""
120       idl_decl ""
121       explicit_switch_type ""
122       
123     end
125     class 128533 "QWidget"
126       visibility package 
127       cpp_decl ""
128       java_decl ""
129       php_decl ""
130       idl_decl ""
131       explicit_switch_type ""
132       
133     end
135     class 128917 "MainWindow"
136       visibility package 
137       cpp_decl ""
138       java_decl ""
139       php_decl ""
140       idl_decl ""
141       explicit_switch_type ""
142       
143       classrelation 128019 // <generalisation>
144         relation 128019 ---|>
145           a public
146             classrelation_ref 128019 // <generalisation>
147           b parent class_ref 128019 // QMainWindow
148       end
150       attribute 129301 "_loop"
151         private type class_ref 130325 // GameLoop
152         cpp_decl ""
153         java_decl ""
154         php_decl ""
155         idl_decl ""
156       end
158       attribute 129173 "_net"
159         private type class_ref 130069 // Network
160         cpp_decl ""
161         java_decl ""
162         php_decl ""
163         idl_decl ""
164       end
166       attribute 129429 "_settings"
167         private type class_ref 130453 // SettingsManager
168         cpp_decl ""
169         java_decl ""
170         php_decl ""
171         idl_decl ""
172       end
174       attribute 128040 "_playersInfo"
175         private explicit_type "QList<PlayerInfo>"
176         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
178         java_decl ""
179         php_decl ""
180         idl_decl ""
181       end
183       attribute 128637 "_suggester"
184         private type class_ref 129720 // Suggester
185         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
187         java_decl ""
188         php_decl ""
189         idl_decl ""
190       end
192       attribute 128149 "_render"
193         private type class_ref 128661 // RenderWidget
194         cpp_decl ""
195         java_decl ""
196         php_decl ""
197         idl_decl ""
198       end
200       attribute 128277 "_chat"
201         private type class_ref 128789 // ChatWidget
202         cpp_decl ""
203         java_decl ""
204         php_decl ""
205         idl_decl ""
206       end
208       attribute 129976 "_history"
209         private type class_ref 129848 // HistoryModel
210         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
212         java_decl ""
213         php_decl ""
214         idl_decl ""
215       end
217       attribute 129848 "_timer"
218         private type class_ref 128381 // TimerWidget
219         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
221         java_decl ""
222         php_decl ""
223         idl_decl ""
224       end
226       attribute 128381 "_playersWidget"
227         private type class_ref 129021 // PlayersWidget
228         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
230         java_decl ""
231         php_decl ""
232         idl_decl ""
233       end
235       attribute 128188 "_historyView"
236         private type class_ref 128893 // QTableView
237         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
239         java_decl ""
240         php_decl ""
241         idl_decl ""
242       end
244       operation 129072 "MainWindow"
245         public explicit_return_type ""
246         nparams 0
247         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
249         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
250   ${body}}
252         
253         
254         
255       end
257       operation 128175 "loadGame"
258         stereotype "slot"
259         public explicit_return_type "void"
260         nparams 0
261         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
263         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
264   ${body}}
266         
267         
268         
269       end
271       operation 128047 "saveGame"
272         stereotype "slot"
273         public explicit_return_type "void"
274         nparams 0
275         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
277         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
278   ${body}}
280         
281         
282         
283       end
285       classrelation 128917 // <directional composition>
286         relation 128917 *-->
287           a role_name "" multiplicity "0..1" protected
288             classrelation_ref 128917 // <directional composition>
289           b parent class_ref 128789 // ChatWidget
290       end
292       classrelation 129045 // <directional composition>
293         relation 129045 *-->
294           a role_name "" multiplicity "0..1" protected
295             classrelation_ref 129045 // <directional composition>
296           b parent class_ref 128661 // RenderWidget
297       end
299       classrelation 128440 // <directional composition>
300         relation 128440 *-->
301           a role_name "" multiplicity "0..1" protected
302             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
304             classrelation_ref 128440 // <directional composition>
305           b parent class_ref 130069 // Network
306       end
308       classrelation 128568 // <directional composition>
309         relation 128568 *-->
310           a role_name "" protected
311             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
313             classrelation_ref 128568 // <directional composition>
314           b parent class_ref 129941 // AI
315       end
317       classrelation 128264 // <directional composition>
318         relation 128264 *-->
319           a role_name "" protected
320             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
322             classrelation_ref 128264 // <directional composition>
323           b parent class_ref 130453 // SettingsManager
324       end
326       classrelation 128262 // <directional composition>
327         relation 128262 *-->
328           a role_name "" protected
329             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
331             classrelation_ref 128262 // <directional composition>
332           b parent class_ref 130325 // GameLoop
333       end
335       operation 128392 "turn"
336         stereotype "slot"
337         public explicit_return_type "void"
338         nparams 1
339           param in name "playerId" explicit_type "int"
340         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
342         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
343   ${body}}
345         
346         
347         
348       end
350       operation 128361 "drawMove"
351         stereotype "slot"
352         public explicit_return_type "void"
353         nparams 1
354           param in name "move" type class_ref 129301 // Move
355         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
357         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
358   ${body}}
360         
361         
362         
363         comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
364       end
366       operation 128060 "undoMoves"
367         stereotype "slot"
368         public explicit_return_type "void"
369         nparams 1
370           param in name "index" explicit_type "QModelIndex"
371         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
373         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
374   ${body}}
376         
377         
378         
379         comment "disattiva la possibilità da parte dell'utente di eseguire mosse
380 resetta su render e game matrix le caselle indicate nella lista index+1..n
381 invoca setLastRound(index-2...index) su game matrix
382 setta su GameLoop il turno con setTurn(index+1.id())
383 toglie gli elementi index+1..n dalla history
384 invoca notifyMove(Point_null)
386       end
388       operation 128700 "showPastGameStatus"
389         stereotype "slot"
390         public explicit_return_type "void"
391         nparams 1
392           param in name "index" explicit_type "QModelIndex"
393         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
395         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
396   ${body}}
398         
399         
400         
401         comment "vedi pesablock, Ã¨ il gestore dell'evento history::clicked"
402       end
404       classrelation 130744 // <directional composition>
405         relation 130744 *-->
406           a role_name "" protected
407             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
409             classrelation_ref 130744 // <directional composition>
410           b parent class_ref 129848 // HistoryModel
411       end
413       classrelation 129533 // <directional composition>
414         relation 129533 *-->
415           a role_name "" multiplicity "0..1" protected
416             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
418             classrelation_ref 129533 // <directional composition>
419           b parent class_ref 129720 // Suggester
420       end
422       classrelation 128316 // <directional composition>
423         relation 128316 *-->
424           a role_name "" multiplicity "0..1" protected
425             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
427             classrelation_ref 128316 // <directional composition>
428           b parent class_ref 128381 // TimerWidget
429       end
431       classrelation 128572 // <directional composition>
432         relation 128572 *-->
433           a role_name "" protected
434             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
436             classrelation_ref 128572 // <directional composition>
437           b parent class_ref 129021 // PlayersWidget
438       end
440       classrelation 128700 // <directional composition>
441         relation 128700 *-->
442           a role_name "" protected
443             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
445             classrelation_ref 128700 // <directional composition>
446           b parent class_ref 128893 // QTableView
447       end
449       classrelation 128054 // <unidirectional association>
450         relation 128054 --->
451           a role_name "" multiplicity "0..3" private
452             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
454             classrelation_ref 128054 // <unidirectional association>
455           b parent class_ref 129976 // PlayerInfo
456       end
458       operation 129206 "newStandAloneGame"
459         stereotype "slot"
460         public explicit_return_type "void"
461         nparams 0
462         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
464         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
465   ${body}}
467         
468         
469         
470       end
472       operation 128081 "connectToServer"
473         stereotype "slot"
474         public explicit_return_type "void"
475         nparams 2
476           param in name "ip" type class_ref 128440 // QString
477           param in name "port" type class_ref 128440 // QString
478         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
480         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
481   ${body}}
483         
484         
485         
486       end
488       operation 128721 "newOnlineGame"
489         stereotype "slot"
490         public explicit_return_type "void"
491         nparams 0
492         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
494         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
495   ${body}}
497         
498         
499         
500       end
502       operation 128849 "newServerGame"
503         stereotype "slot"
504         public explicit_return_type "void"
505         nparams 0
506         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
508         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
509   ${body}}
511         
512         
513         
514       end
516       operation 128020 "playerWin"
517         stereotype "slot"
518         public explicit_return_type "void"
519         nparams 1
520           param in name "playerId" explicit_type "int"
521         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
523         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
524   ${body}}
526         
527         
528         
529       end
531       operation 128276 "playersDraw"
532         stereotype "slot"
533         public explicit_return_type "void"
534         nparams 1
535           param in name "playersIds" explicit_type "QList<int>"
536         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
538         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
539   ${body}}
541         
542         
543         
544       end
546       operation 130360 "forceMove"
547         stereotype "signal"
548         protected explicit_return_type "void"
549         nparams 0
550         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
552         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
553   ${body}}
555         
556         
557         
558         comment "connesso allo slot GameLoop::forceMove()"
559       end
561       classrelation 128113 // <unidirectional association>
562         relation 128113 --->
563           a role_name "" protected
564             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
566             classrelation_ref 128113 // <unidirectional association>
567           b parent class_ref 128467 // StandAloneDialog
568       end
570       classrelation 128241 // <unidirectional association>
571         relation 128241 --->
572           a role_name "" protected
573             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
575             classrelation_ref 128241 // <unidirectional association>
576           b parent class_ref 128081 // OnlineDialog
577       end
579       classrelation 128369 // <unidirectional association>
580         relation 128369 --->
581           a role_name "" protected
582             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
584             classrelation_ref 128369 // <unidirectional association>
585           b parent class_ref 128723 // ServerSettingsDialog
586       end
587     end
589     class 128661 "RenderWidget"
590       visibility package 
591       cpp_decl "${comment}${template}class ${name}${inherit} {
592 ${members}};
593 ${inlines}
595       java_decl ""
596       php_decl ""
597       idl_decl ""
598       explicit_switch_type ""
599       
600       associated_diagram classdiagram_ref 128021 // Global
601       classrelation 128277 // <generalisation>
602         relation 128277 ---|>
603           a public
604             classrelation_ref 128277 // <generalisation>
605           b parent class_ref 128533 // QWidget
606       end
608       attribute 128060 "DefaultCubeColor"
609         class_attribute const_attribute public type class_ref 128253 // QColor
610         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
612         java_decl ""
613         php_decl ""
614         idl_decl ""
615       end
617       attribute 128107 "_renderArea"
618         private type class_ref 128099 // CubeRenderArea
619         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
621         java_decl ""
622         php_decl ""
623         idl_decl ""
624       end
626       operation 128105 "RenderWidget"
627         public explicit_return_type ""
628         nparams 2
629           param in name "parent" explicit_type "QWidget*"
630           param in name "dim" explicit_type "int"
631         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
633         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
634   ${body}}
636         
637         
638         
639       end
641       operation 129385 "acceptMove"
642         public explicit_return_type "void"
643         nparams 1
644           param in name "value" explicit_type "bool"
645         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
647         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
648   ${body}}
650         
651         
652         
653       end
655       operation 128824 "drawMove"
656         public explicit_return_type "bool"
657         nparams 2
658           param in name "point" type class_ref 129173 // Point
659           param in name "color" type class_ref 128253 // QColor
660         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
662         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
663   ${body}}
665         
666         
667         
668         comment "true se la mossa Ã¨ valida altrimenti false
669 chiama il metodo statico di GameMatrix per sapere se la mossa Ã¨ valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
670       end
672       operation 128828 "uncheckedDraw"
673         public explicit_return_type "void"
674         nparams 2
675           param in name "pointList" explicit_type "QList<Point>"
676           param in name "colorList" explicit_type "QList<QColor>"
677             defaultvalue "0"
678         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
680         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
681   ${body}}
683         
684         
685         
686         comment "se colorList==0 allora usa defaultCubeColor"
687       end
689       operation 128099 "setAntiAliasing"
690         public explicit_return_type "void"
691         nparams 1
692           param in name "value" explicit_type "int"
693         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
695         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
696   ${body}}
698         
699         
700         
701         comment "controlla l'accumulation buffer e setta l'antialiasing"
702       end
704       operation 131000 "highlightPoint"
705         stereotype "slot"
706         public explicit_return_type "void"
707         nparams 1
708           param in name "point" type class_ref 129173 // Point
709         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
711         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
712   ${body}}
714         
715         
716         
717         comment "chiama la selectCube di CubeRenderArea"
718       end
720       classrelation 128099 // <directional composition>
721         relation 128099 *-->
722           a role_name "" multiplicity "0..1" protected
723             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
725             classrelation_ref 128099 // <directional composition>
726           b parent class_ref 128099 // CubeRenderArea
727       end
728     end
730     class 128789 "ChatWidget"
731       visibility package 
732       cpp_decl ""
733       java_decl ""
734       php_decl ""
735       idl_decl ""
736       explicit_switch_type ""
737       
738       operation 128944 "ChatWidget"
739         public explicit_return_type ""
740         nparams 1
741           param in name "parent" explicit_type "QWidget*"
742         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
744         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
745   ${body}}
747         
748         
749         
750       end
752       operation 128235 "displayText"
753         stereotype "slot"
754         public explicit_return_type "void"
755         nparams 1
756           param in name "text" type class_ref 128440 // QString
757         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
759         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
760   ${body}}
762         
763         
764         
765       end
767       operation 128211 "returnEntered"
768         stereotype "slot"
769         private explicit_return_type "void"
770         nparams 0
771         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
773         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
774   ${body}}
776         
777         
778         
779       end
781       operation 128107 "textEntered"
782         stereotype "signal"
783         protected explicit_return_type "void"
784         nparams 1
785           param in name "text" type class_ref 128440 // QString
786         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
788         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
789   ${body}}
791         
792         
793         
794       end
796       classrelation 128122 // <generalisation>
797         relation 128122 ---|>
798           a public
799             cpp default "${type}"
800             classrelation_ref 128122 // <generalisation>
801           b parent class_ref 128533 // QWidget
802       end
803     end
805     class 129045 "Player"
806       abstract visibility package 
807       cpp_decl ""
808       java_decl ""
809       php_decl ""
810       idl_decl ""
811       explicit_switch_type ""
812       
813       operation 128617 "Player"
814         public explicit_return_type ""
815         nparams 1
816           param in name "id" explicit_type "int"
817         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
819         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
820   ${body}}
822         
823         
824         
825       end
827       attribute 128168 "_id"
828         const_attribute private explicit_type "int"
829         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
831         java_decl ""
832         php_decl ""
833         idl_decl ""
834       end
836       operation 128040 "id"
837         const public explicit_return_type "int"
838         nparams 0
839         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
841         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
842   ${body}}
844         
845         
846         
847       end
849       operation 128184 "move"
850         public return_type class_ref 129301 // Move
851         nparams 0
852         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
854         
855         
856         
857       end
859       operation 129155 "doMove"
860         abstract cpp_virtual protected return_type class_ref 129173 // Point
861         nparams 0
862         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
864         
865         
866         
867       end
868     end
870     class 129173 "Point"
871       visibility package 
872       cpp_decl ""
873       java_decl ""
874       php_decl ""
875       idl_decl ""
876       explicit_switch_type ""
877       
878       attribute 128184 "_x"
879         private explicit_type "int"
880         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
882         java_decl ""
883         php_decl ""
884         idl_decl ""
885       end
887       attribute 128312 "_y"
888         private explicit_type "int"
889         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
891         java_decl ""
892         php_decl ""
893         idl_decl ""
894       end
896       attribute 128440 "_z"
897         private explicit_type "int"
898         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
900         java_decl ""
901         php_decl ""
902         idl_decl ""
903       end
905       operation 128875 "Point"
906         public explicit_return_type ""
907         nparams 3
908           param in name "x" explicit_type "int"
909           param in name "y" explicit_type "int"
910           param in name "z" explicit_type "int"
911         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
913         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
914   ${body}}
916         
917         
918         
919       end
921       operation 128378 "isValid"
922         const public explicit_return_type "bool"
923         nparams 0
924         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
926         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
927   ${body}}
929         
930         
931         
932         comment "return true sse il Point this Ã¨ minore della dimensione di GameMatrix."
933       end
935       operation 129282 "isNull"
936         public explicit_return_type "bool"
937         nparams 0
938         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
940         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
941   ${body}}
943         
944         
945         
946         comment "return true iff this == (-1, -1, -1)
947 else return false"
948       end
949     end
951     class 129301 "Move"
952       visibility package 
953       cpp_decl ""
954       java_decl ""
955       php_decl ""
956       idl_decl ""
957       explicit_switch_type ""
958       
959       classrelation 129173 // <directional composition>
960         relation 129173 *-->
961           a role_name "" protected
962             classrelation_ref 129173 // <directional composition>
963           b parent class_ref 129173 // Point
964       end
966       attribute 128405 "_playerId"
967         private explicit_type "int"
968         cpp_decl ""
969         java_decl ""
970         php_decl ""
971         idl_decl ""
972       end
974       attribute 128533 "_coord"
975         private type class_ref 129173 // Point
976         cpp_decl ""
977         java_decl ""
978         php_decl ""
979         idl_decl ""
980       end
982       operation 129641 "Move"
983         public explicit_return_type ""
984         nparams 2
985           param in name "id" explicit_type "int"
986           param in name "p" type class_ref 129173 // Point
987         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
989         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
990   ${body}}
992         
993         
994         
995       end
997       operation 128250 "isValid"
998         const public explicit_return_type "bool"
999         nparams 0
1000         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1002         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1003   ${body}}
1005         
1006         
1007         
1008         comment "return GameMatrix::check(this._coord);"
1009       end
1010     end
1012     class 129557 "GameMatrix"
1013       visibility package 
1014       cpp_decl ""
1015       java_decl ""
1016       php_decl ""
1017       idl_decl ""
1018       explicit_switch_type ""
1019       
1020       comment "istanziata da MainWindow e passata poi a GameLoop"
1021       attribute 128042 "EmptyPoint"
1022         class_attribute const_attribute public explicit_type "int"
1023         init_value "-1"
1024         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1026         java_decl ""
1027         php_decl ""
1028         idl_decl ""
1029       end
1031       attribute 128084 "_instance"
1032         class_attribute private explicit_type "GameMatrix*"
1033         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1035         java_decl ""
1036         php_decl ""
1037         idl_decl ""
1038       end
1040       attribute 128873 "_lastRound"
1041         private explicit_type "QList<Point>"
1042         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1044         java_decl ""
1045         php_decl ""
1046         idl_decl ""
1047         comment "/buffer delle ultime mosse da rivedere"
1048       end
1050       attribute 129129 "_d1"
1051         private explicit_type "int"
1052         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1054         java_decl ""
1055         php_decl ""
1056         idl_decl ""
1057       end
1059       attribute 129257 "_d2"
1060         private explicit_type "int"
1061         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1063         java_decl ""
1064         php_decl ""
1065         idl_decl ""
1066       end
1068       attribute 128148 "_freeCounter"
1069         private explicit_type "int"
1070         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1072         java_decl ""
1073         php_decl ""
1074         idl_decl ""
1075       end
1077       operation 130104 "GameMatrix"
1078         private explicit_return_type ""
1079         nparams 3
1080           param in name "d1" explicit_type "int"
1081           param in name "d2" explicit_type "int"
1082           param in name "numPlayers" explicit_type "int"
1083         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1085         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1086   ${body}}
1088         
1089         
1090         
1091       end
1093       operation 129166 "create"
1094         class_operation public explicit_return_type "GameMatrix*"
1095         nparams 3
1096           param in name "d1" explicit_type "int"
1097           param in name "d2" explicit_type "int"
1098           param in name "numPlayers" explicit_type "int"
1099         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1101         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1102   ${body}}
1104         
1105         
1106         
1107       end
1109       operation 129294 "destroy"
1110         class_operation public explicit_return_type "void"
1111         nparams 0
1112         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1114         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1115   ${body}}
1117         
1118         
1119         
1120       end
1122       operation 129620 "instance"
1123         class_operation public explicit_return_type "GameMatrix*"
1124         nparams 0
1125         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1127         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1128   ${body}}
1130         
1131         
1132         
1133       end
1135       operation 129513 "add"
1136         public explicit_return_type "bool"
1137         nparams 1
1138           param in name "move" type class_ref 129301 // Move
1139         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1141         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1142   ${body}}
1144         
1145         
1146         
1147         comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1148       end
1150       operation 128554 "clear"
1151         public explicit_return_type "void"
1152         nparams 1
1153           param in name "point" type class_ref 129173 // Point
1154         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1156         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1157   ${body}}
1159         
1160         
1161         
1162       end
1164       operation 129748 "check"
1165         class_operation public explicit_return_type "bool"
1166         nparams 1
1167           param in name "point" type class_ref 129173 // Point
1168         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1170         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1171   ${body}}
1173         
1174         
1175         
1176       end
1178       operation 130952 "elementAt"
1179         public explicit_return_type "int"
1180         nparams 1
1181           param in name "point" type class_ref 129173 // Point
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 131080 "elementAt"
1193         public explicit_return_type "int"
1194         nparams 3
1195           param in name "x" explicit_type "int"
1196           param in name "y" explicit_type "int"
1197           param in name "z" explicit_type "int"
1198         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1200         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1201   ${body}}
1203         
1204         
1205         
1206       end
1208       operation 128404 "isFull"
1209         const public explicit_return_type "bool"
1210         nparams 0
1211         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1213         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1214   ${body}}
1216         
1217         
1218         
1219       end
1221       operation 130232 "numberOfPlayers"
1222         public explicit_return_type "int"
1223         nparams 0
1224         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1226         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1227   ${body}}
1229         
1230         
1231         
1232         comment "lastRound.size()"
1233       end
1235       operation 128188 "setLastRound"
1236         public explicit_return_type "void"
1237         nparams 1
1238           param in name "round" explicit_type "QList<Point>"
1239         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1241         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1242   ${body}}
1244         
1245         
1246         
1247       end
1249       attribute 128083 "_matrix"
1250         private explicit_type "int*"
1251         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1253         java_decl ""
1254         php_decl ""
1255         idl_decl ""
1256       end
1258       operation 128011 "extractCC"
1259         private explicit_return_type "void"
1260         nparams 3
1261           param in name "p" type class_ref 129173 // Point
1262           param in name "id" explicit_type "int"
1263           param inout name "set" explicit_type "QSet<Point>"
1264         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1266         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1267   ${body}}
1269         
1270         
1271         
1272       end
1273     end
1275     class 129813 "QWaitCondition"
1276       visibility package 
1277       cpp_decl ""
1278       java_decl ""
1279       php_decl ""
1280       idl_decl ""
1281       explicit_switch_type ""
1282       
1283       operation 130025 "wait"
1284         public explicit_return_type "bool"
1285         nparams 2
1286           param in name "lock" type class_ref 130837 // QMutex
1287           param in name "timeout" explicit_type "unsigned long"
1288         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1290         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1291   ${body}}
1293         
1294         
1295         
1296       end
1298       operation 130153 "wakeOne"
1299         public explicit_return_type "void"
1300         nparams 0
1301         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1303         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1304   ${body}}
1306         
1307         
1308         
1309       end
1310     end
1312     class 129941 "AI"
1313       abstract visibility package 
1314       cpp_decl ""
1315       java_decl ""
1316       php_decl ""
1317       idl_decl ""
1318       explicit_switch_type ""
1319       
1320       attribute 128296 "_playerId"
1321         const_attribute private explicit_type "int"
1322         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1324         java_decl ""
1325         php_decl ""
1326         idl_decl ""
1327       end
1329       operation 128084 "AI"
1330         public explicit_return_type ""
1331         nparams 1
1332           param in name "id" explicit_type "int"
1333         
1334         
1335         
1336         
1337       end
1339       operation 128078 "~AI"
1340         cpp_virtual public explicit_return_type ""
1341         nparams 0
1342         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1344         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1345   ${body}}
1347         
1348         
1349         
1350       end
1352       operation 128212 "move"
1353         abstract cpp_virtual public return_type class_ref 129173 // Point
1354         nparams 1
1355           param in name "level" explicit_type "int"
1356         
1357         
1358         
1359         
1360       end
1362       operation 129976 "forceMove"
1363         abstract cpp_virtual public explicit_return_type "void"
1364         nparams 0
1365         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1367         
1368         
1369         
1370       end
1372       operation 130819 "movesUndone"
1373         abstract cpp_virtual public explicit_return_type "void"
1374         nparams 0
1375         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1377         
1378         
1379         
1380       end
1382       operation 130691 "playerId"
1383         public explicit_return_type "int"
1384         nparams 0
1385         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1387         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1388   ${body}}
1390         
1391         
1392         
1393       end
1394     end
1396     class 130069 "Network"
1397       abstract visibility package 
1398       cpp_decl ""
1399       java_decl ""
1400       php_decl ""
1401       idl_decl ""
1402       explicit_switch_type ""
1403       
1404       operation 129980 "Network"
1405         public explicit_return_type ""
1406         nparams 1
1407           param in name "gui" explicit_type "QWidget*"
1408         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1410         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1411   ${body}}
1413         
1414         
1415         
1416       end
1418       operation 129395 "~Network"
1419         cpp_virtual public explicit_return_type ""
1420         nparams 0
1421         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1423         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1424   ${body}}
1426         
1427         
1428         
1429       end
1431       operation 128122 "requestMove"
1432         abstract cpp_virtual public return_type class_ref 129173 // Point
1433         nparams 0
1434         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1436         
1437         
1438         
1439       end
1441       attribute 129340 "_gui"
1442         private explicit_type "QWidget*"
1443         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1445         java_decl ""
1446         php_decl ""
1447         idl_decl ""
1448       end
1450       operation 129168 "setupChat"
1451         abstract cpp_virtual public explicit_return_type "void"
1452         nparams 1
1453           param in name "widget" explicit_type "ChatWidget*"
1454         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1456         
1457         
1458         
1459       end
1460     end
1462     class 130197 "QThread"
1463       abstract visibility package 
1464       cpp_decl ""
1465       java_decl ""
1466       php_decl ""
1467       idl_decl ""
1468       explicit_switch_type ""
1469       
1470       operation 128319 "start"
1471         public explicit_return_type "void"
1472         nparams 0
1473         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1475         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1476   ${body}}
1478         
1479         
1480         
1481       end
1483       operation 128393 "run"
1484         abstract cpp_virtual protected explicit_return_type "void"
1485         nparams 0
1486         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1488         
1489         
1490         
1491       end
1492     end
1494     class 130325 "GameLoop"
1495       visibility package 
1496       cpp_decl ""
1497       java_decl ""
1498       php_decl ""
1499       idl_decl ""
1500       explicit_switch_type ""
1501       
1502       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."
1503       classrelation 130069 // <realization>
1504         relation 130069 -_-|>
1505           a public
1506             classrelation_ref 130069 // <realization>
1507           b parent class_ref 130197 // QThread
1508       end
1510       attribute 129592 "_currentPlayer"
1511         private explicit_type "Player*"
1512         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1514         java_decl ""
1515         php_decl ""
1516         idl_decl ""
1517         comment "mantenuto consistente per poter effettuare la forceMove()"
1518       end
1520       attribute 128264 "_players"
1521         private explicit_type "QList<Player*>"
1522         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1524         java_decl ""
1525         php_decl ""
1526         idl_decl ""
1527       end
1529       attribute 128101 "_resetLoop"
1530         private explicit_type "bool"
1531         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1533         java_decl ""
1534         php_decl ""
1535         idl_decl ""
1536       end
1538       attribute 128020 "_winStatus"
1539         private explicit_type "QList<bool>"
1540         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1542         java_decl ""
1543         php_decl ""
1544         idl_decl ""
1545         comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1546       end
1548       operation 128054 "GameLoop"
1549         public explicit_return_type ""
1550         nparams 1
1551           param in name "players" explicit_type "QList<Player>"
1552         cpp_decl "    ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1554         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1555   ${body}}
1557         
1558         
1559         
1560       end
1562       operation 128316 "setTurn"
1563         public explicit_return_type "void"
1564         nparams 1
1565           param in name "plyUndone" explicit_type "int"
1566         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1568         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1569   ${body}}
1571         
1572         
1573         
1574       end
1576       operation 129781 "onLoadSetTurn"
1577         public explicit_return_type "void"
1578         nparams 1
1579           param in name "id" explicit_type "int"
1580         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1582         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1583   ${body}}
1585         
1586         
1587         
1588       end
1590       operation 130488 "forceMove"
1591         stereotype "slot"
1592         public explicit_return_type "void"
1593         nparams 0
1594         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1596         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1597   ${body}}
1599         
1600         
1601         
1602       end
1604       operation 128520 "run"
1605         protected explicit_return_type "void"
1606         nparams 0
1607         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1609         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1610   ${body}}
1612         
1613         
1614         
1615       end
1617       operation 128233 "moved"
1618         stereotype "signal"
1619         protected explicit_return_type "void"
1620         nparams 1
1621           param in name "move" type class_ref 129301 // Move
1622         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1624         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1625   ${body}}
1627         
1628         
1629         
1630       end
1632       operation 128264 "turn"
1633         stereotype "signal"
1634         protected explicit_return_type "void"
1635         nparams 1
1636           param in name "playerId" explicit_type "int"
1637         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1639         
1640         
1641         
1642       end
1644       operation 128148 "win"
1645         stereotype "signal"
1646         protected explicit_return_type "void"
1647         nparams 1
1648           param in name "playerId" explicit_type "int"
1649         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1651         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1652   ${body}}
1654         
1655         
1656         
1657       end
1659       operation 128532 "draw"
1660         stereotype "signal"
1661         protected explicit_return_type "void"
1662         nparams 1
1663           param in name "playersIds" explicit_type "QList<int>"
1664         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1666         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1667   ${body}}
1669         
1670         
1671         
1672       end
1674       classrelation 128042 // <directional composition>
1675         relation 128042 *-->
1676           a role_name "" multiplicity "2..3" protected
1677             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1679             classrelation_ref 128042 // <directional composition>
1680           b parent class_ref 129045 // Player
1681       end
1683       classrelation 129980 // <unidirectional association>
1684         relation 129980 --->
1685           a role_name "" protected
1686             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1688             classrelation_ref 129980 // <unidirectional association>
1689           b parent class_ref 129557 // GameMatrix
1690       end
1691     end
1693     class 130709 "SyncSharedCondition"
1694       visibility package 
1695       cpp_decl ""
1696       java_decl ""
1697       php_decl ""
1698       idl_decl ""
1699       explicit_switch_type ""
1700       
1701       attribute 128063 "_instance"
1702         class_attribute private explicit_type "SyncSharedCondition*"
1703         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1705         java_decl ""
1706         php_decl ""
1707         idl_decl ""
1708       end
1710       attribute 128105 "_point"
1711         private type class_ref 129173 // Point
1712         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1714         java_decl ""
1715         php_decl ""
1716         idl_decl ""
1717       end
1719       attribute 129557 "_waitCond"
1720         private type class_ref 129813 // QWaitCondition
1721         cpp_decl ""
1722         java_decl ""
1723         php_decl ""
1724         idl_decl ""
1725       end
1727       operation 128191 "SyncSharedCondition"
1728         private explicit_return_type ""
1729         nparams 0
1730         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1732         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1733   ${body}}
1735         
1736         
1737         
1738       end
1740       operation 128063 "instance"
1741         class_operation public explicit_return_type "SyncSharedCondition*"
1742         nparams 0
1743         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1745         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1746   ${body}}
1748         
1749         
1750         
1751       end
1753       operation 129129 "waitForMove"
1754         public return_type class_ref 129173 // Point
1755         nparams 0
1756         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1758         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1759   ${body}}
1761         
1762         
1763         
1764       end
1766       operation 129257 "notifyMove"
1767         public explicit_return_type "void"
1768         nparams 1
1769           param in name "p" type class_ref 129173 // Point
1770         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1772         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1773   ${body}}
1775         
1776         
1777         
1778       end
1780       classrelation 128105 // <generalisation>
1781         relation 128105 ---|>
1782           a public
1783             cpp default "${type}"
1784             classrelation_ref 128105 // <generalisation>
1785           b parent class_ref 130837 // QMutex
1786       end
1788       classrelation 128168 // <directional composition>
1789         relation 128168 *-->
1790           a role_name "" protected
1791             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1793             classrelation_ref 128168 // <directional composition>
1794           b parent class_ref 129813 // QWaitCondition
1795       end
1796     end
1798     class 130837 "QMutex"
1799       visibility package 
1800       cpp_decl ""
1801       java_decl ""
1802       php_decl ""
1803       idl_decl ""
1804       explicit_switch_type ""
1805       
1806       operation 129769 "lock"
1807         public explicit_return_type "void"
1808         nparams 0
1809         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1811         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1812   ${body}}
1814         
1815         
1816         
1817       end
1819       operation 129897 "unlock"
1820         public explicit_return_type "void"
1821         nparams 0
1822         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1824         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1825   ${body}}
1827         
1828         
1829         
1830       end
1831     end
1833     class 128056 "HumanPlayer"
1834       visibility package 
1835       cpp_decl "${comment}${template}class ${name}${inherit} {
1836 ${members}};
1837 ${inlines}
1839       java_decl ""
1840       php_decl ""
1841       idl_decl ""
1842       explicit_switch_type ""
1843       
1844       operation 128745 "HumanPlayer"
1845         public explicit_return_type ""
1846         nparams 2
1847           param in name "id" explicit_type "int"
1848           param in name "render" explicit_type "RenderWidget*"
1849         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1851         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1852   ${body}}
1854         
1855         
1856         
1857       end
1859       operation 129283 "doMove"
1860         cpp_virtual protected return_type class_ref 129173 // Point
1861         nparams 0
1862         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1864         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1865   ${body}}
1867         
1868         
1869         
1870       end
1872       attribute 128233 "_render"
1873         private explicit_type "RenderWidget*"
1874         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1876         java_decl ""
1877         php_decl ""
1878         idl_decl ""
1879       end
1881       classrelation 128361 // <realization>
1882         relation 128361 -_-|>
1883           a public
1884             cpp default "${type}"
1885             classrelation_ref 128361 // <realization>
1886           b parent class_ref 129045 // Player
1887       end
1888     end
1890     class 128184 "RemotePlayer"
1891       visibility package 
1892       cpp_decl "${comment}${template}class ${name}${inherit} {
1893 ${members}};
1894 ${inlines}
1896       java_decl ""
1897       php_decl ""
1898       idl_decl ""
1899       explicit_switch_type ""
1900       
1901       operation 128873 "RemotePlayer"
1902         public explicit_return_type ""
1903         nparams 2
1904           param in name "id" explicit_type "int"
1905           param in name "net" explicit_type "Network*"
1906         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1908         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1909   ${body}}
1911         
1912         
1913         
1914       end
1916       operation 129411 "doMove"
1917         cpp_virtual protected return_type class_ref 129173 // Point
1918         nparams 0
1919         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1921         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1922   ${body}}
1924         
1925         
1926         
1927       end
1929       attribute 128361 "_net"
1930         private explicit_type "Network*"
1931         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1933         java_decl ""
1934         php_decl ""
1935         idl_decl ""
1936       end
1938       classrelation 128489 // <realization>
1939         relation 128489 -_-|>
1940           a public
1941             cpp default "${type}"
1942             classrelation_ref 128489 // <realization>
1943           b parent class_ref 129045 // Player
1944       end
1945     end
1947     class 128312 "AIPlayer"
1948       visibility package 
1949       cpp_decl "${comment}${template}class ${name}${inherit} {
1950 ${members}};
1951 ${inlines}
1953       java_decl ""
1954       php_decl ""
1955       idl_decl ""
1956       explicit_switch_type ""
1957       
1958       classrelation 128617 // <realization>
1959         relation 128617 -_-|>
1960           a public
1961             cpp default "${type}"
1962             classrelation_ref 128617 // <realization>
1963           b parent class_ref 129045 // Player
1964       end
1966       classrelation 128216 // <directional composition>
1967         relation 128216 *-->
1968           a role_name "" protected
1969             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1971             classrelation_ref 128216 // <directional composition>
1972           b parent class_ref 129941 // AI
1973       end
1975       attribute 128386 "_DefaultSkill"
1976         class_attribute const_attribute private explicit_type "int"
1977         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1979         java_decl ""
1980         php_decl ""
1981         idl_decl ""
1982       end
1984       attribute 128258 "_skill"
1985         private explicit_type "int"
1986         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1988         java_decl ""
1989         php_decl ""
1990         idl_decl ""
1991       end
1993       attribute 128216 "_ai"
1994         private type class_ref 129941 // AI
1995         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1997         java_decl ""
1998         php_decl ""
1999         idl_decl ""
2000       end
2002       operation 129001 "AIPlayer"
2003         public explicit_return_type ""
2004         nparams 1
2005           param in name "id" explicit_type "int"
2006         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2008         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2009   ${body}}
2011         
2012         
2013         
2014         comment "inizializza skill con la costante di classe DefaultSkill"
2015       end
2017       operation 129539 "doMove"
2018         cpp_virtual protected return_type class_ref 129173 // Point
2019         nparams 0
2020         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2022         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2023   ${body}}
2025         
2026         
2027         
2028       end
2030       operation 129410 "forceMove"
2031         public explicit_return_type "void"
2032         nparams 0
2033         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2035         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2036   ${body}}
2038         
2039         
2040         
2041       end
2043       operation 128002 "skill"
2044         const public explicit_return_type "int"
2045         nparams 0
2046         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2048         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2049   ${body}}
2051         
2052         
2053         
2054       end
2056       operation 128130 "setSkill"
2057         public explicit_return_type "void"
2058         nparams 1
2059           param in name "skill" explicit_type "int"
2060         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2062         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2063   ${body}}
2065         
2066         
2067         
2068       end
2070       operation 130704 "undoMove"
2071         stereotype "slot"
2072         public explicit_return_type "void"
2073         nparams 0
2074         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2076         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2077   ${body}}
2079         
2080         
2081         
2082       end
2083     end
2085     class 129720 "Suggester"
2086       visibility package 
2087       cpp_decl "${comment}${template}class ${name}${inherit} {
2088 ${members}};
2089 ${inlines}
2091       java_decl ""
2092       php_decl ""
2093       idl_decl ""
2094       explicit_switch_type ""
2095       
2096       classrelation 130616 // <realization>
2097         relation 130616 -_-|>
2098           a public
2099             cpp default "${type}"
2100             classrelation_ref 130616 // <realization>
2101           b parent class_ref 130197 // QThread
2102       end
2104       attribute 128130 "_SuggestedMoveLevel"
2105         class_attribute const_attribute private explicit_type "int"
2106         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2108         java_decl ""
2109         php_decl ""
2110         idl_decl ""
2111       end
2113       attribute 128088 "_ai"
2114         private type class_ref 129941 // AI
2115         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2117         java_decl ""
2118         php_decl ""
2119         idl_decl ""
2120       end
2122       operation 130744 "Suggester"
2123         public explicit_return_type ""
2124         nparams 1
2125           param in name "id" explicit_type "int"
2126         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2128         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2129   ${body}}
2131         
2132         
2133         
2134       end
2136       operation 128010 "~Suggester"
2137         public explicit_return_type ""
2138         nparams 0
2139         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2141         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2142   ${body}}
2144         
2145         
2146         
2147       end
2149       operation 128056 "suggestMove"
2150         public return_type class_ref 129173 // Point
2151         nparams 0
2152         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2154         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2155   ${body}}
2157         
2158         
2159         
2160       end
2162       operation 130616 "run"
2163         protected explicit_return_type "void"
2164         nparams 0
2165         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2167         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2168   ${body}}
2170         
2171         
2172         
2173       end
2175       operation 130872 "suggestedMoveReady"
2176         stereotype "signal"
2177         protected explicit_return_type "void"
2178         nparams 1
2179           param in name "point" type class_ref 129173 // Point
2180         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2182         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2183   ${body}}
2185         
2186         
2187         
2188       end
2190       classrelation 128088 // <directional composition>
2191         relation 128088 *-->
2192           a role_name "" protected
2193             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2195             classrelation_ref 128088 // <directional composition>
2196           b parent class_ref 129941 // AI
2197       end
2198     end
2200     class 129848 "HistoryModel"
2201       visibility package 
2202       cpp_decl "${comment}${template}class ${name}${inherit} {
2203 ${members}};
2204 ${inlines}
2206       java_decl ""
2207       php_decl ""
2208       idl_decl ""
2209       explicit_switch_type ""
2210       
2211       classrelation 128637 // <realization>
2212         relation 128637 -_-|>
2213           a public
2214             cpp default "${type}"
2215             classrelation_ref 128637 // <realization>
2216           b parent class_ref 128509 // QAbstractTableModel
2217       end
2219       attribute 129269 "_actual"
2220         private explicit_type "QModelIndex"
2221         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2223         java_decl ""
2224         php_decl ""
2225         idl_decl ""
2226       end
2228       attribute 130104 "_history"
2229         private explicit_type "QList<Move>"
2230         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2232         java_decl ""
2233         php_decl ""
2234         idl_decl ""
2235       end
2237       operation 129269 "HistoryModel"
2238         public explicit_return_type ""
2239         nparams 2
2240           param in name "parent" explicit_type "QObject*"
2241           param in name "info" explicit_type "QList<PlayerInfo>*"
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 128765 "columnCount"
2253         const cpp_virtual public explicit_return_type "int"
2254         nparams 1
2255           param in name "parent" explicit_type "QModelIndex"
2256         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2258         
2259         
2260         
2261       end
2263       operation 128637 "rowCount"
2264         const cpp_virtual public explicit_return_type "int"
2265         nparams 1
2266           param in name "parent" explicit_type "QModelIndex"
2267         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2269         
2270         
2271         
2272       end
2274       operation 128509 "data"
2275         const cpp_virtual public explicit_return_type "QVariant"
2276         nparams 2
2277           param in name "index" explicit_type "QModelIndex"
2278           param in name "role" explicit_type "int"
2279             defaultvalue "Qt::DisplayRole"
2280         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2282         
2283         
2284         
2285       end
2287       operation 129021 "headerData"
2288         const cpp_virtual public explicit_return_type "QVariant"
2289         nparams 3
2290           param in name "section" explicit_type "int"
2291           param in name "orientation" explicit_type "Qt::Orientation"
2292           param in name "role" explicit_type "int"
2293         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2295         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2296   ${body}}
2298         
2299         
2300         
2301       end
2303       operation 128893 "flags"
2304         const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2305         nparams 1
2306           param in name "index" explicit_type "QModelIndex"
2307         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2309         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2310   ${body}}
2312         
2313         
2314         
2315       end
2317       operation 129259 "insertRows"
2318         cpp_virtual public explicit_return_type "bool"
2319         nparams 3
2320           param in name "row" explicit_type "int"
2321           param in name "count" explicit_type "int"
2322           param in name "parent" explicit_type "QModelIndex"
2323         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2325         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2326   ${body}}
2328         
2329         
2330         
2331       end
2333       operation 129387 "removeRows"
2334         cpp_virtual public explicit_return_type "bool"
2335         nparams 3
2336           param in name "row" explicit_type "int"
2337           param in name "count" explicit_type "int"
2338           param in name "parent" explicit_type "QModelIndex"
2339         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2341         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2342   ${body}}
2344         
2345         
2346         
2347       end
2349       operation 131128 "append"
2350         public explicit_return_type "void"
2351         nparams 1
2352           param in name "move" type class_ref 129301 // Move
2353         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2355         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2356   ${body}}
2358         
2359         
2360         
2361       end
2363       operation 129442 "moveList"
2364         const public explicit_return_type "QList<Move>"
2365         nparams 0
2366         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2368         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2369   ${body}}
2371         
2372         
2373         
2374       end
2376       operation 129653 "remove"
2377         public explicit_return_type "void"
2378         nparams 1
2379           param in name "count" 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       attribute 128048 "_info"
2391         private explicit_type "QList<PlayerInfo>*"
2392         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2394         java_decl ""
2395         php_decl ""
2396         idl_decl ""
2397       end
2398     end
2400     class 129976 "PlayerInfo"
2401       visibility package 
2402       cpp_decl "${comment}${template}class ${name}${inherit} {
2403 ${members}};
2404 ${inlines}
2406       java_decl ""
2407       php_decl ""
2408       idl_decl ""
2409       explicit_switch_type ""
2410       
2411       attribute 130360 "_name"
2412         private type class_ref 128440 // QString
2413         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2415         java_decl ""
2416         php_decl ""
2417         idl_decl ""
2418       end
2420       attribute 130488 "_color"
2421         private type class_ref 128253 // QColor
2422         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2424         java_decl ""
2425         php_decl ""
2426         idl_decl ""
2427       end
2429       attribute 130616 "_type"
2430         private type class_ref 128440 // QString
2431         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2433         java_decl ""
2434         php_decl ""
2435         idl_decl ""
2436       end
2438       operation 128730 "PlayerInfo"
2439         public explicit_return_type ""
2440         nparams 0
2441         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2443         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2444   ${body}}
2446         
2447         
2448         
2449         comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2450       end
2452       operation 129131 "PlayerInfo"
2453         public explicit_return_type ""
2454         nparams 3
2455           param in name "name" type class_ref 128440 // QString
2456           param in name "color" type class_ref 128253 // QColor
2457           param in name "type" type class_ref 128440 // QString
2458         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2460         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2461   ${body}}
2463         
2464         
2465         
2466       end
2468       operation 128346 "name"
2469         const public return_type class_ref 128440 // QString
2470         nparams 0
2471         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2473         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2474   ${body}}
2476         
2477         
2478         
2479       end
2481       operation 128474 "color"
2482         const public return_type class_ref 128253 // QColor
2483         nparams 0
2484         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2486         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2487   ${body}}
2489         
2490         
2491         
2492       end
2494       operation 128602 "type"
2495         const public return_type class_ref 128440 // QString
2496         nparams 0
2497         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2499         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2500   ${body}}
2502         
2503         
2504         
2505       end
2506     end
2508     class 128125 "QTimer"
2509       visibility package 
2510       cpp_decl "${comment}${template}class ${name}${inherit} {
2511 ${members}};
2512 ${inlines}
2514       java_decl ""
2515       php_decl ""
2516       idl_decl ""
2517       explicit_switch_type ""
2518       
2519       operation 128253 "start"
2520         stereotype "slot"
2521         public explicit_return_type "void"
2522         nparams 1
2523           param in name "msec" explicit_type "int"
2524         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2526         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2527   ${body}}
2529         
2530         
2531         
2532       end
2534       operation 128381 "stop"
2535         stereotype "slot"
2536         public explicit_return_type "void"
2537         nparams 0
2538         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2540         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2541   ${body}}
2543         
2544         
2545         
2546       end
2548       operation 128125 "timeout"
2549         stereotype "signal"
2550         protected explicit_return_type "void"
2551         nparams 0
2552         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2554         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2555   ${body}}
2557         
2558         
2559         
2560       end
2561     end
2563     class 128253 "QColor"
2564       visibility package 
2565       cpp_decl "${comment}${template}class ${name}${inherit} {
2566 ${members}};
2567 ${inlines}
2569       java_decl ""
2570       php_decl ""
2571       idl_decl ""
2572       explicit_switch_type ""
2573       
2574     end
2576     class 128381 "TimerWidget"
2577       visibility package 
2578       cpp_decl "${comment}${template}class ${name}${inherit} {
2579 ${members}};
2580 ${inlines}
2582       java_decl ""
2583       php_decl ""
2584       idl_decl ""
2585       explicit_switch_type ""
2586       
2587       attribute 128125 "_timer"
2588         private type class_ref 128125 // QTimer
2589         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2591         java_decl ""
2592         php_decl ""
2593         idl_decl ""
2594       end
2596       classrelation 128381 // <directional composition>
2597         relation 128381 *-->
2598           a role_name "" protected
2599             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2601             classrelation_ref 128381 // <directional composition>
2602           b parent class_ref 128125 // QTimer
2603       end
2605       classrelation 128509 // <generalisation>
2606         relation 128509 ---|>
2607           a public
2608             cpp default "${type}"
2609             classrelation_ref 128509 // <generalisation>
2610           b parent class_ref 128533 // QWidget
2611       end
2613       operation 128816 "TimerWidget"
2614         public explicit_return_type ""
2615         nparams 1
2616           param in name "parent" explicit_type "QWidget*"
2617         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2619         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2620   ${body}}
2622         
2623         
2624         
2625       end
2626     end
2628     class 128509 "QAbstractTableModel"
2629       abstract visibility package 
2630       cpp_decl "${comment}${template}class ${name}${inherit} {
2631 ${members}};
2632 ${inlines}
2634       java_decl ""
2635       php_decl ""
2636       idl_decl ""
2637       explicit_switch_type ""
2638       
2639     end
2641     class 128893 "QTableView"
2642       visibility package 
2643       cpp_decl "${comment}${template}class ${name}${inherit} {
2644 ${members}};
2645 ${inlines}
2647       java_decl ""
2648       php_decl ""
2649       idl_decl ""
2650       explicit_switch_type ""
2651       
2652       classrelation 128444 // <generalisation>
2653         relation 128444 ---|>
2654           a public
2655             cpp default "${type}"
2656             classrelation_ref 128444 // <generalisation>
2657           b parent class_ref 128533 // QWidget
2658       end
2660       classrelation 128191 // <dependency>
2661         relation 128191 -_->
2662           a default
2663             cpp default "#include in source"
2664             classrelation_ref 128191 // <dependency>
2665           b parent class_ref 129848 // HistoryModel
2666       end
2668       operation 129397 "clicked"
2669         stereotype "signal"
2670         protected explicit_return_type "void"
2671         nparams 1
2672           param in name "index" explicit_type "QModelIndex"
2673         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2675         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2676   ${body}}
2678         
2679         
2680         
2681       end
2683       operation 129525 "doubleClicked"
2684         stereotype "signal"
2685         protected explicit_return_type "void"
2686         nparams 1
2687           param in name "index" explicit_type "QModelIndex"
2688         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2690         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2691   ${body}}
2693         
2694         
2695         
2696       end
2697     end
2699     class 129021 "PlayersWidget"
2700       visibility package 
2701       cpp_decl "${comment}${template}class ${name}${inherit} {
2702 ${members}};
2703 ${inlines}
2705       java_decl ""
2706       php_decl ""
2707       idl_decl ""
2708       explicit_switch_type ""
2709       
2710       comment "rappresenta turno, colore, tipo, nome dei players"
2711       operation 129149 "PlayersWidget"
2712         public explicit_return_type ""
2713         nparams 2
2714           param in name "parent" explicit_type "QWidget*"
2715           param in name "info" explicit_type "QList<PlayerInfo>"
2716         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2718         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2719   ${body}}
2721         
2722         
2723         
2724       end
2726       classrelation 128828 // <generalisation>
2727         relation 128828 ---|>
2728           a public
2729             cpp default "${type}"
2730             classrelation_ref 128828 // <generalisation>
2731           b parent class_ref 128533 // QWidget
2732       end
2734       operation 128083 "turnChanged"
2735         stereotype "slot"
2736         public explicit_return_type "void"
2737         nparams 1
2738           param in name "playerid" explicit_type "int"
2739         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2741         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2742   ${body}}
2744         
2745         
2746         
2747       end
2748     end
2750     class 128227 "SoQtRenderArea"
2751       visibility package 
2752       cpp_decl "${comment}${template}class ${name}${inherit} {
2753 ${members}};
2754 ${inlines}
2756       java_decl ""
2757       php_decl ""
2758       idl_decl ""
2759       explicit_switch_type ""
2760       
2761     end
2763     class 128099 "CubeRenderArea"
2764       visibility package 
2765       cpp_decl "${comment}${template}class ${name}${inherit} {
2766 ${members}};
2767 ${inlines}
2769       java_decl ""
2770       php_decl ""
2771       idl_decl ""
2772       explicit_switch_type ""
2773       
2774       class 128739 "Direction"
2775         visibility protected stereotype "enum"
2776         cpp_decl "${comment}${template}class ${name}${inherit} {
2777 ${members}};
2778 ${inlines}
2780         java_decl ""
2781         php_decl ""
2782         idl_decl ""
2783         explicit_switch_type ""
2784         
2785         attribute 129635 "UP"
2786           public explicit_type ""
2787           cpp_decl ""
2788           java_decl ""
2789           php_decl ""
2790           idl_decl ""
2791         end
2793         attribute 129763 "DOWN"
2794           public explicit_type ""
2795           cpp_decl ""
2796           java_decl ""
2797           php_decl ""
2798           idl_decl ""
2799         end
2801         attribute 129891 "LEFT"
2802           public explicit_type ""
2803           cpp_decl ""
2804           java_decl ""
2805           php_decl ""
2806           idl_decl ""
2807         end
2809         attribute 130019 "RIGHT"
2810           public explicit_type ""
2811           cpp_decl ""
2812           java_decl ""
2813           php_decl ""
2814           idl_decl ""
2815         end
2817         attribute 130147 "IN"
2818           public explicit_type ""
2819           cpp_decl ""
2820           java_decl ""
2821           php_decl ""
2822           idl_decl ""
2823         end
2825         attribute 130275 "OUT"
2826           public explicit_type ""
2827           cpp_decl ""
2828           java_decl ""
2829           php_decl ""
2830           idl_decl ""
2831         end
2832       end
2834       class 128355 "Orientation"
2835         visibility protected stereotype "enum"
2836         cpp_decl "${comment}${template}class ${name}${inherit} {
2837 ${members}};
2838 ${inlines}
2840         java_decl ""
2841         php_decl ""
2842         idl_decl ""
2843         explicit_switch_type ""
2844         
2845         attribute 128483 "X_POSITIVE"
2846           public explicit_type ""
2847           cpp_decl "  ${name}${value},${comment}"
2848           java_decl ""
2849           php_decl ""
2850           idl_decl ""
2851         end
2853         attribute 128739 "X_NEGATIVE"
2854           public explicit_type ""
2855           cpp_decl ""
2856           java_decl ""
2857           php_decl ""
2858           idl_decl ""
2859         end
2861         attribute 128867 "Y_POSITIVE"
2862           public explicit_type ""
2863           cpp_decl ""
2864           java_decl ""
2865           php_decl ""
2866           idl_decl ""
2867         end
2869         attribute 128995 "Y_NEGATIVE"
2870           public explicit_type ""
2871           cpp_decl ""
2872           java_decl ""
2873           php_decl ""
2874           idl_decl ""
2875         end
2877         attribute 129123 "Z_POSITIVE"
2878           public explicit_type ""
2879           cpp_decl ""
2880           java_decl ""
2881           php_decl ""
2882           idl_decl ""
2883         end
2885         attribute 129251 "Z_NEGATIVE"
2886           public explicit_type ""
2887           cpp_decl ""
2888           java_decl ""
2889           php_decl ""
2890           idl_decl ""
2891         end
2893         attribute 128111 "NO_ORIENTATION"
2894           protected explicit_type ""
2895           cpp_decl ""
2896           java_decl ""
2897           php_decl ""
2898           idl_decl ""
2899         end
2900       end
2902       classrelation 128227 // <generalisation>
2903         relation 128227 ---|>
2904           a public
2905             cpp default "${type}"
2906             classrelation_ref 128227 // <generalisation>
2907           b parent class_ref 128227 // SoQtRenderArea
2908       end
2910       classrelation 128458 // <composition>
2911         relation 128330 *---
2912           a role_name "" multiplicity "0..1" private
2913             cpp default "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2915             classrelation_ref 128458 // <composition>
2916           b role_name "" private
2917             classrelation_ref 129269 // <composition>
2918       end
2920       attribute 128586 "_scene"
2921         private type class_ref 128867 // SceneGraph
2922         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2924         java_decl ""
2925         php_decl ""
2926         idl_decl ""
2927       end
2929       attribute 128099 "_acceptMove"
2930         private explicit_type "bool"
2931         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2933         java_decl ""
2934         php_decl ""
2935         idl_decl ""
2936       end
2938       attribute 128355 "_numCubes"
2939         private explicit_type "int"
2940         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2942         java_decl ""
2943         php_decl ""
2944         idl_decl ""
2945       end
2947       attribute 129994 "_isExploded"
2948         private explicit_type "bool"
2949         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2951         java_decl ""
2952         php_decl ""
2953         idl_decl ""
2954       end
2956       attribute 128227 "_isRotating"
2957         private explicit_type "bool"
2958         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2960         java_decl ""
2961         php_decl ""
2962         idl_decl ""
2963       end
2965       attribute 130122 "_hasPreviousPick"
2966         private explicit_type "bool"
2967         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2969         java_decl ""
2970         php_decl ""
2971         idl_decl ""
2972         comment "utilizzato per gestire gli eventi del mouse..il primo click Ã¨ da ignorare perchè da coordinate sballate"
2973       end
2975       attribute 130250 "_lastXPick"
2976         private explicit_type "float"
2977         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2979         java_decl ""
2980         php_decl ""
2981         idl_decl ""
2982         comment "coordinate x dell ultimo click"
2983       end
2985       attribute 130378 "_lastYPick"
2986         private explicit_type "float"
2987         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2989         java_decl ""
2990         php_decl ""
2991         idl_decl ""
2992       end
2994       attribute 129379 "_frontside"
2995         private type class_ref 128355 // Orientation
2996         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2998         java_decl ""
2999         php_decl ""
3000         idl_decl ""
3001       end
3003       attribute 129507 "_upside"
3004         private type class_ref 128355 // Orientation
3005         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3007         java_decl ""
3008         php_decl ""
3009         idl_decl ""
3010       end
3012       operation 128611 "CubeRenderArea"
3013         public explicit_return_type ""
3014         nparams 2
3015           param in name "parent" explicit_type "QWidget*"
3016           param in name "dim" explicit_type "int"
3017         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3019         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3020   ${body}}
3022         
3023         
3024         
3025         comment "costruttore: costruisce SoQtRenderArea passando il parent. setta num_cubes con il valore dim, costruisce SceneGraph e poi chiama una funzione che gli ritorna il parametro _root , che imposta come grafo con una funzione di SoQtRenderArea"
3026       end
3028       operation 128227 "drawMove"
3029         public explicit_return_type "void"
3030         nparams 2
3031           param in name "p" type class_ref 129173 // Point
3032           param in name "c" explicit_type "SbColor"
3033         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3035         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3036   ${body}}
3038         
3039         
3040         
3041       end
3043       operation 129738 "doMove"
3044         public explicit_return_type "void"
3045         nparams 0
3046         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3048         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3049   ${body}}
3051         
3052         
3053         
3054         comment "se _acceptMove Ã¨ vero, allora estrae il point dal cubo selezionato e, se non Ã¨ gia di un altro giocatore, prende il lock su SyncSharedCondition(singleton quindi metodo statico per avere il puntatore), chiama la drawMove col colore del giocatore,setta acceptmove a false, poi chiama la notifyMove su SyncSharedCondition e rilascia il lock."
3055       end
3057       operation 128739 "getOrientation"
3058         public return_type class_ref 128355 // Orientation
3059         nparams 1
3060           param in name "dir" type class_ref 128739 // Direction
3061         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3063         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3064   ${body}}
3066         
3067         
3068         
3069         comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
3070       end
3072       operation 128355 "selectCube"
3073         public explicit_return_type "void"
3074         nparams 2
3075           param in name "p" type class_ref 129173 // Point
3076           param in name "c" explicit_type "SbColor"
3077             defaultvalue "255,0,0"
3078         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3080         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3081   ${body}}
3083         
3084         
3085         
3086         comment "usata dal suggeritore della mossa e dall'event dispatcher.
3087 il valore di default del parametro c, Ã¨ il colore usato per la selezione nel caso generale.
3088 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
3089       end
3091       attribute 130506 "_projection"
3092         private explicit_type "SbSphereSheetProjector"
3093         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3095         java_decl ""
3096         php_decl ""
3097         idl_decl ""
3098         comment "usato per la telecamera. guardare documentazione"
3099       end
3101       operation 128586 "rotateCamera"
3102         public explicit_return_type "void"
3103         nparams 2
3104           param in name "newX" explicit_type "int"
3105           param in name "newY" explicit_type "int"
3106         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3108         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3109   ${body}}
3111         
3112         
3113         
3114         comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
3115       end
3117       operation 128714 "zoomCamera"
3118         public explicit_return_type "void"
3119         nparams 1
3120           param in name "delta" explicit_type "int"
3121         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3123         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3124   ${body}}
3126         
3127         
3128         
3129         comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
3130       end
3132       operation 128202 "eventDispatcher"
3133         class_operation public explicit_return_type "SbBool"
3134         nparams 2
3135           param in name "userdata" explicit_type "void*"
3136           param in name "eventCB" explicit_type "QEvent*"
3137         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3139         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3140   ${body}}
3142         
3143         
3144         
3145         comment "il dispatcher degli eventi..li raccoglie e chiama le funzioni adeguate. Gestisce tutti gli eventi tranne la selezione di una casella, che viene gestita direttamente da altre due funzioni di callback
3146 casi particolari:
3147 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
3148          per chiamare la applyImplosion() passare il parametro TRUE
3150 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
3151                         invocare la applyImplosion() con parametro uguale a FALSE"
3152       end
3154       operation 128330 "cubeSelected"
3155         class_operation public explicit_return_type "void"
3156         nparams 2
3157           param in name "userdata" explicit_type "void*"
3158           param in name "path" explicit_type "SoPath*"
3159         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3161         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3162   ${body}}
3164         
3165         
3166         
3167         comment "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro Ã¨ la CubeRenderArea"
3168       end
3170       operation 128458 "cubeDeselected"
3171         class_operation public explicit_return_type "void"
3172         nparams 2
3173           param in name "userdata" explicit_type "void*"
3174           param in name "path" explicit_type "SoPath*"
3175         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3177         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3178   ${body}}
3180         
3181         
3182         
3183         comment "deseleziona la casella ( cioè mette a null _selectedCube). data Ã¨ il CubeRenderArea"
3184       end
3186       attribute 128091 "_highlightAction"
3187         private explicit_type "SoLineHighlightRenderAction"
3188         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3190         java_decl ""
3191         php_decl ""
3192         idl_decl ""
3193       end
3195       attribute 128039 "_mutex"
3196         private type class_ref 130837 // QMutex
3197         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3199         java_decl ""
3200         php_decl ""
3201         idl_decl ""
3202       end
3203     end
3205     class 128867 "SceneGraph"
3206       visibility package 
3207       cpp_decl "${comment}${template}class ${name}${inherit} {
3208 ${members}};
3209 ${inlines}
3211       java_decl ""
3212       php_decl ""
3213       idl_decl ""
3214       explicit_switch_type ""
3215       
3216       attribute 128458 "_renderArea"
3217         private type class_ref 128099 // CubeRenderArea
3218         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3220         java_decl ""
3221         php_decl ""
3222         idl_decl ""
3223       end
3225       attribute 128032 "_dim"
3226         private explicit_type "int"
3227         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3229         java_decl ""
3230         php_decl ""
3231         idl_decl ""
3232       end
3234       operation 128842 "SceneGraph"
3235         public explicit_return_type ""
3236         nparams 2
3237           param in name "ra" explicit_type "CubeRenderArea*"
3238           param in name "dim" explicit_type "int"
3239         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3241         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3242   ${body}}
3244         
3245         
3246         
3247         comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3248       end
3250       attribute 128074 "_root"
3251         private explicit_type "SoSeparator"
3252         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3254         java_decl ""
3255         php_decl ""
3256         idl_decl ""
3257         comment "il nodo radice del grafo: i suoi fogli saranno la camera la luce e _selector, che conterrà i due sogroup contenenti le caselle di gioco"
3258       end
3260       attribute 128202 "_camera"
3261         private explicit_type "SoCamera"
3262         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3264         java_decl ""
3265         php_decl ""
3266         idl_decl ""
3267       end
3269       attribute 128330 "_light"
3270         private explicit_type "SoLight"
3271         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3273         java_decl ""
3274         php_decl ""
3275         idl_decl ""
3276       end
3278       attribute 128714 "_selector"
3279         private explicit_type "SoSelection"
3280         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3282         java_decl ""
3283         php_decl ""
3284         idl_decl ""
3285       end
3287       attribute 128842 "_fixedCubes"
3288         private explicit_type "SoGroup"
3289         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3291         java_decl ""
3292         php_decl ""
3293         idl_decl ""
3294         comment "i cubi che non sono esplosi"
3295       end
3297       attribute 128970 "_movedCubes"
3298         private explicit_type "SoBaseList"
3299         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3301         java_decl ""
3302         php_decl ""
3303         idl_decl ""
3304         comment "i cubi esplosi"
3305       end
3307       attribute 129098 "_shape"
3308         private explicit_type "SoShape"
3309         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3311         java_decl ""
3312         php_decl ""
3313         idl_decl ""
3314         comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3315       end
3317       attribute 129354 "_movers"
3318         private explicit_type "SoBaseList"
3319         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3321         java_decl ""
3322         php_decl ""
3323         idl_decl ""
3324         comment "lista di traslazioni, una per ogni livello esploso"
3325       end
3327       attribute 129482 "_interpolators"
3328         private explicit_type "SoBaseList"
3329         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3331         java_decl ""
3332         php_decl ""
3333         idl_decl ""
3334         comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3335       end
3337       attribute 129610 "_timers"
3338         private explicit_type "SoBaseList"
3339         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3341         java_decl ""
3342         php_decl ""
3343         idl_decl ""
3344         comment "lista di timer"
3345       end
3347       attribute 129738 "_explodeSensor"
3348         private explicit_type "SoOneShotSensor"
3349         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3351         java_decl ""
3352         php_decl ""
3353         idl_decl ""
3354         comment "classe che schedula la explode e la implode.
3355 Come callback avra' la explodeCubeCB di CubeRenderArea"
3356       end
3358       attribute 129866 "_graphMatrix"
3359         private explicit_type "SoSeparator*"
3360         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3362         java_decl ""
3363         php_decl ""
3364         idl_decl ""
3365         comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3366       end
3368       operation 128970 "applyRotationToCamera"
3369         public explicit_return_type "void"
3370         nparams 1
3371           param in name "rot" explicit_type "SbRotation"
3372         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3374         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3375   ${body}}
3377         
3378         
3379         
3380         comment "applica la rotazione rot alla telecamera"
3381       end
3383       operation 129098 "applyTranslationToCamera"
3384         public explicit_return_type "void"
3385         nparams 1
3386           param in name "delta" explicit_type "int"
3387         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3389         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3390   ${body}}
3392         
3393         
3394         
3395         comment "applica una traslazione alla telecamera. Usata per lo zoom"
3396       end
3398       operation 129226 "applyExplosionToCube"
3399         public explicit_return_type "void"
3400         nparams 1
3401           param in name "desired" type class_ref 128355 // Orientation
3402         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3404         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3405   ${body}}
3407         
3408         
3409         
3410         comment "se desired NON Ã¨ uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3411 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3412 setto il campo _directionOfExplosion
3413 sempre:
3414 -chiamo n volte la explodeLevel()
3417       end
3419       operation 129354 "applyImplosionToCube"
3420         public explicit_return_type "void"
3421         nparams 1
3422           param in name "all" explicit_type "bool"
3423         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3425         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3426   ${body}}
3428         
3429         
3430         
3431         comment "apllica l'implosione.
3432 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3433 fino al cursore"
3434       end
3436       operation 128074 "root"
3437         public explicit_return_type "SoSeparator*"
3438         nparams 0
3439         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3441         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3442   ${body}}
3444         
3445         
3446         
3447       end
3449       operation 129482 "explodeLevel"
3450         private explicit_return_type "void"
3451         nparams 0
3452         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3454         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3455   ${body}}
3457         
3458         
3459         
3460         comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3461 Confronta le dimensioni degli array con _explodedLevels:
3462 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3463 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3464 INCREMENTARE _explodedLevels in ogni caso"
3465       end
3467       operation 129610 "implodeLevel"
3468         private explicit_return_type "void"
3469         nparams 0
3470         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3472         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3473   ${body}}
3475         
3476         
3477         
3478         comment "funzione ausiliaria. Implode l ultimo livello esploso
3479 invertire le posizioni del mover e attivare il timer
3480 DECREMENTARE _explodedLevels"
3481       end
3483       attribute 128239 "_selectedCube"
3484         private explicit_type "SoSeparator"
3485         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3487         java_decl ""
3488         php_decl ""
3489         idl_decl ""
3490       end
3492       attribute 128367 "_directionOfExplosion"
3493         private type class_ref 128355 // Orientation
3494         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3496         java_decl ""
3497         php_decl ""
3498         idl_decl ""
3499       end
3501       attribute 128495 "_explodedLevels"
3502         private explicit_type "int"
3503         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3505         java_decl ""
3506         php_decl ""
3507         idl_decl ""
3508       end
3510       classrelation 129269 // <composition>
3511         relation_ref 128330 // <composition>
3512       end
3513     end
3515     class 128008 "QSettings"
3516       visibility package 
3517       cpp_decl "${comment}${template}class ${name}${inherit} {
3518 ${members}};
3519 ${inlines}
3521       java_decl ""
3522       php_decl ""
3523       idl_decl ""
3524       explicit_switch_type ""
3525       
3526     end
3528     class 128426 "AbstractSettings"
3529       abstract visibility package 
3530       cpp_decl "${comment}${template}class ${name}${inherit} {
3531 ${members}};
3532 ${inlines}
3534       java_decl ""
3535       php_decl ""
3536       idl_decl ""
3537       explicit_switch_type ""
3538       
3539       operation 128776 "language"
3540         abstract const cpp_virtual public return_type class_ref 128440 // QString
3541         nparams 0
3542         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3544         
3545         
3546         
3547       end
3549       operation 128090 "dockState"
3550         abstract const cpp_virtual public explicit_return_type "QByteArray"
3551         nparams 0
3552         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3554         
3555         
3556         
3557       end
3559       operation 129416 "geometry"
3560         abstract const cpp_virtual public explicit_return_type "QByteArray"
3561         nparams 0
3562         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3564         
3565         
3566         
3567       end
3569       operation 128444 "defaultCubeColor"
3570         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3571         nparams 0
3572         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3574         
3575         
3576         
3577       end
3579       operation 128619 "backgroundColor"
3580         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3581         nparams 0
3582         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3584         
3585         
3586         
3587       end
3589       operation 129544 "setLanguage"
3590         abstract cpp_virtual public explicit_return_type "void"
3591         nparams 1
3592           param in name "lang" type class_ref 128440 // QString
3593         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3595         
3596         
3597         
3598       end
3600       operation 128218 "setDockState"
3601         abstract const cpp_virtual public explicit_return_type "void"
3602         nparams 1
3603           param in name "state" explicit_type "QByteArray"
3604         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3606         
3607         
3608         
3609       end
3611       operation 129800 "setGeometry"
3612         abstract cpp_virtual public explicit_return_type "void"
3613         nparams 1
3614           param in name "geom" explicit_type "QByteArray"
3615         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3617         
3618         
3619         
3620       end
3622       operation 128572 "setDefaultCubeColor"
3623         abstract cpp_virtual public explicit_return_type "void"
3624         nparams 1
3625           param in name "color" type class_ref 128253 // QColor
3626         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3628         
3629         
3630         
3631       end
3633       operation 128747 "setBackgroundColor"
3634         abstract cpp_virtual public explicit_return_type "void"
3635         nparams 1
3636           param in name "color" type class_ref 128253 // QColor
3637         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3639         
3640         
3641         
3642       end
3643     end
3645     class 130453 "SettingsManager"
3646       abstract visibility package 
3647       cpp_decl "${comment}${template}class ${name}${inherit} {
3648 ${members}};
3649 ${inlines}
3651       java_decl ""
3652       php_decl ""
3653       idl_decl ""
3654       explicit_switch_type ""
3655       
3656       operation 128904 "playersInfo"
3657         abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3658         nparams 0
3659         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3661         
3662         
3663         
3664       end
3666       operation 129032 "difficulty1"
3667         abstract const cpp_virtual public explicit_return_type "int"
3668         nparams 0
3669         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3671         
3672         
3673         
3674       end
3676       operation 129160 "difficulty2"
3677         abstract const cpp_virtual public explicit_return_type "int"
3678         nparams 0
3679         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3681         
3682         
3683         
3684       end
3686       operation 129672 "setPlayersInfo"
3687         abstract cpp_virtual public explicit_return_type "void"
3688         nparams 1
3689           param in name "info" explicit_type "QList<PlayerInfo>"
3690         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3692         
3693         
3694         
3695       end
3697       operation 128009 "setDifficulty1"
3698         abstract cpp_virtual public explicit_return_type "void"
3699         nparams 1
3700           param in name "d1" explicit_type "int"
3701         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3703         
3704         
3705         
3706       end
3708       operation 128137 "setDifficulty2"
3709         abstract cpp_virtual public explicit_return_type "void"
3710         nparams 1
3711           param in name "d2" explicit_type "int"
3712         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3714         
3715         
3716         
3717       end
3719       classrelation 129450 // <generalisation>
3720         relation 129450 ---|>
3721           a public
3722             cpp default "${type}"
3723             classrelation_ref 129450 // <generalisation>
3724           b parent class_ref 128426 // AbstractSettings
3725       end
3726     end
3728     class 128042 "LocalSettings"
3729       visibility package 
3730       cpp_decl "${comment}${template}class ${name}${inherit} {
3731 ${members}};
3732 ${inlines}
3734       java_decl ""
3735       php_decl ""
3736       idl_decl ""
3737       explicit_switch_type ""
3738       
3739       classrelation 129578 // <generalisation>
3740         relation 129578 ---|>
3741           a public
3742             cpp default "${type}"
3743             classrelation_ref 129578 // <generalisation>
3744           b parent class_ref 128298 // GUISettings
3745       end
3747       classrelation 129962 // <realization>
3748         relation 129962 -_-|>
3749           a public
3750             cpp default "${type}"
3751             classrelation_ref 129962 // <realization>
3752           b parent class_ref 130453 // SettingsManager
3753       end
3754     end
3756     class 128170 "ServerSettings"
3757       visibility package 
3758       cpp_decl "${comment}${template}class ${name}${inherit} {
3759 ${members}};
3760 ${inlines}
3762       java_decl ""
3763       php_decl ""
3764       idl_decl ""
3765       explicit_switch_type ""
3766       
3767       operation 129186 "serverPort"
3768         const public explicit_return_type "quint16"
3769         nparams 0
3770         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3772         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3773   ${body}}
3775         
3776         
3777         
3778       end
3780       operation 128170 "timerDuration"
3781         const public explicit_return_type "int"
3782         nparams 0
3783         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3785         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3786   ${body}}
3788         
3789         
3790         
3791       end
3793       operation 128051 "myColor"
3794         public return_type class_ref 128253 // QColor
3795         nparams 0
3796         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3798         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3799   ${body}}
3801         
3802         
3803         
3804       end
3806       operation 129314 "setServerPort"
3807         public explicit_return_type "void"
3808         nparams 1
3809           param in name "port" explicit_type "quint16"
3810         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3812         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3813   ${body}}
3815         
3816         
3817         
3818       end
3820       operation 128298 "setTimerDuration"
3821         public explicit_return_type "void"
3822         nparams 1
3823           param in name "msec" explicit_type "int"
3824         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3826         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3827   ${body}}
3829         
3830         
3831         
3832       end
3834       classrelation 129706 // <generalisation>
3835         relation 129706 ---|>
3836           a public
3837             cpp default "${type}"
3838             classrelation_ref 129706 // <generalisation>
3839           b parent class_ref 128298 // GUISettings
3840       end
3842       classrelation 129834 // <realization>
3843         relation 129834 -_-|>
3844           a public
3845             cpp default "${type}"
3846             classrelation_ref 129834 // <realization>
3847           b parent class_ref 130453 // SettingsManager
3848       end
3850       operation 128179 "setMyColor"
3851         public explicit_return_type "void"
3852         nparams 1
3853           param in name "color" type class_ref 128253 // QColor
3854         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3856         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3857   ${body}}
3859         
3860         
3861         
3862       end
3863     end
3865     class 128298 "GUISettings"
3866       visibility package 
3867       cpp_decl "${comment}${template}class ${name}${inherit} {
3868 ${members}};
3869 ${inlines}
3871       java_decl ""
3872       php_decl ""
3873       idl_decl ""
3874       explicit_switch_type ""
3875       
3876       classrelation 129194 // <realization>
3877         relation 129194 -_-|>
3878           a public
3879             cpp default "${type}"
3880             classrelation_ref 129194 // <realization>
3881           b parent class_ref 128426 // AbstractSettings
3882       end
3884       classrelation 129322 // <generalisation>
3885         relation 129322 ---|>
3886           stereotype "protected"
3887           a protected
3888             cpp default "${type}"
3889             classrelation_ref 129322 // <generalisation>
3890           b parent class_ref 128008 // QSettings
3891       end
3892     end
3894     class 129345 "GameClient"
3895       visibility package 
3896       cpp_decl "${comment}${template}class ${name}${inherit} {
3897 ${members}};
3898 ${inlines}
3900       java_decl ""
3901       php_decl ""
3902       idl_decl ""
3903       explicit_switch_type ""
3904       
3905       classrelation 129345 // <realization>
3906         relation 129345 -_-|>
3907           a public
3908             cpp default "${type}"
3909             classrelation_ref 129345 // <realization>
3910           b parent class_ref 130069 // Network
3911       end
3913       classrelation 129168 // <directional composition>
3914         relation 129168 *-->
3915           a role_name "" protected
3916             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3918             classrelation_ref 129168 // <directional composition>
3919           b parent class_ref 129168 // ClientSocket
3920       end
3922       attribute 129267 "_localPlayer"
3923         private explicit_type "int"
3924         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3926         java_decl ""
3927         php_decl ""
3928         idl_decl ""
3929       end
3931       attribute 129296 "_server"
3932         private type class_ref 129168 // ClientSocket
3933         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3935         java_decl ""
3936         php_decl ""
3937         idl_decl ""
3938       end
3940       operation 129296 "GameClient"
3941         public explicit_return_type ""
3942         nparams 3
3943           param in name "gui" explicit_type "QWidget*"
3944           param in name "serverAddress" type class_ref 128440 // QString
3945           param in name "serverPort" explicit_type "quint16"
3946         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3948         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3949   ${body}}
3951         
3952         
3953         
3954       end
3956       operation 129561 "~GameClient"
3957         cpp_virtual public explicit_return_type ""
3958         nparams 0
3959         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3961         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3962   ${body}}
3964         
3965         
3966         
3967       end
3969       operation 129424 "requestMove"
3970         cpp_virtual public return_type class_ref 129173 // Point
3971         nparams 0
3972         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3974         
3975         
3976         
3977       end
3979       operation 129552 "setupChat"
3980         cpp_virtual public explicit_return_type "void"
3981         nparams 1
3982           param in name "widget" explicit_type "ChatWidget*"
3983         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3985         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3986   ${body}}
3988         
3989         
3990         
3991       end
3993       operation 129267 "setLocalPlayer"
3994         stereotype "slot"
3995         private explicit_return_type "void"
3996         nparams 1
3997           param in name "id" explicit_type "int"
3998         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4000         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4001   ${body}}
4003         
4004         
4005         
4006       end
4007     end
4009     class 129217 "GameServer"
4010       visibility protected 
4011       cpp_decl "${comment}${template}class ${name}${inherit} {
4012 ${members}};
4013 ${inlines}
4015       java_decl ""
4016       php_decl ""
4017       idl_decl ""
4018       explicit_switch_type ""
4019       
4020       classrelation 129217 // <realization>
4021         relation 129217 -_-|>
4022           a public
4023             cpp default "${type}"
4024             classrelation_ref 129217 // <realization>
4025           b parent class_ref 130069 // Network
4026       end
4028       classrelation 129296 // <directional composition>
4029         relation 129296 *-->
4030           a role_name "" multiplicity "*" protected
4031             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4033             classrelation_ref 129296 // <directional composition>
4034           b parent class_ref 129296 // ServerSocket
4035       end
4037       classrelation 129424 // <directional composition>
4038         relation 129424 *-->
4039           a role_name "" protected
4040             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4042             classrelation_ref 129424 // <directional composition>
4043           b parent class_ref 129212 // QTcpServer
4044       end
4046       operation 129936 "GameServer"
4047         public explicit_return_type ""
4048         nparams 2
4049           param in name "gui" explicit_type "QWidget*"
4050           param in name "history" explicit_type "HistoryModel*"
4051         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4053         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4054   ${body}}
4056         
4057         
4058         
4059       end
4061       operation 129433 "~GameServer"
4062         cpp_virtual public explicit_return_type ""
4063         nparams 0
4064         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4066         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4067   ${body}}
4069         
4070         
4071         
4072       end
4074       operation 129680 "requestMove"
4075         cpp_virtual public return_type class_ref 129173 // Point
4076         nparams 0
4077         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4079         
4080         
4081         
4082       end
4084       operation 129808 "setupChat"
4085         cpp_virtual public explicit_return_type "void"
4086         nparams 1
4087           param in name "widget" explicit_type "ChatWidget*"
4088         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4090         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4091   ${body}}
4093         
4094         
4095         
4096       end
4098       operation 130064 "handleIncomingConnection"
4099         stereotype "slot"
4100         private explicit_return_type "void"
4101         nparams 0
4102         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4104         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4105   ${body}}
4107         
4108         
4109         
4110       end
4112       operation 132431 "handleJoinRequest"
4113         stereotype "slot"
4114         private explicit_return_type "void"
4115         nparams 2
4116           param in name "mode" type class_ref 128440 // QString
4117           param in name "name" type class_ref 128440 // QString
4118         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4120         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4121   ${body}}
4123         
4124         
4125         
4126       end
4128       operation 128024 "setTurn"
4129         stereotype "slot"
4130         private explicit_return_type "void"
4131         nparams 1
4132           param in name "playerId" explicit_type "int"
4133         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4135         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4136   ${body}}
4138         
4139         
4140         
4141       end
4143       attribute 129424 "_listener"
4144         private type class_ref 129212 // QTcpServer
4145         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4147         java_decl ""
4148         php_decl ""
4149         idl_decl ""
4150       end
4152       attribute 129552 "_pendingConnections"
4153         private explicit_type "QLinkedList<ServerSocket>"
4154         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4156         java_decl ""
4157         php_decl ""
4158         idl_decl ""
4159       end
4161       attribute 129680 "_remotePlayers"
4162         private explicit_type "QList<ServerSocket>"
4163         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4165         java_decl ""
4166         php_decl ""
4167         idl_decl ""
4168       end
4170       attribute 129808 "_spectators"
4171         private explicit_type "QList<ServerSocket>"
4172         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4174         java_decl ""
4175         php_decl ""
4176         idl_decl ""
4177       end
4179       attribute 130064 "_gameInProgress"
4180         private explicit_type "bool"
4181         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4183         java_decl ""
4184         php_decl ""
4185         idl_decl ""
4186       end
4188       attribute 129936 "_history"
4189         private explicit_type "HistoryModel*"
4190         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4192         java_decl ""
4193         php_decl ""
4194         idl_decl ""
4195       end
4197       attribute 129199 "_names"
4198         private explicit_type "QStringList"
4199         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4201         java_decl ""
4202         php_decl ""
4203         idl_decl ""
4204       end
4206       attribute 130492 "_numberOfPlayers"
4207         private explicit_type "int"
4208         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4210         java_decl ""
4211         php_decl ""
4212         idl_decl ""
4213       end
4215       attribute 128024 "_turn"
4216         private explicit_type "int"
4217         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4219         java_decl ""
4220         php_decl ""
4221         idl_decl ""
4222       end
4224       attribute 129395 "_settings"
4225         private type class_ref 128170 // ServerSettings
4226         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4228         java_decl ""
4229         php_decl ""
4230         idl_decl ""
4231       end
4232     end
4234     class 129231 "StreamSocket"
4235       visibility package 
4236       cpp_decl "${comment}${template}class ${name}${inherit} {
4237 ${members}};
4238 ${inlines}
4240       java_decl ""
4241       php_decl ""
4242       idl_decl ""
4243       explicit_switch_type ""
4244       
4245       class 129359 "ProtocolState"
4246         visibility protected stereotype "enum"
4247         cpp_decl "${comment}enum ${name} {
4248 ${items}
4251         java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
4252 ${items};
4253 ${members}}
4255         php_decl "${comment}final ${visibility}class ${name} {
4256 ${items}}
4258         idl_decl "${comment}enum ${name} {
4259 ${items}};
4261         explicit_switch_type ""
4262         
4263         attribute 129743 "Unconnected"
4264           public type class_ref 129359 // ProtocolState
4265           cpp_decl "  ${name}${value},${comment}"
4266           java_decl ""
4267           php_decl ""
4268           idl_decl ""
4269         end
4271         attribute 129871 "Listening"
4272           public type class_ref 129359 // ProtocolState
4273           cpp_decl "  ${name}${value},${comment}"
4274           java_decl ""
4275           php_decl ""
4276           idl_decl ""
4277         end
4279         attribute 129999 "Connecting"
4280           public type class_ref 129359 // ProtocolState
4281           cpp_decl "  ${name}${value},${comment}"
4282           java_decl ""
4283           php_decl ""
4284           idl_decl ""
4285         end
4287         attribute 130127 "Connected"
4288           public type class_ref 129359 // ProtocolState
4289           cpp_decl "  ${name}${value},${comment}"
4290           java_decl ""
4291           php_decl ""
4292           idl_decl ""
4293         end
4295         attribute 130255 "OpeningStream"
4296           public type class_ref 129359 // ProtocolState
4297           cpp_decl "  ${name}${value},${comment}"
4298           java_decl ""
4299           php_decl ""
4300           idl_decl ""
4301         end
4303         attribute 130383 "FullyOpened"
4304           public type class_ref 129359 // ProtocolState
4305           cpp_decl "  ${name}${value},${comment}"
4306           java_decl ""
4307           php_decl ""
4308           idl_decl ""
4309         end
4311         attribute 130511 "Idle"
4312           public type class_ref 129359 // ProtocolState
4313           cpp_decl "  ${name}${value},${comment}"
4314           java_decl ""
4315           php_decl ""
4316           idl_decl ""
4317         end
4319         attribute 130639 "AwaitingJoinRequest"
4320           public type class_ref 129359 // ProtocolState
4321           cpp_decl "  ${name}${value},${comment}"
4322           java_decl ""
4323           php_decl ""
4324           idl_decl ""
4325         end
4327         attribute 130767 "AwaitingJoinAnswer"
4328           public type class_ref 129359 // ProtocolState
4329           cpp_decl "  ${name}${value},${comment}"
4330           java_decl ""
4331           php_decl ""
4332           idl_decl ""
4333         end
4335         attribute 130895 "AwaitingPlayers"
4336           public type class_ref 129359 // ProtocolState
4337           cpp_decl "  ${name}${value},${comment}"
4338           java_decl ""
4339           php_decl ""
4340           idl_decl ""
4341         end
4343         attribute 131023 "AwaitingGameStart"
4344           public type class_ref 129359 // ProtocolState
4345           cpp_decl "  ${name}${value},${comment}"
4346           java_decl ""
4347           php_decl ""
4348           idl_decl ""
4349         end
4351         attribute 131151 "Playing"
4352           public type class_ref 129359 // ProtocolState
4353           cpp_decl "  ${name}${value},${comment}"
4354           java_decl ""
4355           php_decl ""
4356           idl_decl ""
4357         end
4359         attribute 131279 "AwaitingMove"
4360           public type class_ref 129359 // ProtocolState
4361           cpp_decl "  ${name}${value},${comment}"
4362           java_decl ""
4363           php_decl ""
4364           idl_decl ""
4365         end
4367         attribute 131407 "Closing"
4368           public type class_ref 129359 // ProtocolState
4369           cpp_decl "  ${name}${value},${comment}"
4370           java_decl ""
4371           php_decl ""
4372           idl_decl ""
4373         end
4375         attribute 131535 "Closed"
4376           public type class_ref 129359 // ProtocolState
4377           cpp_decl "  ${name}${value},${comment}"
4378           java_decl ""
4379           php_decl ""
4380           idl_decl ""
4381         end
4382       end
4384       classrelation 129487 // <generalisation>
4385         relation 129487 ---|>
4386           stereotype "protected"
4387           a protected
4388             cpp default "${type}"
4389             classrelation_ref 129487 // <generalisation>
4390           b parent class_ref 129601 // QXmlStreamWriter
4391       end
4393       classrelation 129615 // <generalisation>
4394         relation 129615 ---|>
4395           stereotype "protected"
4396           a protected
4397             cpp default "${type}"
4398             classrelation_ref 129615 // <generalisation>
4399           b parent class_ref 129473 // QXmlStreamReader
4400       end
4402       classrelation 129743 // <directional composition>
4403         relation 129743 *-->
4404           a role_name "" protected
4405             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4407             classrelation_ref 129743 // <directional composition>
4408           b parent class_ref 129340 // QTcpSocket
4409       end
4411       attribute 129231 "_supportedProtocolVersion"
4412         class_attribute const_attribute protected type class_ref 128440 // QString
4413         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4415         java_decl ""
4416         php_decl ""
4417         idl_decl ""
4418       end
4420       attribute 129359 "_socket"
4421         protected type class_ref 129340 // QTcpSocket
4422         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4424         java_decl ""
4425         php_decl ""
4426         idl_decl ""
4427       end
4429       attribute 129487 "_buffer"
4430         private explicit_type "QLinkedList<Move>"
4431         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4433         java_decl ""
4434         php_decl ""
4435         idl_decl ""
4436       end
4438       attribute 129615 "_state"
4439         private explicit_type "ProtocolState"
4440         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4442         java_decl ""
4443         php_decl ""
4444         idl_decl ""
4445       end
4447       operation 129231 "StreamSocket"
4448         protected explicit_return_type ""
4449         nparams 1
4450           param in name "socket" type class_ref 129340 // QTcpSocket
4451         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4453         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4454   ${body}}
4456         
4457         
4458         
4459       end
4461       operation 129177 "~StreamSocket"
4462         public explicit_return_type ""
4463         nparams 0
4464         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4466         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4467   ${body}}
4469         
4470         
4471         
4472       end
4474       operation 129305 "state"
4475         const public explicit_return_type "ProtocolState"
4476         nparams 0
4477         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4479         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4480   ${body}}
4482         
4483         
4484         
4485       end
4487       operation 129359 "changeState"
4488         protected explicit_return_type "void"
4489         nparams 1
4490           param in name "state" explicit_type "ProtocolState"
4491         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4493         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4494   ${body}}
4496         
4497         
4498         
4499       end
4501       operation 129487 "sendChatMessage"
4502         stereotype "slot"
4503         public explicit_return_type "void"
4504         nparams 1
4505           param in name "msg" type class_ref 128440 // QString
4506         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4508         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4509   ${body}}
4511         
4512         
4513         
4514       end
4516       operation 129615 "sendMove"
4517         stereotype "slot"
4518         public explicit_return_type "void"
4519         nparams 1
4520           param in name "move" type class_ref 129301 // Move
4521         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4523         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4524   ${body}}
4526         
4527         
4528         
4529       end
4531       operation 129743 "openStream"
4532         stereotype "slot"
4533         protected explicit_return_type "void"
4534         nparams 0
4535         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4537         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4538   ${body}}
4540         
4541         
4542         
4543       end
4545       operation 129871 "closeStream"
4546         stereotype "slot"
4547         protected explicit_return_type "void"
4548         nparams 0
4549         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4551         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4552   ${body}}
4554         
4555         
4556         
4557       end
4559       operation 129999 "handleError"
4560         stereotype "slot"
4561         protected explicit_return_type "void"
4562         nparams 1
4563           param in name "error" explicit_type "QAbstractSocket::SocketError"
4564         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4566         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4567   ${body}}
4569         
4570         
4571         
4572       end
4574       operation 130127 "parseData"
4575         stereotype "slot"
4576         protected explicit_return_type "void"
4577         nparams 0
4578         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4580         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4581   ${body}}
4583         
4584         
4585         
4586       end
4588       operation 130255 "playerJoined"
4589         stereotype "signal"
4590         protected explicit_return_type "void"
4591         nparams 3
4592           param in name "id" explicit_type "int"
4593           param in name "name" type class_ref 128440 // QString
4594           param in name "type" type class_ref 128440 // QString
4595         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4597         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4598   ${body}}
4600         
4601         
4602         
4603       end
4605       operation 130383 "playerLeft"
4606         stereotype "signal"
4607         protected explicit_return_type "void"
4608         nparams 1
4609           param in name "id" explicit_type "int"
4610         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4612         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4613   ${body}}
4615         
4616         
4617         
4618       end
4620       operation 130511 "receivedChatMessage"
4621         stereotype "signal"
4622         protected explicit_return_type "void"
4623         nparams 1
4624           param in name "msg" type class_ref 128440 // QString
4625         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4627         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4628   ${body}}
4630         
4631         
4632         
4633       end
4635       operation 130639 "receivedMove"
4636         stereotype "signal"
4637         protected explicit_return_type "void"
4638         nparams 1
4639           param in name "move" type class_ref 129301 // Move
4640         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4642         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4643   ${body}}
4645         
4646         
4647         
4648       end
4650       operation 130767 "startGame"
4651         stereotype "signal"
4652         protected explicit_return_type "void"
4653         nparams 0
4654         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4656         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4657   ${body}}
4659         
4660         
4661         
4662       end
4664       classrelation 129187 // <unidirectional association>
4665         relation 129187 --->
4666           a role_name "" protected
4667             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4669             classrelation_ref 129187 // <unidirectional association>
4670           b multiplicity "*" parent class_ref 129359 // ProtocolState
4671       end
4672     end
4674     class 129168 "ClientSocket"
4675       visibility package 
4676       cpp_decl "${comment}${template}class ${name}${inherit} {
4677 ${members}};
4678 ${inlines}
4680       java_decl ""
4681       php_decl ""
4682       idl_decl ""
4683       explicit_switch_type ""
4684       
4685       classrelation 129359 // <generalisation>
4686         relation 129359 ---|>
4687           a public
4688             cpp default "${type}"
4689             classrelation_ref 129359 // <generalisation>
4690           b parent class_ref 129231 // StreamSocket
4691       end
4693       operation 129315 "ClientSocket"
4694         public explicit_return_type ""
4695         nparams 1
4696           param in name "socket" type class_ref 129340 // QTcpSocket
4697         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4699         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4700   ${body}}
4702         
4703         
4704         
4705       end
4707       operation 132047 "joinGame"
4708         stereotype "slot"
4709         public explicit_return_type "void"
4710         nparams 2
4711           param in name "mode" type class_ref 128440 // QString
4712           param in name "name" type class_ref 128440 // QString
4713         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4715         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4716   ${body}}
4718         
4719         
4720         
4721       end
4723       operation 132175 "cancelJoin"
4724         stereotype "slot"
4725         public explicit_return_type "void"
4726         nparams 0
4727         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4729         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4730   ${body}}
4732         
4733         
4734         
4735       end
4737       operation 132303 "parseData"
4738         stereotype "slot"
4739         protected explicit_return_type "void"
4740         nparams 0
4741         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4743         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4744   ${body}}
4746         
4747         
4748         
4749       end
4751       operation 132559 "joinAccepted"
4752         stereotype "signal"
4753         protected explicit_return_type "void"
4754         nparams 1
4755           param in name "id" explicit_type "int"
4756         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4758         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4759   ${body}}
4761         
4762         
4763         
4764       end
4766       operation 132687 "joinRefused"
4767         stereotype "signal"
4768         protected explicit_return_type "void"
4769         nparams 1
4770           param in name "cause" explicit_type "int"
4771         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4773         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4774   ${body}}
4776         
4777         
4778         
4779       end
4781       operation 132815 "receivedGameSettings"
4782         stereotype "signal"
4783         protected explicit_return_type "void"
4784         nparams 5
4785           param in name "d1" explicit_type "int"
4786           param in name "d2" explicit_type "int"
4787           param in name "num" explicit_type "int"
4788           param in name "timer" explicit_type "int"
4789           param in name "playing" explicit_type "bool"
4790         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4792         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4793   ${body}}
4795         
4796         
4797         
4798       end
4800       operation 132943 "receivedHistory"
4801         stereotype "signal"
4802         protected explicit_return_type "void"
4803         nparams 1
4804           param in name "history" explicit_type "QList<Move>"
4805         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4807         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4808   ${body}}
4810         
4811         
4812         
4813       end
4814     end
4816     class 129296 "ServerSocket"
4817       visibility package 
4818       cpp_decl "${comment}${template}class ${name}${inherit} {
4819 ${members}};
4820 ${inlines}
4822       java_decl ""
4823       php_decl ""
4824       idl_decl ""
4825       explicit_switch_type ""
4826       
4827       classrelation 129231 // <generalisation>
4828         relation 129231 ---|>
4829           a public
4830             cpp default "${type}"
4831             classrelation_ref 129231 // <generalisation>
4832           b parent class_ref 129231 // StreamSocket
4833       end
4835       operation 129187 "ServerSocket"
4836         public explicit_return_type ""
4837         nparams 1
4838           param in name "socket" type class_ref 129340 // QTcpSocket
4839         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4841         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4842   ${body}}
4844         
4845         
4846         
4847       end
4849       operation 130895 "acceptJoin"
4850         public explicit_return_type "void"
4851         nparams 1
4852           param in name "id" explicit_type "int"
4853         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4855         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4856   ${body}}
4858         
4859         
4860         
4861       end
4863       operation 131023 "refuseJoin"
4864         public explicit_return_type "void"
4865         nparams 1
4866           param in name "cause" explicit_type "int"
4867         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4869         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4870   ${body}}
4872         
4873         
4874         
4875       end
4877       operation 131151 "sendGameSettings"
4878         stereotype "slot"
4879         public explicit_return_type "void"
4880         nparams 5
4881           param in name "d1" explicit_type "int"
4882           param in name "d2" explicit_type "int"
4883           param in name "num" explicit_type "int"
4884           param in name "timer" explicit_type "int"
4885           param in name "playing" explicit_type "bool"
4886         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4888         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4889   ${body}}
4891         
4892         
4893         
4894       end
4896       operation 131279 "sendHistory"
4897         stereotype "slot"
4898         public explicit_return_type "void"
4899         nparams 1
4900           param in name "history" explicit_type "QList<Move>"
4901         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4903         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4904   ${body}}
4906         
4907         
4908         
4909       end
4911       operation 131407 "sendPlayerJoined"
4912         stereotype "slot"
4913         public explicit_return_type "void"
4914         nparams 3
4915           param in name "id" explicit_type "int"
4916           param in name "name" type class_ref 128440 // QString
4917           param in name "type" type class_ref 128440 // QString
4918         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4920         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4921   ${body}}
4923         
4924         
4925         
4926       end
4928       operation 131535 "sendPlayerLeft"
4929         stereotype "slot"
4930         public explicit_return_type "void"
4931         nparams 1
4932           param in name "id" explicit_type "int"
4933         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4935         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4936   ${body}}
4938         
4939         
4940         
4941       end
4943       operation 131663 "sendStartGame"
4944         stereotype "slot"
4945         public explicit_return_type "void"
4946         nparams 0
4947         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4949         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4950   ${body}}
4952         
4953         
4954         
4955       end
4957       operation 131791 "parseData"
4958         stereotype "slot"
4959         protected explicit_return_type "void"
4960         nparams 0
4961         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4963         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4964   ${body}}
4966         
4967         
4968         
4969       end
4971       operation 131919 "joinRequested"
4972         stereotype "signal"
4973         protected explicit_return_type "void"
4974         nparams 2
4975           param in name "mode" type class_ref 128440 // QString
4976           param in name "name" type class_ref 128440 // QString
4977         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4979         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4980   ${body}}
4982         
4983         
4984         
4985       end
4986     end
4988     class 129340 "QTcpSocket"
4989       visibility package 
4990       cpp_decl "${comment}${template}class ${name}${inherit} {
4991 ${members}};
4992 ${inlines}
4994       java_decl ""
4995       php_decl ""
4996       idl_decl ""
4997       explicit_switch_type ""
4998       
4999       operation 130448 "connected"
5000         stereotype "signal"
5001         protected explicit_return_type "void"
5002         nparams 0
5003         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5005         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5006   ${body}}
5008         
5009         
5010         
5011       end
5013       operation 130576 "error"
5014         stereotype "signal"
5015         protected explicit_return_type "void"
5016         nparams 1
5017           param in name "socketError" explicit_type "QAbstractSocket::SocketError"
5018         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5020         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5021   ${body}}
5023         
5024         
5025         
5026       end
5028       operation 130320 "readyRead"
5029         stereotype "signal"
5030         protected explicit_return_type "void"
5031         nparams 0
5032         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5034         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5035   ${body}}
5037         
5038         
5039         
5040       end
5041     end
5043     class 129212 "QTcpServer"
5044       visibility package 
5045       cpp_decl "${comment}${template}class ${name}${inherit} {
5046 ${members}};
5047 ${inlines}
5049       java_decl ""
5050       php_decl ""
5051       idl_decl ""
5052       explicit_switch_type ""
5053       
5054       operation 130192 "newConnection"
5055         stereotype "signal"
5056         protected explicit_return_type "void"
5057         nparams 0
5058         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5060         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5061   ${body}}
5063         
5064         
5065         
5066       end
5067     end
5069     class 129473 "QXmlStreamReader"
5070       visibility package 
5071       cpp_decl "${comment}${template}class ${name}${inherit} {
5072 ${members}};
5073 ${inlines}
5075       java_decl ""
5076       php_decl ""
5077       idl_decl ""
5078       explicit_switch_type ""
5079       
5080     end
5082     class 129601 "QXmlStreamWriter"
5083       visibility package 
5084       cpp_decl "${comment}${template}class ${name}${inherit} {
5085 ${members}};
5086 ${inlines}
5088       java_decl ""
5089       php_decl ""
5090       idl_decl ""
5091       explicit_switch_type ""
5092       
5093     end
5095     class 128003 "ThreatSearchAI"
5096       visibility package 
5097       cpp_decl "${comment}${template}class ${name}${inherit} {
5098 ${members}};
5099 ${inlines}
5101       java_decl ""
5102       php_decl ""
5103       idl_decl ""
5104       explicit_switch_type ""
5105       
5106       classrelation 128003 // <realization>
5107         relation 128003 -_-|>
5108           a public
5109             cpp default "${type}"
5110             classrelation_ref 128003 // <realization>
5111           b parent class_ref 129941 // AI
5112       end
5114       operation 131203 "ThreatSearchAI"
5115         public explicit_return_type ""
5116         nparams 1
5117           param in name "id" explicit_type "int"
5118         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5120         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5121   ${body}}
5123         
5124         
5125         
5126       end
5128       operation 128091 "~ThreatSerachAI"
5129         public explicit_return_type ""
5130         nparams 0
5131         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5133         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5134   ${body}}
5136         
5137         
5138         
5139       end
5141       attribute 128003 "_d1"
5142         protected explicit_type "int"
5143         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5145         java_decl ""
5146         php_decl ""
5147         idl_decl ""
5148       end
5150       attribute 128131 "_d2"
5151         protected explicit_type "int"
5152         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5154         java_decl ""
5155         php_decl ""
5156         idl_decl ""
5157       end
5159       attribute 128259 "_threat"
5160         protected type class_ref 128131 // Threat
5161         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5163         java_decl ""
5164         php_decl ""
5165         idl_decl ""
5166       end
5168       attribute 128387 "_mat"
5169         protected type class_ref 129557 // GameMatrix
5170         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5172         java_decl ""
5173         php_decl ""
5174         idl_decl ""
5175       end
5177       operation 131331 "init"
5178         public explicit_return_type "void"
5179         nparams 0
5180         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5182         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5183   ${body}}
5185         
5186         
5187         
5188       end
5190       operation 130947 "move"
5191         cpp_virtual public return_type class_ref 129173 // Point
5192         nparams 1
5193           param in name "level" explicit_type "int"
5194         
5195         
5196         
5197         
5198       end
5200       operation 131075 "forceMove"
5201         cpp_virtual public explicit_return_type "void"
5202         nparams 0
5203         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5205         
5206         
5207         
5208       end
5210       operation 131843 "movesUndone"
5211         cpp_virtual public explicit_return_type "void"
5212         nparams 0
5213         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5215         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5216   ${body}}
5218         
5219         
5220         
5221       end
5223       operation 131587 "createThreat"
5224         protected explicit_return_type "Threat*"
5225         nparams 0
5226         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5228         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5229   ${body}}
5231         
5232         
5233         
5234       end
5236       operation 131459 "defenseHook"
5237         protected return_type class_ref 129173 // Point
5238         nparams 0
5239         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5241         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5242   ${body}}
5244         
5245         
5246         
5247       end
5249       operation 131715 "defense"
5250         private return_type class_ref 129173 // Point
5251         nparams 1
5252           param in name "level" explicit_type "int"
5253         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5255         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5256   ${body}}
5258         
5259         
5260         
5261       end
5263       classrelation 128387 // <composition>
5264         relation 128387 *---
5265           a role_name "" multiplicity "0..1" protected
5266             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5268             classrelation_ref 128387 // <composition>
5269           b role_name "" protected
5270             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5272             classrelation_ref 128515 // <composition>
5273       end
5274     end
5276     class 128131 "Threat"
5277       visibility package 
5278       cpp_decl "${comment}${template}class ${name}${inherit} {
5279 ${members}};
5280 ${inlines}
5282       java_decl ""
5283       php_decl ""
5284       idl_decl ""
5285       explicit_switch_type ""
5286       
5287       class 128643 "Direction"
5288         visibility public stereotype "enum"
5289         cpp_decl "${comment}enum ${name} {
5290 ${items}
5293         java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5294 ${items};
5295 ${members}}
5297         php_decl "${comment}final ${visibility}class ${name} {
5298 ${items}}
5300         idl_decl "${comment}enum ${name} {
5301 ${items}};
5303         explicit_switch_type ""
5304         
5305         attribute 130179 "DIR_X"
5306           public type class_ref 128643 // Direction
5307           cpp_decl "  ${name}${value},${comment}"
5308           java_decl ""
5309           php_decl ""
5310           idl_decl ""
5311         end
5313         attribute 130307 "DIR_Y"
5314           public type class_ref 128643 // Direction
5315           cpp_decl "  ${name}${value},${comment}"
5316           java_decl ""
5317           php_decl ""
5318           idl_decl ""
5319         end
5321         attribute 130563 "DIR_Z"
5322           public type class_ref 128643 // Direction
5323           cpp_decl "  ${name}${value},${comment}"
5324           java_decl ""
5325           php_decl ""
5326           idl_decl ""
5327         end
5328       end
5330       class 128515 "Node"
5331         visibility private 
5332         cpp_decl "${comment}${template}class ${name}${inherit} {
5333 ${members}};
5334 ${inlines}
5336         java_decl ""
5337         php_decl ""
5338         idl_decl ""
5339         explicit_switch_type ""
5340         
5341         attribute 129539 "value"
5342           public explicit_type "int"
5343           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5345           java_decl ""
5346           php_decl ""
5347           idl_decl ""
5348         end
5350         attribute 129667 "point"
5351           public type class_ref 129173 // Point
5352           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5354           java_decl ""
5355           php_decl ""
5356           idl_decl ""
5357         end
5359         attribute 129795 "dir"
5360           public type class_ref 128739 // Direction
5361           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5363           java_decl ""
5364           php_decl ""
5365           idl_decl ""
5366         end
5368         attribute 129923 "par"
5369           public explicit_type "Node**"
5370           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5372           java_decl ""
5373           php_decl ""
5374           idl_decl ""
5375         end
5377         attribute 130051 "next"
5378           public explicit_type "Node*"
5379           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5381           java_decl ""
5382           php_decl ""
5383           idl_decl ""
5384         end
5386         classrelation 128643 // <unidirectional association>
5387           relation 128515 --->
5388             a role_name "" protected
5389               cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5391               classrelation_ref 128643 // <unidirectional association>
5392             b multiplicity "*" parent class_ref 128643 // Direction
5393         end
5395         operation 133635 "Node"
5396           public explicit_return_type ""
5397           nparams 3
5398             param in name "val" explicit_type "int"
5399             param in name "p" type class_ref 129173 // Point
5400             param in name "dir" type class_ref 128739 // Direction
5401           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5403           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5404   ${body}}
5406           
5407           
5408           
5409         end
5411         operation 133507 "~Node"
5412           public explicit_return_type ""
5413           nparams 0
5414           cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5416           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5417   ${body}}
5419           
5420           
5421           
5422         end
5424         classrelation 129461 // <directional composition>
5425           relation 129333 *-->
5426             a role_name "" multiplicity "0..1" protected
5427               cpp default "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5429               classrelation_ref 129461 // <directional composition>
5430             b parent class_ref 128515 // Node
5431         end
5432       end
5434       attribute 128515 "_ai"
5435         protected explicit_type "ThreatSearchAI*"
5436         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5438         java_decl ""
5439         php_decl ""
5440         idl_decl ""
5441       end
5443       attribute 128643 "_mat"
5444         protected explicit_type "GameMatrix*"
5445         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5447         java_decl ""
5448         php_decl ""
5449         idl_decl ""
5450       end
5452       attribute 128771 "_d1"
5453         protected explicit_type "int"
5454         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5456         java_decl ""
5457         php_decl ""
5458         idl_decl ""
5459       end
5461       attribute 128899 "_d2"
5462         protected explicit_type "int"
5463         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5465         java_decl ""
5466         php_decl ""
5467         idl_decl ""
5468       end
5470       attribute 129027 "_x"
5471         private explicit_type "QMap<Point,Node*>"
5472         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5474         java_decl ""
5475         php_decl ""
5476         idl_decl ""
5477       end
5479       attribute 129155 "_y"
5480         private explicit_type "QMap<Point,Node*>"
5481         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5483         java_decl ""
5484         php_decl ""
5485         idl_decl ""
5486       end
5488       attribute 129283 "_z"
5489         private explicit_type "QMap<Point,Node*>"
5490         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5492         java_decl ""
5493         php_decl ""
5494         idl_decl ""
5495       end
5497       attribute 129411 "_priority"
5498         private explicit_type "Node**"
5499         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5501         java_decl ""
5502         php_decl ""
5503         idl_decl ""
5504       end
5506       operation 132355 "Threat"
5507         public explicit_return_type ""
5508         nparams 1
5509           param in name "ai" explicit_type "ThreatSearchAI*"
5510         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5512         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5513   ${body}}
5515         
5516         
5517         
5518       end
5520       operation 128219 "~Threat"
5521         public explicit_return_type ""
5522         nparams 0
5523         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5525         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5526   ${body}}
5528         
5529         
5530         
5531       end
5533       operation 132483 "insert"
5534         public explicit_return_type "void"
5535         nparams 1
5536           param in name "point" type class_ref 129173 // Point
5537         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5539         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5540   ${body}}
5542         
5543         
5544         
5545       end
5547       classrelation 128515 // <composition>
5548         relation_ref 128387 // <composition>
5549       end
5551       operation 132611 "scanFromMatrix"
5552         public explicit_return_type "void"
5553         nparams 0
5554         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5556         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5557   ${body}}
5559         
5560         
5561         
5562       end
5564       operation 132739 "insertHook"
5565         protected explicit_return_type "void"
5566         nparams 1
5567           param in name "p" type class_ref 129173 // Point
5568         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5570         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5571   ${body}}
5573         
5574         
5575         
5576       end
5578       operation 132867 "scanFromMatrixHook"
5579         protected explicit_return_type "void"
5580         nparams 0
5581         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5583         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5584   ${body}}
5586         
5587         
5588         
5589       end
5591       operation 132995 "removeFromPriority"
5592         private explicit_return_type "void"
5593         nparams 1
5594           param in name "it" explicit_type "Node*"
5595         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5597         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5598   ${body}}
5600         
5601         
5602         
5603       end
5605       operation 133123 "insertInPriority"
5606         private explicit_return_type "void"
5607         nparams 1
5608           param in name "it" explicit_type "Node*"
5609         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5611         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5612   ${body}}
5614         
5615         
5616         
5617       end
5619       operation 133251 "evalInsert"
5620         private explicit_return_type "void"
5621         nparams 3
5622           param in name "p" type class_ref 129173 // Point
5623           param in name "index" explicit_type "int"
5624           param in name "dir" type class_ref 128739 // Direction
5625         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5627         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5628   ${body}}
5630         
5631         
5632         
5633       end
5635       operation 133379 "evalPriority"
5636         private explicit_return_type "int"
5637         nparams 2
5638           param in name "p" type class_ref 129173 // Point
5639           param in name "dir" type class_ref 128739 // Direction
5640         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5642         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5643   ${body}}
5645         
5646         
5647         
5648       end
5650       classrelation 128899 // <directional composition>
5651         relation 128771 *-->
5652           a role_name "" multiplicity "*" protected
5653             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5655             classrelation_ref 128899 // <directional composition>
5656           b parent class_ref 128515 // Node
5657       end
5658     end
5660     class 128387 "CCThreat"
5661       visibility package 
5662       cpp_decl "${comment}${template}class ${name}${inherit} {
5663 ${members}};
5664 ${inlines}
5666       java_decl ""
5667       php_decl ""
5668       idl_decl ""
5669       explicit_switch_type ""
5670       
5671       attribute 130691 "_opponentCC"
5672         private explicit_type "QVector<QList<ConnectedComponent>>"
5673         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5675         java_decl ""
5676         php_decl ""
5677         idl_decl ""
5678       end
5680       operation 133763 "CCThreat"
5681         public explicit_return_type ""
5682         nparams 1
5683           param in name "ai" explicit_type "CCThreatSearchAI*"
5684         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5686         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5687   ${body}}
5689         
5690         
5691         
5692       end
5694       classrelation 128771 // <generalisation>
5695         relation 128643 ---|>
5696           a public
5697             cpp default "${type}"
5698             classrelation_ref 128771 // <generalisation>
5699           b parent class_ref 128131 // Threat
5700       end
5702       operation 133891 "insertHook"
5703         protected explicit_return_type "void"
5704         nparams 1
5705           param in name "p" type class_ref 129173 // Point
5706         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5708         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5709   ${body}}
5711         
5712         
5713         
5714       end
5716       operation 134019 "scanFromMatrixHook"
5717         protected explicit_return_type "void"
5718         nparams 0
5719         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5721         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5722   ${body}}
5724         
5725         
5726         
5727       end
5729       operation 134147 "find"
5730         private explicit_return_type "int"
5731         nparams 2
5732           param in name "id" explicit_type "int"
5733           param in name "p" type class_ref 129173 // Point
5734         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5736         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5737   ${body}}
5739         
5740         
5741         
5742       end
5744       operation 134275 "explore"
5745         private explicit_return_type "void"
5746         nparams 3
5747           param in name "p" type class_ref 129173 // Point
5748           param in name "id" explicit_type "int"
5749           param inout name "set" explicit_type "QSet<Point>"
5750         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5752         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5753   ${body}}
5755         
5756         
5757         
5758       end
5760       operation 134403 "merge"
5761         private explicit_return_type "void"
5762         nparams 2
5763           param in name "p1" type class_ref 129173 // Point
5764           param in name "p2" type class_ref 129173 // Point
5765         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5767         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5768   ${body}}
5770         
5771         
5772         
5773       end
5775       class 128771 "ConnectedComponent"
5776         visibility package 
5777         cpp_decl "${comment}${template}class ${name}${inherit} {
5778 ${members}};
5779 ${inlines}
5781         java_decl ""
5782         php_decl ""
5783         idl_decl ""
5784         explicit_switch_type ""
5785         
5786         operation 134531 "ConnectedComponent"
5787           public explicit_return_type ""
5788           nparams 1
5789             param in name "items" explicit_type "QSet<Point>"
5790           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5792           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5793   ${body}}
5795           
5796           
5797           
5798         end
5800         operation 134659 "ConnectedComponent"
5801           public explicit_return_type ""
5802           nparams 1
5803             param in name "p" type class_ref 129173 // Point
5804           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5806           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5807   ${body}}
5809           
5810           
5811           
5812         end
5814         attribute 130819 "nodes"
5815           public explicit_type "QSet<Point>"
5816           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5818           java_decl ""
5819           php_decl ""
5820           idl_decl ""
5821         end
5823         attribute 130947 "min_x"
5824           public explicit_type "int"
5825           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5827           java_decl ""
5828           php_decl ""
5829           idl_decl ""
5830         end
5832         attribute 131075 "min_y"
5833           public explicit_type "int"
5834           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5836           java_decl ""
5837           php_decl ""
5838           idl_decl ""
5839         end
5841         attribute 131203 "min_z"
5842           public explicit_type "int"
5843           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5845           java_decl ""
5846           php_decl ""
5847           idl_decl ""
5848         end
5850         attribute 131331 "max_x"
5851           public explicit_type "int"
5852           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5854           java_decl ""
5855           php_decl ""
5856           idl_decl ""
5857         end
5859         attribute 131459 "max_y"
5860           public explicit_type "int"
5861           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5863           java_decl ""
5864           php_decl ""
5865           idl_decl ""
5866         end
5868         attribute 131587 "max_z"
5869           public explicit_type "int"
5870           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5872           java_decl ""
5873           php_decl ""
5874           idl_decl ""
5875         end
5876       end
5878       classrelation 129027 // <directional composition>
5879         relation 128899 *-->
5880           a role_name "" multiplicity "*" protected
5881             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5883             classrelation_ref 129027 // <directional composition>
5884           b parent class_ref 128771 // ConnectedComponent
5885       end
5886     end
5888     class 128259 "CCThreatSearchAI"
5889       visibility package 
5890       cpp_decl "${comment}${template}class ${name}${inherit} {
5891 ${members}};
5892 ${inlines}
5894       java_decl ""
5895       php_decl ""
5896       idl_decl ""
5897       explicit_switch_type ""
5898       
5899       classrelation 128259 // <generalisation>
5900         relation 128259 ---|>
5901           a public
5902             cpp default "${type}"
5903             classrelation_ref 128259 // <generalisation>
5904           b parent class_ref 128003 // ThreatSearchAI
5905       end
5907       operation 132227 "CCThreatSearchAI"
5908         public explicit_return_type ""
5909         nparams 1
5910           param in name "id" explicit_type "int"
5911         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5913         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5914   ${body}}
5916         
5917         
5918         
5919       end
5921       operation 132099 "createThreat"
5922         protected explicit_return_type "Threat*"
5923         nparams 0
5924         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5926         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5927   ${body}}
5929         
5930         
5931         
5932       end
5934       operation 131971 "defenseHook"
5935         protected return_type class_ref 129173 // Point
5936         nparams 0
5937         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5939         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5940   ${body}}
5942         
5943         
5944         
5945       end
5946     end
5948     class 128467 "StandAloneDialog"
5949       visibility package 
5950       cpp_decl "${comment}${template}class ${name}${inherit} {
5951 ${members}};
5952 ${inlines}
5954       java_decl ""
5955       php_decl ""
5956       idl_decl ""
5957       explicit_switch_type ""
5958       
5959       operation 128688 "StandAloneDialog"
5960         public explicit_return_type ""
5961         nparams 1
5962           param in name "parent" explicit_type "QWidget*"
5963         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5965         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5966   ${body}}
5968         
5969         
5970         
5971       end
5973       operation 128467 "accept"
5974         stereotype "slot"
5975         cpp_virtual public explicit_return_type "void"
5976         nparams 0
5977         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5979         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5980   ${body}}
5982         
5983         
5984         
5985       end
5987       operation 128048 "colorSlot"
5988         stereotype "slot"
5989         private explicit_return_type "void"
5990         nparams 0
5991         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5993         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5994   ${body}}
5996         
5997         
5998         
5999       end
6001       operation 128339 "playersChanged"
6002         stereotype "slot"
6003         private explicit_return_type "void"
6004         nparams 1
6005           param in name "number" explicit_type "int"
6006         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6008         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6009   ${body}}
6011         
6012         
6013         
6014       end
6015     end
6017     class 128081 "OnlineDialog"
6018       visibility package 
6019       cpp_decl "${comment}${template}class ${name}${inherit} {
6020 ${members}};
6021 ${inlines}
6023       java_decl ""
6024       php_decl ""
6025       idl_decl ""
6026       explicit_switch_type ""
6027       
6028       operation 128560 "OnlineDialog"
6029         public explicit_return_type ""
6030         nparams 1
6031           param in name "parent" explicit_type "QWidget*"
6032         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
6034         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6035   ${body}}
6037         
6038         
6039         
6040       end
6042       operation 128432 "join"
6043         stereotype "slot"
6044         public explicit_return_type "void"
6045         nparams 0
6046         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6048         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6049   ${body}}
6051         
6052         
6053         
6054       end
6056       operation 128465 "addPlayer"
6057         stereotype "slot"
6058         public explicit_return_type "void"
6059         nparams 3
6060           param in name "id" explicit_type "int"
6061           param in name "name" type class_ref 128440 // QString
6062           param in name "type" type class_ref 128440 // QString
6063         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6065         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6066   ${body}}
6068         
6069         
6070         
6071       end
6073       operation 128113 "removePlayer"
6074         stereotype "slot"
6075         public explicit_return_type "void"
6076         nparams 1
6077           param in name "id" explicit_type "int"
6078         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6080         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6081   ${body}}
6083         
6084         
6085         
6086       end
6088       operation 128593 "receiveSettings"
6089         stereotype "slot"
6090         public explicit_return_type "void"
6091         nparams 5
6092           param in name "d1" explicit_type "int"
6093           param in name "d2" explicit_type "int"
6094           param in name "numPlayers" explicit_type "int"
6095           param in name "timer" explicit_type "int"
6096           param in name "playing" explicit_type "bool"
6097         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6099         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6100   ${body}}
6102         
6103         
6104         
6105       end
6107       operation 128304 "colorSlot"
6108         stereotype "slot"
6109         private explicit_return_type "void"
6110         nparams 0
6111         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6113         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6114   ${body}}
6116         
6117         
6118         
6119       end
6121       operation 128209 "connectToServer"
6122         stereotype "slot"
6123         private explicit_return_type "void"
6124         nparams 0
6125         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6127         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6128   ${body}}
6130         
6131         
6132         
6133       end
6134     end
6136     class 128723 "ServerSettingsDialog"
6137       visibility package 
6138       cpp_decl "${comment}${template}class ${name}${inherit} {
6139 ${members}};
6140 ${inlines}
6142       java_decl ""
6143       php_decl ""
6144       idl_decl ""
6145       explicit_switch_type ""
6146       
6147       operation 128851 "ServerSettingsDialog"
6148         public explicit_return_type ""
6149         nparams 1
6150           param in name "parent" explicit_type "QWidget*"
6151         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
6153         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6154   ${body}}
6156         
6157         
6158         
6159       end
6161       operation 128723 "accept"
6162         stereotype "slot"
6163         cpp_virtual public explicit_return_type "void"
6164         nparams 0
6165         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6167         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6168   ${body}}
6170         
6171         
6172         
6173       end
6175       operation 128176 "colorSlot"
6176         stereotype "slot"
6177         private explicit_return_type "void"
6178         nparams 0
6179         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6181         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6182   ${body}}
6184         
6185         
6186         
6187       end
6189       operation 128595 "playersChanged"
6190         stereotype "slot"
6191         private explicit_return_type "void"
6192         nparams 1
6193           param in name "number" explicit_type "int"
6194         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6196         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6197   ${body}}
6199         
6200         
6201         
6202       end
6203     end
6205     class 128440 "QString"
6206       visibility package 
6207       cpp_decl "${comment}${template}class ${name}${inherit} {
6208 ${members}};
6209 ${inlines}
6211       java_decl ""
6212       php_decl ""
6213       idl_decl ""
6214       explicit_switch_type ""
6215       
6216     end
6218     class 129199 "QStringList"
6219       visibility package 
6220       cpp_decl "${comment}${template}class ${name}${inherit} {
6221 ${members}};
6222 ${inlines}
6224       java_decl ""
6225       php_decl ""
6226       idl_decl ""
6227       explicit_switch_type ""
6228       
6229     end
6231     class 128182 "QList"
6232       visibility package 
6233       nformals 1
6234       formal name "T" type "typename" explicit_default_value ""
6235         explicit_extends ""
6236       cpp_decl "${comment}${template}class ${name}${inherit} {
6237 ${members}};
6238 ${inlines}
6240       java_decl ""
6241       php_decl ""
6242       idl_decl ""
6243       explicit_switch_type ""
6244       
6245     end
6247     class 128122 "QLinkedList"
6248       visibility package 
6249       nformals 1
6250       formal name "T" type "typename" explicit_default_value ""
6251         explicit_extends ""
6252       cpp_decl "${comment}${template}class ${name}${inherit} {
6253 ${members}};
6254 ${inlines}
6256       java_decl ""
6257       php_decl ""
6258       idl_decl ""
6259       explicit_switch_type ""
6260       
6261     end
6263     class 128054 "QMap"
6264       visibility package 
6265       nformals 2
6266       formal name "K" type "typename" explicit_default_value ""
6267         explicit_extends ""
6268       formal name "T" type "typename" explicit_default_value ""
6269         explicit_extends ""
6270       cpp_decl "${comment}${template}class ${name}${inherit} {
6271 ${members}};
6272 ${inlines}
6274       java_decl ""
6275       php_decl ""
6276       idl_decl ""
6277       explicit_switch_type ""
6278       
6279     end
6281     class 129327 "QVector"
6282       visibility package 
6283       nformals 1
6284       formal name "T" type "typename" explicit_default_value ""
6285         explicit_extends ""
6286       cpp_decl "${comment}${template}class ${name}${inherit} {
6287 ${members}};
6288 ${inlines}
6290       java_decl ""
6291       php_decl ""
6292       idl_decl ""
6293       explicit_switch_type ""
6294       
6295     end
6297     sequencediagram 128054 "InitSequence"
6298       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
6299       size A1
6300     end
6302     sequencediagram 128148 "GameLoop::run"
6303       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6304       overlapping_bars size A3
6305     end
6307     sequencediagram 128213 "HumanPlayer::doMove"
6308       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6309       overlapping_bars size A3
6310     end
6312     sequencediagram 129168 "RemotePlayer::doMove"
6313       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6314       overlapping_bars size A3
6315     end
6317     sequencediagram 128024 "AIPlayer::doMove"
6318       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6319       overlapping_bars size A3
6320     end
6322     activity 128011 "GameMatrix::add"
6323       activitydiagram 128011 "add"
6324         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 yes shadow no
6325         show_infonote default drawing_language default
6326         size A3
6327       end
6329       parameter 128011 "move" explicit_type ""
6330         unordered 
6331         in
6332         flow 128011 "<flow>"
6333           on pin_ref 128011 // m
6334         end
6335       end
6337       activitynode 128011 initial ""
6338         flow 128139 "<flow>"
6339           on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
6340         end
6341       end
6343       activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
6344         opaque_action
6345         pin 128011 "m" explicit_type ""
6346           unordered 
6347           in
6348         end
6350         flow 128267 "<flow>"
6351           on expansionnode_ref 128011 // dir
6352         end
6353       end
6355       expansionregion 128011 ""
6356         iterative
6357         expansionnode 128011 "dir"
6358            explicit_type ""
6359           unordered is_control
6360           flow 128395 "<flow>"
6361             on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
6362           end
6363         end
6365         activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
6366           opaque_action
6367           flow 129419 "<flow>"
6368             on activitynode_ref 128395 // merge
6369           end
6370         end
6372         activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
6373           opaque_action
6374           pin 128139 "d" explicit_type ""
6375             unordered 
6376             out
6377             flow 130955 "<flow>"
6378               on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
6379             end
6380           end
6381         end
6383         activityaction 128395 "i = i + 1"
6384           opaque_action
6385           flow 129675 "<flow>"
6386             on activitynode_ref 128395 // merge
6387           end
6388         end
6390         activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
6391           opaque_action
6392           flow 129163 "<flow>"
6393             on activitynode_ref 128267 // decision
6394           end
6395         end
6397         activitynode 128267 decision ""
6398           flow 129291 "<flow>"
6399             on activityaction_ref 128395 // activity action i = i + 1
6400               uml_guard "elementAt(k) == m.playerId()"
6401           end
6403           flow 130571 "<flow>"
6404             on activityaction_ref 128779 // activity action i = 0, start = start + 1
6405               uml_guard "else"
6406           end
6408           flow 130699 "<flow>"
6409             on activitynode_ref 128779 // flow_final
6410               uml_guard "elementAt(k) == -2"
6411           end
6412         end
6414         activitynode 128395 merge ""
6415           flow 129248 "<flow>"
6416             on activitynode_ref 129248 // decision
6417           end
6418         end
6420         activitynode 128523 decision ""
6421           flow 129803 "<flow>"
6422             on activityaction_ref 128523 // activity action costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i
6423               uml_guard "else"
6424           end
6426           flow 129632 "<flow>"
6427             on activitynode_ref 128779 // flow_final
6428               uml_guard "start > m.point().d()"
6429           end
6430         end
6432         expansionnode 128139 ""
6433            explicit_type ""
6434           unordered is_control
6435           flow 131595 "<flow>"
6436             on activitynode_ref 129035 // decision
6437           end
6438         end
6440         activitynode 129248 decision ""
6441           flow 129376 "<flow>"
6442             on activitynode_ref 128523 // decision
6443               uml_guard "i < _d1"
6444           end
6446           flow 129760 "<flow>"
6447             on activitynode_ref 129291 // merge
6448               uml_guard "else"
6449           end
6450         end
6451       end
6453       parameter 128139 "win" explicit_type ""
6454         unordered is_control
6455         out
6456       end
6458       activityaction 128651 "win = true"
6459         opaque_action
6460         flow 130187 "<flow>"
6461           on activitynode_ref 128651 // merge
6462         end
6463       end
6465       activitynode 128651 merge ""
6466         flow 130315 "<flow>"
6467           on parameter_ref 128139 // win
6468         end
6469       end
6471       activityaction 128779 "i = 0, start = start + 1"
6472         opaque_action
6473         flow 130827 "<flow>"
6474           on activitynode_ref 128395 // merge
6475         end
6476       end
6478       activitynode 128779 flow_final ""
6479       end
6481       activityaction 128907 "win = false"
6482         opaque_action
6483         flow 131211 "<flow>"
6484           on activitynode_ref 128651 // merge
6485         end
6486       end
6488       activitynode 128907 merge ""
6489         flow 131339 "<flow>"
6490           on activityaction_ref 128907 // activity action win = false
6491         end
6492       end
6494       activityaction 129035 "set = {}, extractCC(point, id, set)"
6495         opaque_action
6496         flow 131979 "<flow>"
6497           on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
6498         end
6499       end
6501       activitynode 129035 decision ""
6502         flow 131723 "<flow>"
6503           on activitynode_ref 128907 // merge
6504             uml_guard "else"
6505         end
6507         flow 131851 "<flow>"
6508           on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
6509             uml_guard "_d2 == 3"
6510         end
6511       end
6513       activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
6514         opaque_action
6515         pin 128267 "estremi" explicit_type ""
6516            multiplicity "3" unordered 
6517           out
6518           flow 132107 "<flow>"
6519             on activitynode_ref 129163 // decision
6520           end
6521         end
6522       end
6524       activitynode 129163 decision ""
6525         flow 132491 "<flow>"
6526           on activitynode_ref 129291 // merge
6527             uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
6528         end
6530         flow 132619 "<flow>"
6531           on activitynode_ref 128907 // merge
6532             uml_guard "else"
6533         end
6534       end
6536       activitynode 129291 merge ""
6537         flow 132235 "<flow>"
6538           on activityaction_ref 128651 // activity action win = true
6539         end
6540       end
6541     end
6542   end
6544   package_ref 128002 // GUI
6546   package_ref 128130 // Network
6548   package_ref 128258 // Core
6550   package_ref 128386 // AI