4 modified_by 118 "davide"
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
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
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
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
60 classdiagram 128393 "WidgetDiagram"
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
65 classdiagram 129232 "DialogDiagram"
66 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
70 classdiagram 128099 "3DDiagram"
71 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
75 classdiagram 128521 "CoreDiagram"
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
80 classdiagram 128149 "PlayerDiagram"
81 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
85 classdiagram 128003 "AIDiagram"
86 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
90 classdiagram 128122 "NetworkDiagram"
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
95 classdiagram 129301 "SettingsHierarchy"
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
100 classdiagram 129429 "GameLoopView"
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
105 classdiagram 129557 "MiscCoreView"
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
110 classdiagram 129685 "ReducedGUIView"
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
115 classdiagram 128087 "AI_NetworkView"
116 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
120 class 128019 "QMainWindow"
126 explicit_switch_type ""
130 class 128533 "QWidget"
136 explicit_switch_type ""
140 class 128917 "MainWindow"
146 explicit_switch_type ""
148 classrelation 128019 // <generalisation>
149 relation 128019 ---|>
151 classrelation_ref 128019 // <generalisation>
152 b parent class_ref 128019 // QMainWindow
155 attribute 129301 "_loop"
156 private type class_ref 130325 // GameLoop
163 attribute 129173 "_net"
164 private type class_ref 130069 // Network
171 attribute 129429 "_settings"
172 private type class_ref 130453 // SettingsManager
179 attribute 128040 "_playersInfo"
180 private explicit_type "QList<PlayerInfo>"
181 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
188 attribute 128637 "_suggester"
189 private type class_ref 129720 // Suggester
190 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
197 attribute 128149 "_render"
198 private type class_ref 128661 // RenderWidget
205 attribute 128277 "_chat"
206 private type class_ref 128789 // ChatWidget
213 attribute 129976 "_history"
214 private type class_ref 129848 // HistoryModel
215 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
222 attribute 129848 "_timer"
223 private type class_ref 128381 // TimerWidget
224 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
231 attribute 128381 "_playersWidget"
232 private type class_ref 129021 // PlayersWidget
233 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
240 attribute 128188 "_historyView"
241 private type class_ref 128893 // QTableView
242 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
249 operation 129072 "MainWindow"
250 public explicit_return_type ""
252 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
254 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
262 operation 128175 "loadGame"
264 public explicit_return_type "void"
266 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
268 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
276 operation 128047 "saveGame"
278 public explicit_return_type "void"
280 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
282 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
290 classrelation 128917 // <directional composition>
292 a role_name "" multiplicity "0..1" protected
293 classrelation_ref 128917 // <directional composition>
294 b parent class_ref 128789 // ChatWidget
297 classrelation 129045 // <directional composition>
299 a role_name "" multiplicity "0..1" protected
300 classrelation_ref 129045 // <directional composition>
301 b parent class_ref 128661 // RenderWidget
304 classrelation 128440 // <directional composition>
306 a role_name "" multiplicity "0..1" protected
307 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
309 classrelation_ref 128440 // <directional composition>
310 b parent class_ref 130069 // Network
313 classrelation 128568 // <directional composition>
315 a role_name "" protected
316 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
318 classrelation_ref 128568 // <directional composition>
319 b parent class_ref 129941 // AI
322 classrelation 128264 // <directional composition>
324 a role_name "" protected
325 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
327 classrelation_ref 128264 // <directional composition>
328 b parent class_ref 130453 // SettingsManager
331 classrelation 128262 // <directional composition>
333 a role_name "" protected
334 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
336 classrelation_ref 128262 // <directional composition>
337 b parent class_ref 130325 // GameLoop
340 operation 128392 "turn"
342 public explicit_return_type "void"
344 param in name "playerId" explicit_type "int"
345 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
347 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
355 operation 128361 "drawMove"
357 public explicit_return_type "void"
359 param in name "move" type class_ref 129301 // Move
360 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
362 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
368 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
371 operation 128060 "undoMoves"
373 public explicit_return_type "void"
375 param in name "index" explicit_type "QModelIndex"
376 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
378 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
384 comment "disattiva la possibilità da parte dell'utente di eseguire mosse
385 resetta su render e game matrix le caselle indicate nella lista index+1..n
386 invoca setLastRound(index-2...index) su game matrix
387 setta su GameLoop il turno con setTurn(index+1.id())
388 toglie gli elementi index+1..n dalla history
389 invoca notifyMove(Point_null)
393 operation 128700 "showPastGameStatus"
395 public explicit_return_type "void"
397 param in name "index" explicit_type "QModelIndex"
398 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
400 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
406 comment "vedi pesablock, è il gestore dell'evento history::clicked"
409 classrelation 130744 // <directional composition>
411 a role_name "" protected
412 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
414 classrelation_ref 130744 // <directional composition>
415 b parent class_ref 129848 // HistoryModel
418 classrelation 129533 // <directional composition>
420 a role_name "" multiplicity "0..1" protected
421 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
423 classrelation_ref 129533 // <directional composition>
424 b parent class_ref 129720 // Suggester
427 classrelation 128316 // <directional composition>
429 a role_name "" multiplicity "0..1" protected
430 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
432 classrelation_ref 128316 // <directional composition>
433 b parent class_ref 128381 // TimerWidget
436 classrelation 128572 // <directional composition>
438 a role_name "" protected
439 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
441 classrelation_ref 128572 // <directional composition>
442 b parent class_ref 129021 // PlayersWidget
445 classrelation 128700 // <directional composition>
447 a role_name "" protected
448 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
450 classrelation_ref 128700 // <directional composition>
451 b parent class_ref 128893 // QTableView
454 classrelation 128054 // <unidirectional association>
456 a role_name "" multiplicity "0..3" private
457 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
459 classrelation_ref 128054 // <unidirectional association>
460 b parent class_ref 129976 // PlayerInfo
463 operation 129206 "newStandAloneGame"
465 public explicit_return_type "void"
467 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
469 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
477 operation 128081 "connectToServer"
479 public explicit_return_type "void"
481 param in name "ip" type class_ref 128440 // QString
482 param in name "port" type class_ref 128440 // QString
483 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
485 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
493 operation 128721 "newOnlineGame"
495 public explicit_return_type "void"
497 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
499 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
507 operation 128849 "newServerGame"
509 public explicit_return_type "void"
511 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
513 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
521 operation 128020 "playerWin"
523 public explicit_return_type "void"
525 param in name "playerId" explicit_type "int"
526 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
528 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
536 operation 128276 "playersDraw"
538 public explicit_return_type "void"
540 param in name "playersIds" explicit_type "QList<int>"
541 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
543 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
551 operation 130360 "forceMove"
553 protected explicit_return_type "void"
555 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
557 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
563 comment "connesso allo slot GameLoop::forceMove()"
566 classrelation 128113 // <unidirectional association>
568 a role_name "" protected
569 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
571 classrelation_ref 128113 // <unidirectional association>
572 b parent class_ref 128467 // StandAloneDialog
575 classrelation 128241 // <unidirectional association>
577 a role_name "" protected
578 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
580 classrelation_ref 128241 // <unidirectional association>
581 b parent class_ref 128081 // OnlineDialog
584 classrelation 128369 // <unidirectional association>
586 a role_name "" protected
587 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
589 classrelation_ref 128369 // <unidirectional association>
590 b parent class_ref 128723 // ServerSettingsDialog
594 class 128661 "RenderWidget"
596 cpp_decl "${comment}${template}class ${name}${inherit} {
603 explicit_switch_type ""
605 associated_diagram classdiagram_ref 128021 // Global
606 classrelation 128277 // <generalisation>
607 relation 128277 ---|>
609 classrelation_ref 128277 // <generalisation>
610 b parent class_ref 128533 // QWidget
613 attribute 128060 "DefaultCubeColor"
614 class_attribute const_attribute public type class_ref 128253 // QColor
615 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
622 attribute 128107 "_renderArea"
623 private type class_ref 128099 // CubeRenderArea
624 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
631 operation 128105 "RenderWidget"
632 public explicit_return_type ""
634 param in name "parent" explicit_type "QWidget*"
635 param in name "dim" explicit_type "int"
636 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
638 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
646 operation 129385 "acceptMove"
647 public explicit_return_type "void"
649 param in name "value" explicit_type "bool"
650 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
652 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
660 operation 128824 "drawMove"
661 public explicit_return_type "bool"
663 param in name "point" type class_ref 129173 // Point
664 param in name "color" type class_ref 128253 // QColor
665 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
667 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
673 comment "true se la mossa è valida altrimenti false
674 chiama il metodo statico di GameMatrix per sapere se la mossa è valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
677 operation 128828 "uncheckedDraw"
678 public explicit_return_type "void"
680 param in name "pointList" explicit_type "QList<Point>"
681 param in name "colorList" explicit_type "QList<QColor>"
683 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
685 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
691 comment "se colorList==0 allora usa defaultCubeColor"
694 operation 128099 "setAntiAliasing"
695 public explicit_return_type "void"
697 param in name "value" explicit_type "int"
698 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
700 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
706 comment "controlla l'accumulation buffer e setta l'antialiasing"
709 operation 131000 "highlightPoint"
711 public explicit_return_type "void"
713 param in name "point" type class_ref 129173 // Point
714 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
716 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
722 comment "chiama la selectCube di CubeRenderArea"
725 classrelation 128099 // <directional composition>
727 a role_name "" multiplicity "0..1" protected
728 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
730 classrelation_ref 128099 // <directional composition>
731 b parent class_ref 128099 // CubeRenderArea
735 class 128789 "ChatWidget"
741 explicit_switch_type ""
743 operation 128944 "ChatWidget"
744 public explicit_return_type ""
746 param in name "parent" explicit_type "QWidget*"
747 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
749 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
757 operation 128235 "displayText"
759 public explicit_return_type "void"
761 param in name "text" type class_ref 128440 // QString
762 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
764 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
772 operation 128211 "returnEntered"
774 private explicit_return_type "void"
776 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
778 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
786 operation 128107 "textEntered"
788 protected explicit_return_type "void"
790 param in name "text" type class_ref 128440 // QString
791 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
793 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
801 classrelation 128122 // <generalisation>
802 relation 128122 ---|>
804 cpp default "${type}"
805 classrelation_ref 128122 // <generalisation>
806 b parent class_ref 128533 // QWidget
810 class 129045 "Player"
811 abstract visibility package
816 explicit_switch_type ""
818 operation 128617 "Player"
819 public explicit_return_type ""
821 param in name "id" explicit_type "int"
822 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
824 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
832 attribute 128168 "_id"
833 const_attribute private explicit_type "int"
834 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
841 operation 128040 "id"
842 const public explicit_return_type "int"
844 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
846 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
854 operation 128184 "move"
855 public return_type class_ref 129301 // Move
857 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
864 operation 129155 "doMove"
865 abstract cpp_virtual protected return_type class_ref 129173 // Point
867 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
881 explicit_switch_type ""
883 attribute 128184 "_x"
884 private explicit_type "int"
885 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
892 attribute 128312 "_y"
893 private explicit_type "int"
894 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
901 attribute 128440 "_z"
902 private explicit_type "int"
903 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
910 operation 128875 "Point"
911 public explicit_return_type ""
913 param in name "x" explicit_type "int"
914 param in name "y" explicit_type "int"
915 param in name "z" explicit_type "int"
916 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
918 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
926 operation 128378 "isValid"
927 const public explicit_return_type "bool"
929 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
931 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
937 comment "return true sse il Point this è minore della dimensione di GameMatrix."
940 operation 129282 "isNull"
941 public explicit_return_type "bool"
943 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
945 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
951 comment "return true iff this == (-1, -1, -1)
962 explicit_switch_type ""
964 classrelation 129173 // <directional composition>
966 a role_name "" protected
967 classrelation_ref 129173 // <directional composition>
968 b parent class_ref 129173 // Point
971 attribute 128405 "_playerId"
972 private explicit_type "int"
979 attribute 128533 "_coord"
980 private type class_ref 129173 // Point
987 operation 129641 "Move"
988 public explicit_return_type ""
990 param in name "id" explicit_type "int"
991 param in name "p" type class_ref 129173 // Point
992 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
994 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1002 operation 128250 "isValid"
1003 const public explicit_return_type "bool"
1005 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1007 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1013 comment "return GameMatrix::check(this._coord);"
1017 class 129557 "GameMatrix"
1023 explicit_switch_type ""
1025 comment "istanziata da MainWindow e passata poi a GameLoop"
1026 attribute 128042 "EmptyPoint"
1027 class_attribute const_attribute public explicit_type "int"
1029 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1036 attribute 128084 "_instance"
1037 class_attribute private explicit_type "GameMatrix*"
1038 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1045 attribute 128873 "_lastRound"
1046 private explicit_type "QList<Point>"
1047 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1052 comment "/buffer delle ultime mosse da rivedere"
1055 attribute 129129 "_d1"
1056 private explicit_type "int"
1057 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1064 attribute 129257 "_d2"
1065 private explicit_type "int"
1066 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1073 attribute 128148 "_freeCounter"
1074 private explicit_type "int"
1075 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1082 operation 130104 "GameMatrix"
1083 private explicit_return_type ""
1085 param in name "d1" explicit_type "int"
1086 param in name "d2" explicit_type "int"
1087 param in name "numPlayers" explicit_type "int"
1088 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1090 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1098 operation 129166 "create"
1099 class_operation public explicit_return_type "GameMatrix*"
1101 param in name "d1" explicit_type "int"
1102 param in name "d2" explicit_type "int"
1103 param in name "numPlayers" explicit_type "int"
1104 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1106 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1114 operation 129294 "destroy"
1115 class_operation public explicit_return_type "void"
1117 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1119 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1127 operation 129620 "instance"
1128 class_operation public explicit_return_type "GameMatrix*"
1130 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1132 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1140 operation 129513 "add"
1141 public explicit_return_type "bool"
1143 param in name "move" type class_ref 129301 // Move
1144 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1146 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1152 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1155 operation 128554 "clear"
1156 public explicit_return_type "void"
1158 param in name "point" type class_ref 129173 // Point
1159 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1161 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1169 operation 129748 "check"
1170 class_operation public explicit_return_type "bool"
1172 param in name "point" type class_ref 129173 // Point
1173 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1175 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1183 operation 130952 "elementAt"
1184 public explicit_return_type "int"
1186 param in name "point" type class_ref 129173 // Point
1187 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1189 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1197 operation 131080 "elementAt"
1198 public explicit_return_type "int"
1200 param in name "x" explicit_type "int"
1201 param in name "y" explicit_type "int"
1202 param in name "z" explicit_type "int"
1203 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1205 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1213 operation 128404 "isFull"
1214 const public explicit_return_type "bool"
1216 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1218 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1226 operation 130232 "numberOfPlayers"
1227 public explicit_return_type "int"
1229 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1231 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1237 comment "lastRound.size()"
1240 operation 128188 "setLastRound"
1241 public explicit_return_type "void"
1243 param in name "round" explicit_type "QList<Point>"
1244 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1246 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1254 attribute 128083 "_matrix"
1255 private explicit_type "int*"
1256 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1263 operation 128011 "extractCC"
1264 private explicit_return_type "void"
1266 param in name "p" type class_ref 129173 // Point
1267 param in name "id" explicit_type "int"
1268 param inout name "set" explicit_type "QSet<Point>"
1269 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1271 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1280 class 129813 "QWaitCondition"
1286 explicit_switch_type ""
1288 operation 130025 "wait"
1289 public explicit_return_type "bool"
1291 param in name "lock" type class_ref 130837 // QMutex
1292 param in name "timeout" explicit_type "unsigned long"
1293 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1295 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1303 operation 130153 "wakeOne"
1304 public explicit_return_type "void"
1306 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1308 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1318 abstract visibility package
1323 explicit_switch_type ""
1325 attribute 128296 "_playerId"
1326 const_attribute private explicit_type "int"
1327 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1334 operation 128084 "AI"
1335 public explicit_return_type ""
1337 param in name "id" explicit_type "int"
1344 operation 128078 "~AI"
1345 cpp_virtual public explicit_return_type ""
1347 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1349 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1357 operation 128212 "move"
1358 abstract cpp_virtual public return_type class_ref 129173 // Point
1360 param in name "level" explicit_type "int"
1367 operation 129976 "forceMove"
1368 abstract cpp_virtual public explicit_return_type "void"
1370 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1377 operation 130819 "movesUndone"
1378 abstract cpp_virtual public explicit_return_type "void"
1380 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1387 operation 130691 "playerId"
1388 public explicit_return_type "int"
1390 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1392 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1401 class 130069 "Network"
1402 abstract visibility package
1407 explicit_switch_type ""
1409 operation 129980 "Network"
1410 public explicit_return_type ""
1412 param in name "gui" explicit_type "QWidget*"
1413 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1415 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1423 operation 129395 "~Network"
1424 cpp_virtual public explicit_return_type ""
1426 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1428 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1436 operation 128122 "requestMove"
1437 abstract cpp_virtual public return_type class_ref 129173 // Point
1439 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1446 attribute 129340 "_gui"
1447 private explicit_type "QWidget*"
1448 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1455 operation 129168 "setupChat"
1456 abstract cpp_virtual public explicit_return_type "void"
1458 param in name "widget" explicit_type "ChatWidget*"
1459 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1467 class 130197 "QThread"
1468 abstract visibility package
1473 explicit_switch_type ""
1475 operation 128319 "start"
1476 public explicit_return_type "void"
1478 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1480 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1488 operation 128393 "run"
1489 abstract cpp_virtual protected explicit_return_type "void"
1491 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1499 class 130325 "GameLoop"
1505 explicit_switch_type ""
1507 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."
1508 classrelation 130069 // <realization>
1509 relation 130069 -_-|>
1511 classrelation_ref 130069 // <realization>
1512 b parent class_ref 130197 // QThread
1515 attribute 129592 "_currentPlayer"
1516 private explicit_type "Player*"
1517 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1522 comment "mantenuto consistente per poter effettuare la forceMove()"
1525 attribute 128264 "_players"
1526 private explicit_type "QList<Player*>"
1527 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1534 attribute 128101 "_resetLoop"
1535 private explicit_type "bool"
1536 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1543 attribute 128020 "_winStatus"
1544 private explicit_type "QList<bool>"
1545 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1550 comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1553 operation 128054 "GameLoop"
1554 public explicit_return_type ""
1556 param in name "players" explicit_type "QList<Player>"
1557 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1559 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1567 operation 128316 "setTurn"
1568 public explicit_return_type "void"
1570 param in name "plyUndone" explicit_type "int"
1571 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1573 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1581 operation 129781 "onLoadSetTurn"
1582 public explicit_return_type "void"
1584 param in name "id" explicit_type "int"
1585 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1587 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1595 operation 130488 "forceMove"
1597 public explicit_return_type "void"
1599 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1601 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1609 operation 128520 "run"
1610 protected explicit_return_type "void"
1612 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1614 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1622 operation 128233 "moved"
1624 protected explicit_return_type "void"
1626 param in name "move" type class_ref 129301 // Move
1627 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1629 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1637 operation 128264 "turn"
1639 protected explicit_return_type "void"
1641 param in name "playerId" explicit_type "int"
1642 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1649 operation 128148 "win"
1651 protected explicit_return_type "void"
1653 param in name "playerId" explicit_type "int"
1654 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1656 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1664 operation 128532 "draw"
1666 protected explicit_return_type "void"
1668 param in name "playersIds" explicit_type "QList<int>"
1669 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1671 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1679 classrelation 128042 // <directional composition>
1680 relation 128042 *-->
1681 a role_name "" multiplicity "2..3" protected
1682 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1684 classrelation_ref 128042 // <directional composition>
1685 b parent class_ref 129045 // Player
1688 classrelation 129980 // <unidirectional association>
1689 relation 129980 --->
1690 a role_name "" protected
1691 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1693 classrelation_ref 129980 // <unidirectional association>
1694 b parent class_ref 129557 // GameMatrix
1698 class 130709 "SyncSharedCondition"
1704 explicit_switch_type ""
1706 attribute 128063 "_instance"
1707 class_attribute private explicit_type "SyncSharedCondition*"
1708 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1715 attribute 128105 "_point"
1716 private type class_ref 129173 // Point
1717 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1724 attribute 129557 "_waitCond"
1725 private type class_ref 129813 // QWaitCondition
1732 operation 128191 "SyncSharedCondition"
1733 private explicit_return_type ""
1735 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1737 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1745 operation 128063 "instance"
1746 class_operation public explicit_return_type "SyncSharedCondition*"
1748 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1750 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1758 operation 129129 "waitForMove"
1759 public return_type class_ref 129173 // Point
1761 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1763 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1771 operation 129257 "notifyMove"
1772 public explicit_return_type "void"
1774 param in name "p" type class_ref 129173 // Point
1775 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1777 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1785 classrelation 128105 // <generalisation>
1786 relation 128105 ---|>
1788 cpp default "${type}"
1789 classrelation_ref 128105 // <generalisation>
1790 b parent class_ref 130837 // QMutex
1793 classrelation 128168 // <directional composition>
1794 relation 128168 *-->
1795 a role_name "" protected
1796 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1798 classrelation_ref 128168 // <directional composition>
1799 b parent class_ref 129813 // QWaitCondition
1803 class 130837 "QMutex"
1809 explicit_switch_type ""
1811 operation 129769 "lock"
1812 public explicit_return_type "void"
1814 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1816 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1824 operation 129897 "unlock"
1825 public explicit_return_type "void"
1827 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1829 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1838 class 128056 "HumanPlayer"
1840 cpp_decl "${comment}${template}class ${name}${inherit} {
1847 explicit_switch_type ""
1849 operation 128745 "HumanPlayer"
1850 public explicit_return_type ""
1852 param in name "id" explicit_type "int"
1853 param in name "render" explicit_type "RenderWidget*"
1854 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1856 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1864 operation 129283 "doMove"
1865 cpp_virtual protected return_type class_ref 129173 // Point
1867 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1869 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1877 attribute 128233 "_render"
1878 private explicit_type "RenderWidget*"
1879 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1886 classrelation 128361 // <realization>
1887 relation 128361 -_-|>
1889 cpp default "${type}"
1890 classrelation_ref 128361 // <realization>
1891 b parent class_ref 129045 // Player
1895 class 128184 "RemotePlayer"
1897 cpp_decl "${comment}${template}class ${name}${inherit} {
1904 explicit_switch_type ""
1906 operation 128873 "RemotePlayer"
1907 public explicit_return_type ""
1909 param in name "id" explicit_type "int"
1910 param in name "net" explicit_type "Network*"
1911 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1913 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1921 operation 129411 "doMove"
1922 cpp_virtual protected return_type class_ref 129173 // Point
1924 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1926 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1934 attribute 128361 "_net"
1935 private explicit_type "Network*"
1936 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1943 classrelation 128489 // <realization>
1944 relation 128489 -_-|>
1946 cpp default "${type}"
1947 classrelation_ref 128489 // <realization>
1948 b parent class_ref 129045 // Player
1952 class 128312 "AIPlayer"
1954 cpp_decl "${comment}${template}class ${name}${inherit} {
1961 explicit_switch_type ""
1963 classrelation 128617 // <realization>
1964 relation 128617 -_-|>
1966 cpp default "${type}"
1967 classrelation_ref 128617 // <realization>
1968 b parent class_ref 129045 // Player
1971 classrelation 128216 // <directional composition>
1972 relation 128216 *-->
1973 a role_name "" protected
1974 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1976 classrelation_ref 128216 // <directional composition>
1977 b parent class_ref 129941 // AI
1980 attribute 128386 "_DefaultSkill"
1981 class_attribute const_attribute private explicit_type "int"
1982 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1989 attribute 128258 "_skill"
1990 private explicit_type "int"
1991 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1998 attribute 128216 "_ai"
1999 private type class_ref 129941 // AI
2000 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2007 operation 129001 "AIPlayer"
2008 public explicit_return_type ""
2010 param in name "id" explicit_type "int"
2011 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2013 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2019 comment "inizializza skill con la costante di classe DefaultSkill"
2022 operation 129539 "doMove"
2023 cpp_virtual protected return_type class_ref 129173 // Point
2025 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2027 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2035 operation 129410 "forceMove"
2036 public explicit_return_type "void"
2038 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2040 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2048 operation 128002 "skill"
2049 const public explicit_return_type "int"
2051 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2053 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2061 operation 128130 "setSkill"
2062 public explicit_return_type "void"
2064 param in name "skill" explicit_type "int"
2065 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2067 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2075 operation 130704 "undoMove"
2077 public explicit_return_type "void"
2079 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2081 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2090 class 129720 "Suggester"
2092 cpp_decl "${comment}${template}class ${name}${inherit} {
2099 explicit_switch_type ""
2101 classrelation 130616 // <realization>
2102 relation 130616 -_-|>
2104 cpp default "${type}"
2105 classrelation_ref 130616 // <realization>
2106 b parent class_ref 130197 // QThread
2109 attribute 128130 "_SuggestedMoveLevel"
2110 class_attribute const_attribute private explicit_type "int"
2111 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2118 attribute 128088 "_ai"
2119 private type class_ref 129941 // AI
2120 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2127 operation 130744 "Suggester"
2128 public explicit_return_type ""
2130 param in name "id" explicit_type "int"
2131 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2133 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2141 operation 128010 "~Suggester"
2142 public explicit_return_type ""
2144 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2146 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2154 operation 128056 "suggestMove"
2155 public return_type class_ref 129173 // Point
2157 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2159 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2167 operation 130616 "run"
2168 protected explicit_return_type "void"
2170 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2172 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2180 operation 130872 "suggestedMoveReady"
2182 protected explicit_return_type "void"
2184 param in name "point" type class_ref 129173 // Point
2185 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2187 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2195 classrelation 128088 // <directional composition>
2196 relation 128088 *-->
2197 a role_name "" protected
2198 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2200 classrelation_ref 128088 // <directional composition>
2201 b parent class_ref 129941 // AI
2205 class 129848 "HistoryModel"
2207 cpp_decl "${comment}${template}class ${name}${inherit} {
2214 explicit_switch_type ""
2216 classrelation 128637 // <realization>
2217 relation 128637 -_-|>
2219 cpp default "${type}"
2220 classrelation_ref 128637 // <realization>
2221 b parent class_ref 128509 // QAbstractTableModel
2224 attribute 129269 "_actual"
2225 private explicit_type "QModelIndex"
2226 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2233 attribute 130104 "_history"
2234 private explicit_type "QList<Move>"
2235 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2242 operation 129269 "HistoryModel"
2243 public explicit_return_type ""
2245 param in name "parent" explicit_type "QObject*"
2246 param in name "info" explicit_type "QList<PlayerInfo>*"
2247 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2249 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2257 operation 128765 "columnCount"
2258 const cpp_virtual public explicit_return_type "int"
2260 param in name "parent" explicit_type "QModelIndex"
2261 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2268 operation 128637 "rowCount"
2269 const cpp_virtual public explicit_return_type "int"
2271 param in name "parent" explicit_type "QModelIndex"
2272 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2279 operation 128509 "data"
2280 const cpp_virtual public explicit_return_type "QVariant"
2282 param in name "index" explicit_type "QModelIndex"
2283 param in name "role" explicit_type "int"
2284 defaultvalue "Qt::DisplayRole"
2285 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2292 operation 129021 "headerData"
2293 const cpp_virtual public explicit_return_type "QVariant"
2295 param in name "section" explicit_type "int"
2296 param in name "orientation" explicit_type "Qt::Orientation"
2297 param in name "role" explicit_type "int"
2298 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2300 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2308 operation 128893 "flags"
2309 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2311 param in name "index" explicit_type "QModelIndex"
2312 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2314 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2322 operation 129259 "insertRows"
2323 cpp_virtual public explicit_return_type "bool"
2325 param in name "row" explicit_type "int"
2326 param in name "count" explicit_type "int"
2327 param in name "parent" explicit_type "QModelIndex"
2328 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2330 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2338 operation 129387 "removeRows"
2339 cpp_virtual public explicit_return_type "bool"
2341 param in name "row" explicit_type "int"
2342 param in name "count" explicit_type "int"
2343 param in name "parent" explicit_type "QModelIndex"
2344 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2346 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2354 operation 131128 "append"
2355 public explicit_return_type "void"
2357 param in name "move" type class_ref 129301 // Move
2358 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2360 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2368 operation 129442 "moveList"
2369 const public explicit_return_type "QList<Move>"
2371 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2373 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2381 operation 129653 "remove"
2382 public explicit_return_type "void"
2384 param in name "count" explicit_type "int"
2385 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2387 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2395 attribute 128048 "_info"
2396 private explicit_type "QList<PlayerInfo>*"
2397 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2405 class 129976 "PlayerInfo"
2407 cpp_decl "${comment}${template}class ${name}${inherit} {
2414 explicit_switch_type ""
2416 attribute 130360 "_name"
2417 private type class_ref 128440 // QString
2418 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2425 attribute 130488 "_color"
2426 private type class_ref 128253 // QColor
2427 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2434 attribute 130616 "_type"
2435 private type class_ref 128440 // QString
2436 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2443 operation 128730 "PlayerInfo"
2444 public explicit_return_type ""
2446 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2448 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2454 comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2457 operation 129131 "PlayerInfo"
2458 public explicit_return_type ""
2460 param in name "name" type class_ref 128440 // QString
2461 param in name "color" type class_ref 128253 // QColor
2462 param in name "type" type class_ref 128440 // QString
2463 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2465 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2473 operation 128346 "name"
2474 const public return_type class_ref 128440 // QString
2476 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2478 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2486 operation 128474 "color"
2487 const public return_type class_ref 128253 // QColor
2489 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2491 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2499 operation 128602 "type"
2500 const public return_type class_ref 128440 // QString
2502 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2504 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2513 class 128125 "QTimer"
2515 cpp_decl "${comment}${template}class ${name}${inherit} {
2522 explicit_switch_type ""
2524 operation 128253 "start"
2526 public explicit_return_type "void"
2528 param in name "msec" explicit_type "int"
2529 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2531 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2539 operation 128381 "stop"
2541 public explicit_return_type "void"
2543 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2545 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2553 operation 128125 "timeout"
2555 protected explicit_return_type "void"
2557 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2559 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2568 class 128253 "QColor"
2570 cpp_decl "${comment}${template}class ${name}${inherit} {
2577 explicit_switch_type ""
2581 class 128381 "TimerWidget"
2583 cpp_decl "${comment}${template}class ${name}${inherit} {
2590 explicit_switch_type ""
2592 attribute 128125 "_timer"
2593 private type class_ref 128125 // QTimer
2594 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2601 classrelation 128381 // <directional composition>
2602 relation 128381 *-->
2603 a role_name "" protected
2604 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2606 classrelation_ref 128381 // <directional composition>
2607 b parent class_ref 128125 // QTimer
2610 classrelation 128509 // <generalisation>
2611 relation 128509 ---|>
2613 cpp default "${type}"
2614 classrelation_ref 128509 // <generalisation>
2615 b parent class_ref 128533 // QWidget
2618 operation 128816 "TimerWidget"
2619 public explicit_return_type ""
2621 param in name "parent" explicit_type "QWidget*"
2622 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2624 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2633 class 128509 "QAbstractTableModel"
2634 abstract visibility package
2635 cpp_decl "${comment}${template}class ${name}${inherit} {
2642 explicit_switch_type ""
2646 class 128893 "QTableView"
2648 cpp_decl "${comment}${template}class ${name}${inherit} {
2655 explicit_switch_type ""
2657 classrelation 128444 // <generalisation>
2658 relation 128444 ---|>
2660 cpp default "${type}"
2661 classrelation_ref 128444 // <generalisation>
2662 b parent class_ref 128533 // QWidget
2665 classrelation 128191 // <dependency>
2666 relation 128191 -_->
2668 cpp default "#include in source"
2669 classrelation_ref 128191 // <dependency>
2670 b parent class_ref 129848 // HistoryModel
2673 operation 129397 "clicked"
2675 protected explicit_return_type "void"
2677 param in name "index" explicit_type "QModelIndex"
2678 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2680 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2688 operation 129525 "doubleClicked"
2690 protected explicit_return_type "void"
2692 param in name "index" explicit_type "QModelIndex"
2693 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2695 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2704 class 129021 "PlayersWidget"
2706 cpp_decl "${comment}${template}class ${name}${inherit} {
2713 explicit_switch_type ""
2715 comment "rappresenta turno, colore, tipo, nome dei players"
2716 operation 129149 "PlayersWidget"
2717 public explicit_return_type ""
2719 param in name "parent" explicit_type "QWidget*"
2720 param in name "info" explicit_type "QList<PlayerInfo>"
2721 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2723 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2731 classrelation 128828 // <generalisation>
2732 relation 128828 ---|>
2734 cpp default "${type}"
2735 classrelation_ref 128828 // <generalisation>
2736 b parent class_ref 128533 // QWidget
2739 operation 128083 "updateTurn"
2741 public explicit_return_type "void"
2743 param in name "playerId" explicit_type "int"
2744 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2746 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2755 class 128227 "SoQtRenderArea"
2757 cpp_decl "${comment}${template}class ${name}${inherit} {
2764 explicit_switch_type ""
2768 class 128099 "CubeRenderArea"
2770 cpp_decl "${comment}${template}class ${name}${inherit} {
2777 explicit_switch_type ""
2779 class 128739 "Direction"
2780 visibility protected stereotype "enum"
2781 cpp_decl "${comment}${template}class ${name}${inherit} {
2788 explicit_switch_type ""
2790 attribute 129635 "UP"
2791 public explicit_type ""
2798 attribute 129763 "DOWN"
2799 public explicit_type ""
2806 attribute 129891 "LEFT"
2807 public explicit_type ""
2814 attribute 130019 "RIGHT"
2815 public explicit_type ""
2822 attribute 130147 "IN"
2823 public explicit_type ""
2830 attribute 130275 "OUT"
2831 public explicit_type ""
2839 class 128355 "Orientation"
2840 visibility protected stereotype "enum"
2841 cpp_decl "${comment}${template}class ${name}${inherit} {
2848 explicit_switch_type ""
2850 attribute 128483 "X_POSITIVE"
2851 public explicit_type ""
2852 cpp_decl " ${name}${value},${comment}"
2858 attribute 128739 "X_NEGATIVE"
2859 public explicit_type ""
2866 attribute 128867 "Y_POSITIVE"
2867 public explicit_type ""
2874 attribute 128995 "Y_NEGATIVE"
2875 public explicit_type ""
2882 attribute 129123 "Z_POSITIVE"
2883 public explicit_type ""
2890 attribute 129251 "Z_NEGATIVE"
2891 public explicit_type ""
2898 attribute 128111 "NO_ORIENTATION"
2899 protected explicit_type ""
2907 classrelation 128227 // <generalisation>
2908 relation 128227 ---|>
2910 cpp default "${type}"
2911 classrelation_ref 128227 // <generalisation>
2912 b parent class_ref 128227 // SoQtRenderArea
2915 classrelation 128458 // <composition>
2916 relation 128330 *---
2917 a role_name "" multiplicity "0..1" private
2918 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2920 classrelation_ref 128458 // <composition>
2921 b role_name "" private
2922 classrelation_ref 129269 // <composition>
2925 attribute 128586 "_scene"
2926 private type class_ref 128867 // SceneGraph
2927 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2934 attribute 128099 "_acceptMove"
2935 private explicit_type "bool"
2936 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2943 attribute 128355 "_numCubes"
2944 private explicit_type "int"
2945 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2952 attribute 129994 "_isExploded"
2953 private explicit_type "bool"
2954 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2961 attribute 128227 "_isRotating"
2962 private explicit_type "bool"
2963 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2970 attribute 130122 "_hasPreviousPick"
2971 private explicit_type "bool"
2972 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2977 comment "utilizzato per gestire gli eventi del mouse..il primo click è da ignorare perchè da coordinate sballate"
2980 attribute 130250 "_lastXPick"
2981 private explicit_type "float"
2982 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2987 comment "coordinate x dell ultimo click"
2990 attribute 130378 "_lastYPick"
2991 private explicit_type "float"
2992 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2999 attribute 129379 "_frontside"
3000 private type class_ref 128355 // Orientation
3001 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3008 attribute 129507 "_upside"
3009 private type class_ref 128355 // Orientation
3010 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3017 operation 128611 "CubeRenderArea"
3018 public explicit_return_type ""
3020 param in name "parent" explicit_type "QWidget*"
3021 param in name "dim" explicit_type "int"
3022 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3024 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3030 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"
3033 operation 128227 "drawMove"
3034 public explicit_return_type "void"
3036 param in name "p" type class_ref 129173 // Point
3037 param in name "c" explicit_type "SbColor"
3038 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3040 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3048 operation 129738 "doMove"
3049 public explicit_return_type "void"
3051 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3053 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3059 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."
3062 operation 128739 "getOrientation"
3063 public return_type class_ref 128355 // Orientation
3065 param in name "dir" type class_ref 128739 // Direction
3066 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3068 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3074 comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
3077 operation 128355 "selectCube"
3078 public explicit_return_type "void"
3080 param in name "p" type class_ref 129173 // Point
3081 param in name "c" explicit_type "SbColor"
3082 defaultvalue "255,0,0"
3083 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3085 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3091 comment "usata dal suggeritore della mossa e dall'event dispatcher.
3092 il valore di default del parametro c, è il colore usato per la selezione nel caso generale.
3093 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
3096 attribute 130506 "_projection"
3097 private explicit_type "SbSphereSheetProjector"
3098 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3103 comment "usato per la telecamera. guardare documentazione"
3106 operation 128586 "rotateCamera"
3107 public explicit_return_type "void"
3109 param in name "newX" explicit_type "int"
3110 param in name "newY" explicit_type "int"
3111 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3113 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3119 comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
3122 operation 128714 "zoomCamera"
3123 public explicit_return_type "void"
3125 param in name "delta" explicit_type "int"
3126 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3128 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3134 comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
3137 operation 128202 "eventDispatcher"
3138 class_operation public explicit_return_type "SbBool"
3140 param in name "userdata" explicit_type "void*"
3141 param in name "eventCB" explicit_type "QEvent*"
3142 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3144 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3150 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
3152 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
3153 per chiamare la applyImplosion() passare il parametro TRUE
3155 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
3156 invocare la applyImplosion() con parametro uguale a FALSE"
3159 operation 128330 "cubeSelected"
3160 class_operation public explicit_return_type "void"
3162 param in name "userdata" explicit_type "void*"
3163 param in name "path" explicit_type "SoPath*"
3164 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3166 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3172 comment "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro è la CubeRenderArea"
3175 operation 128458 "cubeDeselected"
3176 class_operation public explicit_return_type "void"
3178 param in name "userdata" explicit_type "void*"
3179 param in name "path" explicit_type "SoPath*"
3180 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3182 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3188 comment "deseleziona la casella ( cioè mette a null _selectedCube). data è il CubeRenderArea"
3191 attribute 128091 "_highlightAction"
3192 private explicit_type "SoLineHighlightRenderAction"
3193 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3200 attribute 128039 "_mutex"
3201 private type class_ref 130837 // QMutex
3202 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3210 class 128867 "SceneGraph"
3212 cpp_decl "${comment}${template}class ${name}${inherit} {
3219 explicit_switch_type ""
3221 attribute 128458 "_renderArea"
3222 private type class_ref 128099 // CubeRenderArea
3223 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3230 attribute 128032 "_dim"
3231 private explicit_type "int"
3232 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3239 operation 128842 "SceneGraph"
3240 public explicit_return_type ""
3242 param in name "ra" explicit_type "CubeRenderArea*"
3243 param in name "dim" explicit_type "int"
3244 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3246 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3252 comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3255 attribute 128074 "_root"
3256 private explicit_type "SoSeparator"
3257 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3262 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"
3265 attribute 128202 "_camera"
3266 private explicit_type "SoCamera"
3267 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3274 attribute 128330 "_light"
3275 private explicit_type "SoLight"
3276 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3283 attribute 128714 "_selector"
3284 private explicit_type "SoSelection"
3285 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3292 attribute 128842 "_fixedCubes"
3293 private explicit_type "SoGroup"
3294 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3299 comment "i cubi che non sono esplosi"
3302 attribute 128970 "_movedCubes"
3303 private explicit_type "SoBaseList"
3304 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3309 comment "i cubi esplosi"
3312 attribute 129098 "_shape"
3313 private explicit_type "SoShape"
3314 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3319 comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3322 attribute 129354 "_movers"
3323 private explicit_type "SoBaseList"
3324 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3329 comment "lista di traslazioni, una per ogni livello esploso"
3332 attribute 129482 "_interpolators"
3333 private explicit_type "SoBaseList"
3334 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3339 comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3342 attribute 129610 "_timers"
3343 private explicit_type "SoBaseList"
3344 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3349 comment "lista di timer"
3352 attribute 129738 "_explodeSensor"
3353 private explicit_type "SoOneShotSensor"
3354 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3359 comment "classe che schedula la explode e la implode.
3360 Come callback avra' la explodeCubeCB di CubeRenderArea"
3363 attribute 129866 "_graphMatrix"
3364 private explicit_type "SoSeparator*"
3365 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3370 comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3373 operation 128970 "applyRotationToCamera"
3374 public explicit_return_type "void"
3376 param in name "rot" explicit_type "SbRotation"
3377 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3379 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3385 comment "applica la rotazione rot alla telecamera"
3388 operation 129098 "applyTranslationToCamera"
3389 public explicit_return_type "void"
3391 param in name "delta" explicit_type "int"
3392 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3394 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3400 comment "applica una traslazione alla telecamera. Usata per lo zoom"
3403 operation 129226 "applyExplosionToCube"
3404 public explicit_return_type "void"
3406 param in name "desired" type class_ref 128355 // Orientation
3407 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3409 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3415 comment "se desired NON è uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3416 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3417 setto il campo _directionOfExplosion
3419 -chiamo n volte la explodeLevel()
3424 operation 129354 "applyImplosionToCube"
3425 public explicit_return_type "void"
3427 param in name "all" explicit_type "bool"
3428 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3430 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3436 comment "apllica l'implosione.
3437 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3441 operation 128074 "root"
3442 public explicit_return_type "SoSeparator*"
3444 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3446 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3454 operation 129482 "explodeLevel"
3455 private explicit_return_type "void"
3457 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3459 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3465 comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3466 Confronta le dimensioni degli array con _explodedLevels:
3467 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3468 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3469 INCREMENTARE _explodedLevels in ogni caso"
3472 operation 129610 "implodeLevel"
3473 private explicit_return_type "void"
3475 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3477 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3483 comment "funzione ausiliaria. Implode l ultimo livello esploso
3484 invertire le posizioni del mover e attivare il timer
3485 DECREMENTARE _explodedLevels"
3488 attribute 128239 "_selectedCube"
3489 private explicit_type "SoSeparator"
3490 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3497 attribute 128367 "_directionOfExplosion"
3498 private type class_ref 128355 // Orientation
3499 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3506 attribute 128495 "_explodedLevels"
3507 private explicit_type "int"
3508 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3515 classrelation 129269 // <composition>
3516 relation_ref 128330 // <composition>
3520 class 128008 "QSettings"
3522 cpp_decl "${comment}${template}class ${name}${inherit} {
3529 explicit_switch_type ""
3533 class 128426 "AbstractSettings"
3534 abstract visibility package
3535 cpp_decl "${comment}${template}class ${name}${inherit} {
3542 explicit_switch_type ""
3544 operation 128776 "language"
3545 abstract const cpp_virtual public return_type class_ref 128440 // QString
3547 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3554 operation 128090 "dockState"
3555 abstract const cpp_virtual public explicit_return_type "QByteArray"
3557 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3564 operation 129416 "geometry"
3565 abstract const cpp_virtual public explicit_return_type "QByteArray"
3567 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3574 operation 128444 "defaultCubeColor"
3575 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3577 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3584 operation 128619 "backgroundColor"
3585 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3587 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3594 operation 129544 "setLanguage"
3595 abstract cpp_virtual public explicit_return_type "void"
3597 param in name "lang" type class_ref 128440 // QString
3598 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3605 operation 128218 "setDockState"
3606 abstract const cpp_virtual public explicit_return_type "void"
3608 param in name "state" explicit_type "QByteArray"
3609 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3616 operation 129800 "setGeometry"
3617 abstract cpp_virtual public explicit_return_type "void"
3619 param in name "geom" explicit_type "QByteArray"
3620 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3627 operation 128572 "setDefaultCubeColor"
3628 abstract cpp_virtual public explicit_return_type "void"
3630 param in name "color" type class_ref 128253 // QColor
3631 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3638 operation 128747 "setBackgroundColor"
3639 abstract cpp_virtual public explicit_return_type "void"
3641 param in name "color" type class_ref 128253 // QColor
3642 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3650 class 130453 "SettingsManager"
3651 abstract visibility package
3652 cpp_decl "${comment}${template}class ${name}${inherit} {
3659 explicit_switch_type ""
3661 operation 128904 "playersInfo"
3662 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3664 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3671 operation 129032 "difficulty1"
3672 abstract const cpp_virtual public explicit_return_type "int"
3674 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3681 operation 129160 "difficulty2"
3682 abstract const cpp_virtual public explicit_return_type "int"
3684 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3691 operation 129672 "setPlayersInfo"
3692 abstract cpp_virtual public explicit_return_type "void"
3694 param in name "info" explicit_type "QList<PlayerInfo>"
3695 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3702 operation 128009 "setDifficulty1"
3703 abstract cpp_virtual public explicit_return_type "void"
3705 param in name "d1" explicit_type "int"
3706 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3713 operation 128137 "setDifficulty2"
3714 abstract cpp_virtual public explicit_return_type "void"
3716 param in name "d2" explicit_type "int"
3717 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3724 classrelation 129450 // <generalisation>
3725 relation 129450 ---|>
3727 cpp default "${type}"
3728 classrelation_ref 129450 // <generalisation>
3729 b parent class_ref 128426 // AbstractSettings
3733 class 128042 "LocalSettings"
3735 cpp_decl "${comment}${template}class ${name}${inherit} {
3742 explicit_switch_type ""
3744 classrelation 129578 // <generalisation>
3745 relation 129578 ---|>
3747 cpp default "${type}"
3748 classrelation_ref 129578 // <generalisation>
3749 b parent class_ref 128298 // GUISettings
3752 classrelation 129962 // <realization>
3753 relation 129962 -_-|>
3755 cpp default "${type}"
3756 classrelation_ref 129962 // <realization>
3757 b parent class_ref 130453 // SettingsManager
3761 class 128170 "ServerSettings"
3763 cpp_decl "${comment}${template}class ${name}${inherit} {
3770 explicit_switch_type ""
3772 operation 129186 "serverPort"
3773 const public explicit_return_type "quint16"
3775 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3777 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3785 operation 128170 "timerDuration"
3786 const public explicit_return_type "int"
3788 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3790 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3798 operation 128051 "myColor"
3799 public return_type class_ref 128253 // QColor
3801 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3803 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3811 operation 129314 "setServerPort"
3812 public explicit_return_type "void"
3814 param in name "port" explicit_type "quint16"
3815 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3817 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3825 operation 128298 "setTimerDuration"
3826 public explicit_return_type "void"
3828 param in name "msec" explicit_type "int"
3829 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3831 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3839 classrelation 129706 // <generalisation>
3840 relation 129706 ---|>
3842 cpp default "${type}"
3843 classrelation_ref 129706 // <generalisation>
3844 b parent class_ref 128298 // GUISettings
3847 classrelation 129834 // <realization>
3848 relation 129834 -_-|>
3850 cpp default "${type}"
3851 classrelation_ref 129834 // <realization>
3852 b parent class_ref 130453 // SettingsManager
3855 operation 128179 "setMyColor"
3856 public explicit_return_type "void"
3858 param in name "color" type class_ref 128253 // QColor
3859 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3861 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3870 class 128298 "GUISettings"
3872 cpp_decl "${comment}${template}class ${name}${inherit} {
3879 explicit_switch_type ""
3881 classrelation 129194 // <realization>
3882 relation 129194 -_-|>
3884 cpp default "${type}"
3885 classrelation_ref 129194 // <realization>
3886 b parent class_ref 128426 // AbstractSettings
3889 classrelation 129322 // <generalisation>
3890 relation 129322 ---|>
3891 stereotype "protected"
3893 cpp default "${type}"
3894 classrelation_ref 129322 // <generalisation>
3895 b parent class_ref 128008 // QSettings
3899 class 129345 "GameClient"
3901 cpp_decl "${comment}${template}class ${name}${inherit} {
3908 explicit_switch_type ""
3910 classrelation 129345 // <realization>
3911 relation 129345 -_-|>
3913 cpp default "${type}"
3914 classrelation_ref 129345 // <realization>
3915 b parent class_ref 130069 // Network
3918 classrelation 129168 // <directional composition>
3919 relation 129168 *-->
3920 a role_name "" protected
3921 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3923 classrelation_ref 129168 // <directional composition>
3924 b parent class_ref 129168 // ClientSocket
3927 attribute 129267 "_localPlayer"
3928 private explicit_type "int"
3929 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3936 attribute 129296 "_server"
3937 private type class_ref 129168 // ClientSocket
3938 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3945 operation 129296 "GameClient"
3946 public explicit_return_type ""
3948 param in name "gui" explicit_type "QWidget*"
3949 param in name "serverAddress" type class_ref 128440 // QString
3950 param in name "serverPort" explicit_type "quint16"
3951 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3953 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3961 operation 129561 "~GameClient"
3962 cpp_virtual public explicit_return_type ""
3964 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3966 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3974 operation 129424 "requestMove"
3975 cpp_virtual public return_type class_ref 129173 // Point
3977 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3984 operation 129552 "setupChat"
3985 cpp_virtual public explicit_return_type "void"
3987 param in name "widget" explicit_type "ChatWidget*"
3988 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3990 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3998 operation 129267 "setLocalPlayer"
4000 private explicit_return_type "void"
4002 param in name "id" explicit_type "int"
4003 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4005 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4014 class 129217 "GameServer"
4015 visibility protected
4016 cpp_decl "${comment}${template}class ${name}${inherit} {
4023 explicit_switch_type ""
4025 classrelation 129217 // <realization>
4026 relation 129217 -_-|>
4028 cpp default "${type}"
4029 classrelation_ref 129217 // <realization>
4030 b parent class_ref 130069 // Network
4033 classrelation 129296 // <directional composition>
4034 relation 129296 *-->
4035 a role_name "" multiplicity "*" protected
4036 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4038 classrelation_ref 129296 // <directional composition>
4039 b parent class_ref 129296 // ServerSocket
4042 classrelation 129424 // <directional composition>
4043 relation 129424 *-->
4044 a role_name "" protected
4045 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4047 classrelation_ref 129424 // <directional composition>
4048 b parent class_ref 129212 // QTcpServer
4051 operation 129936 "GameServer"
4052 public explicit_return_type ""
4054 param in name "gui" explicit_type "QWidget*"
4055 param in name "history" explicit_type "HistoryModel*"
4056 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4058 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4066 operation 129433 "~GameServer"
4067 cpp_virtual public explicit_return_type ""
4069 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4071 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4079 operation 129680 "requestMove"
4080 cpp_virtual public return_type class_ref 129173 // Point
4082 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4089 operation 129808 "setupChat"
4090 cpp_virtual public explicit_return_type "void"
4092 param in name "widget" explicit_type "ChatWidget*"
4093 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4095 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4103 operation 130064 "handleIncomingConnection"
4105 private explicit_return_type "void"
4107 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4109 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4117 operation 132431 "handleJoinRequest"
4119 private explicit_return_type "void"
4121 param in name "mode" type class_ref 128440 // QString
4122 param in name "name" type class_ref 128440 // QString
4123 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4125 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4133 operation 128024 "setTurn"
4135 private explicit_return_type "void"
4137 param in name "playerId" explicit_type "int"
4138 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4140 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4148 attribute 129424 "_listener"
4149 private type class_ref 129212 // QTcpServer
4150 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4157 attribute 129552 "_pendingConnections"
4158 private explicit_type "QLinkedList<ServerSocket>"
4159 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4166 attribute 129680 "_remotePlayers"
4167 private explicit_type "QList<ServerSocket>"
4168 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4175 attribute 129808 "_spectators"
4176 private explicit_type "QList<ServerSocket>"
4177 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4184 attribute 130064 "_gameInProgress"
4185 private explicit_type "bool"
4186 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4193 attribute 129936 "_history"
4194 private explicit_type "HistoryModel*"
4195 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4202 attribute 129199 "_names"
4203 private explicit_type "QStringList"
4204 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4211 attribute 130492 "_numberOfPlayers"
4212 private explicit_type "int"
4213 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4220 attribute 128024 "_turn"
4221 private explicit_type "int"
4222 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4229 attribute 129395 "_settings"
4230 private type class_ref 128170 // ServerSettings
4231 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4239 class 129231 "StreamSocket"
4241 cpp_decl "${comment}${template}class ${name}${inherit} {
4248 explicit_switch_type ""
4250 class 129359 "ProtocolState"
4251 visibility protected stereotype "enum"
4252 cpp_decl "${comment}enum ${name} {
4256 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
4260 php_decl "${comment}final ${visibility}class ${name} {
4263 idl_decl "${comment}enum ${name} {
4266 explicit_switch_type ""
4268 attribute 129743 "Unconnected"
4269 public type class_ref 129359 // ProtocolState
4270 cpp_decl " ${name}${value},${comment}"
4276 attribute 129871 "Listening"
4277 public type class_ref 129359 // ProtocolState
4278 cpp_decl " ${name}${value},${comment}"
4284 attribute 129999 "Connecting"
4285 public type class_ref 129359 // ProtocolState
4286 cpp_decl " ${name}${value},${comment}"
4292 attribute 130127 "Connected"
4293 public type class_ref 129359 // ProtocolState
4294 cpp_decl " ${name}${value},${comment}"
4300 attribute 130255 "OpeningStream"
4301 public type class_ref 129359 // ProtocolState
4302 cpp_decl " ${name}${value},${comment}"
4308 attribute 130383 "FullyOpened"
4309 public type class_ref 129359 // ProtocolState
4310 cpp_decl " ${name}${value},${comment}"
4316 attribute 130511 "Idle"
4317 public type class_ref 129359 // ProtocolState
4318 cpp_decl " ${name}${value},${comment}"
4324 attribute 130639 "AwaitingJoinRequest"
4325 public type class_ref 129359 // ProtocolState
4326 cpp_decl " ${name}${value},${comment}"
4332 attribute 130767 "AwaitingJoinAnswer"
4333 public type class_ref 129359 // ProtocolState
4334 cpp_decl " ${name}${value},${comment}"
4340 attribute 130895 "AwaitingPlayers"
4341 public type class_ref 129359 // ProtocolState
4342 cpp_decl " ${name}${value},${comment}"
4348 attribute 131023 "AwaitingGameStart"
4349 public type class_ref 129359 // ProtocolState
4350 cpp_decl " ${name}${value},${comment}"
4356 attribute 131151 "Playing"
4357 public type class_ref 129359 // ProtocolState
4358 cpp_decl " ${name}${value},${comment}"
4364 attribute 131279 "AwaitingMove"
4365 public type class_ref 129359 // ProtocolState
4366 cpp_decl " ${name}${value},${comment}"
4372 attribute 131407 "Closing"
4373 public type class_ref 129359 // ProtocolState
4374 cpp_decl " ${name}${value},${comment}"
4380 attribute 131535 "Closed"
4381 public type class_ref 129359 // ProtocolState
4382 cpp_decl " ${name}${value},${comment}"
4389 classrelation 129487 // <generalisation>
4390 relation 129487 ---|>
4391 stereotype "protected"
4393 cpp default "${type}"
4394 classrelation_ref 129487 // <generalisation>
4395 b parent class_ref 129601 // QXmlStreamWriter
4398 classrelation 129615 // <generalisation>
4399 relation 129615 ---|>
4400 stereotype "protected"
4402 cpp default "${type}"
4403 classrelation_ref 129615 // <generalisation>
4404 b parent class_ref 129473 // QXmlStreamReader
4407 classrelation 129743 // <directional composition>
4408 relation 129743 *-->
4409 a role_name "" protected
4410 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4412 classrelation_ref 129743 // <directional composition>
4413 b parent class_ref 129340 // QTcpSocket
4416 attribute 129231 "_supportedProtocolVersion"
4417 class_attribute const_attribute protected type class_ref 128440 // QString
4418 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4425 attribute 129359 "_socket"
4426 protected type class_ref 129340 // QTcpSocket
4427 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4434 attribute 129487 "_buffer"
4435 private explicit_type "QLinkedList<Move>"
4436 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4443 attribute 129615 "_state"
4444 private explicit_type "ProtocolState"
4445 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4452 operation 129231 "StreamSocket"
4453 protected explicit_return_type ""
4455 param in name "socket" type class_ref 129340 // QTcpSocket
4456 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4458 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4466 operation 129177 "~StreamSocket"
4467 public explicit_return_type ""
4469 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4471 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4479 operation 129359 "changeState"
4480 public explicit_return_type "void"
4482 param in name "state" explicit_type "ProtocolState"
4483 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4485 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4493 operation 129305 "state"
4494 const public explicit_return_type "ProtocolState"
4496 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4498 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4506 operation 128118 "stateString"
4507 public return_type class_ref 128440 // QString
4509 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4511 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4519 operation 129487 "sendChatMessage"
4521 public explicit_return_type "void"
4523 param in name "msg" type class_ref 128440 // QString
4524 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4526 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4534 operation 129615 "sendMove"
4536 public explicit_return_type "void"
4538 param in name "move" type class_ref 129301 // Move
4539 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4541 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4549 operation 129743 "openStream"
4551 protected explicit_return_type "void"
4553 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4555 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4563 operation 129871 "closeStream"
4565 protected explicit_return_type "void"
4567 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4569 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4577 operation 129999 "handleError"
4579 protected explicit_return_type "void"
4581 param in name "error" explicit_type "QAbstractSocket::SocketError"
4582 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4584 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4592 operation 130127 "parseData"
4594 protected explicit_return_type "void"
4596 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4598 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4606 operation 130255 "playerJoined"
4608 protected explicit_return_type "void"
4610 param in name "id" explicit_type "int"
4611 param in name "name" type class_ref 128440 // QString
4612 param in name "type" type class_ref 128440 // QString
4613 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4615 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4623 operation 130383 "playerLeft"
4625 protected explicit_return_type "void"
4627 param in name "id" explicit_type "int"
4628 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4630 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4638 operation 130511 "receivedChatMessage"
4640 protected explicit_return_type "void"
4642 param in name "msg" type class_ref 128440 // QString
4643 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4645 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4653 operation 130639 "receivedMove"
4655 protected explicit_return_type "void"
4657 param in name "move" type class_ref 129301 // Move
4658 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4660 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4668 operation 130767 "startGame"
4670 protected explicit_return_type "void"
4672 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4674 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4682 classrelation 129187 // <unidirectional association>
4683 relation 129187 --->
4684 a role_name "" protected
4685 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4687 classrelation_ref 129187 // <unidirectional association>
4688 b multiplicity "*" parent class_ref 129359 // ProtocolState
4692 class 129168 "ClientSocket"
4694 cpp_decl "${comment}${template}class ${name}${inherit} {
4701 explicit_switch_type ""
4703 classrelation 129359 // <generalisation>
4704 relation 129359 ---|>
4706 cpp default "${type}"
4707 classrelation_ref 129359 // <generalisation>
4708 b parent class_ref 129231 // StreamSocket
4711 operation 129315 "ClientSocket"
4712 public explicit_return_type ""
4714 param in name "socket" type class_ref 129340 // QTcpSocket
4715 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4717 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4725 operation 132047 "joinGame"
4727 public explicit_return_type "void"
4729 param in name "mode" type class_ref 128440 // QString
4730 param in name "name" type class_ref 128440 // QString
4731 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4733 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4741 operation 132175 "cancelJoin"
4743 public explicit_return_type "void"
4745 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4747 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4755 operation 132303 "parseData"
4757 protected explicit_return_type "void"
4759 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4761 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4769 operation 132559 "joinAccepted"
4771 protected explicit_return_type "void"
4773 param in name "id" explicit_type "int"
4774 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4776 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4784 operation 132687 "joinRefused"
4786 protected explicit_return_type "void"
4788 param in name "cause" explicit_type "int"
4789 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4791 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4799 operation 132815 "receivedGameSettings"
4801 protected explicit_return_type "void"
4803 param in name "d1" explicit_type "int"
4804 param in name "d2" explicit_type "int"
4805 param in name "num" explicit_type "int"
4806 param in name "timer" explicit_type "int"
4807 param in name "playing" explicit_type "bool"
4808 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4810 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4818 operation 132943 "receivedHistory"
4820 protected explicit_return_type "void"
4822 param in name "history" explicit_type "QList<Move>"
4823 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4825 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4834 class 129296 "ServerSocket"
4836 cpp_decl "${comment}${template}class ${name}${inherit} {
4843 explicit_switch_type ""
4845 classrelation 129231 // <generalisation>
4846 relation 129231 ---|>
4848 cpp default "${type}"
4849 classrelation_ref 129231 // <generalisation>
4850 b parent class_ref 129231 // StreamSocket
4853 operation 129187 "ServerSocket"
4854 public explicit_return_type ""
4856 param in name "socket" type class_ref 129340 // QTcpSocket
4857 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4859 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4867 operation 130895 "acceptJoin"
4868 public explicit_return_type "void"
4870 param in name "id" explicit_type "int"
4871 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4873 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4881 operation 131023 "refuseJoin"
4882 public explicit_return_type "void"
4884 param in name "cause" explicit_type "int"
4885 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4887 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4895 operation 131151 "sendGameSettings"
4897 public explicit_return_type "void"
4899 param in name "d1" explicit_type "int"
4900 param in name "d2" explicit_type "int"
4901 param in name "num" explicit_type "int"
4902 param in name "timer" explicit_type "int"
4903 param in name "playing" explicit_type "bool"
4904 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4906 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4914 operation 131279 "sendHistory"
4916 public explicit_return_type "void"
4918 param in name "history" explicit_type "QList<Move>"
4919 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4921 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4929 operation 131407 "sendPlayerJoined"
4931 public explicit_return_type "void"
4933 param in name "id" explicit_type "int"
4934 param in name "name" type class_ref 128440 // QString
4935 param in name "type" type class_ref 128440 // QString
4936 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4938 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4946 operation 131535 "sendPlayerLeft"
4948 public explicit_return_type "void"
4950 param in name "id" explicit_type "int"
4951 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4953 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4961 operation 131663 "sendStartGame"
4963 public explicit_return_type "void"
4965 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4967 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4975 operation 131791 "parseData"
4977 protected explicit_return_type "void"
4979 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4981 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4989 operation 131919 "joinRequested"
4991 protected explicit_return_type "void"
4993 param in name "mode" type class_ref 128440 // QString
4994 param in name "name" type class_ref 128440 // QString
4995 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4997 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5006 class 129340 "QTcpSocket"
5008 cpp_decl "${comment}${template}class ${name}${inherit} {
5015 explicit_switch_type ""
5017 operation 130448 "connected"
5019 protected explicit_return_type "void"
5021 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5023 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5031 operation 130576 "error"
5033 protected explicit_return_type "void"
5035 param in name "socketError" explicit_type "QAbstractSocket::SocketError"
5036 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5038 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5046 operation 130320 "readyRead"
5048 protected explicit_return_type "void"
5050 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5052 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5061 class 129212 "QTcpServer"
5063 cpp_decl "${comment}${template}class ${name}${inherit} {
5070 explicit_switch_type ""
5072 operation 130192 "newConnection"
5074 protected explicit_return_type "void"
5076 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5078 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5087 class 129473 "QXmlStreamReader"
5089 cpp_decl "${comment}${template}class ${name}${inherit} {
5096 explicit_switch_type ""
5100 class 129601 "QXmlStreamWriter"
5102 cpp_decl "${comment}${template}class ${name}${inherit} {
5109 explicit_switch_type ""
5113 class 128003 "ThreatSearchAI"
5115 cpp_decl "${comment}${template}class ${name}${inherit} {
5122 explicit_switch_type ""
5124 classrelation 128003 // <realization>
5125 relation 128003 -_-|>
5127 cpp default "${type}"
5128 classrelation_ref 128003 // <realization>
5129 b parent class_ref 129941 // AI
5132 operation 131203 "ThreatSearchAI"
5133 public explicit_return_type ""
5135 param in name "id" explicit_type "int"
5136 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5138 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5146 operation 128091 "~ThreatSerachAI"
5147 public explicit_return_type ""
5149 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5151 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5159 attribute 128003 "_d1"
5160 protected explicit_type "int"
5161 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5168 attribute 128131 "_d2"
5169 protected explicit_type "int"
5170 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5177 attribute 128259 "_threat"
5178 protected type class_ref 128131 // Threat
5179 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5186 attribute 128387 "_mat"
5187 protected type class_ref 129557 // GameMatrix
5188 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5195 operation 131331 "init"
5196 public explicit_return_type "void"
5198 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5200 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5208 operation 130947 "move"
5209 cpp_virtual public return_type class_ref 129173 // Point
5211 param in name "level" explicit_type "int"
5218 operation 131075 "forceMove"
5219 cpp_virtual public explicit_return_type "void"
5221 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5228 operation 131843 "movesUndone"
5229 cpp_virtual public explicit_return_type "void"
5231 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5233 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5241 operation 131587 "createThreat"
5242 protected explicit_return_type "Threat*"
5244 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5246 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5254 operation 131459 "defenseHook"
5255 protected return_type class_ref 129173 // Point
5257 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5259 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5267 operation 131715 "defense"
5268 private return_type class_ref 129173 // Point
5270 param in name "level" explicit_type "int"
5271 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5273 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5281 classrelation 128387 // <composition>
5282 relation 128387 *---
5283 a role_name "" multiplicity "0..1" protected
5284 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5286 classrelation_ref 128387 // <composition>
5287 b role_name "" protected
5288 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5290 classrelation_ref 128515 // <composition>
5294 class 128131 "Threat"
5296 cpp_decl "${comment}${template}class ${name}${inherit} {
5303 explicit_switch_type ""
5305 class 128643 "Direction"
5306 visibility public stereotype "enum"
5307 cpp_decl "${comment}enum ${name} {
5311 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5315 php_decl "${comment}final ${visibility}class ${name} {
5318 idl_decl "${comment}enum ${name} {
5321 explicit_switch_type ""
5323 attribute 130179 "DIR_X"
5324 public type class_ref 128643 // Direction
5325 cpp_decl " ${name}${value},${comment}"
5331 attribute 130307 "DIR_Y"
5332 public type class_ref 128643 // Direction
5333 cpp_decl " ${name}${value},${comment}"
5339 attribute 130563 "DIR_Z"
5340 public type class_ref 128643 // Direction
5341 cpp_decl " ${name}${value},${comment}"
5350 cpp_decl "${comment}${template}class ${name}${inherit} {
5357 explicit_switch_type ""
5359 attribute 129539 "value"
5360 public explicit_type "int"
5361 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5368 attribute 129667 "point"
5369 public type class_ref 129173 // Point
5370 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5377 attribute 129795 "dir"
5378 public type class_ref 128739 // Direction
5379 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5386 attribute 129923 "par"
5387 public explicit_type "Node**"
5388 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5395 attribute 130051 "next"
5396 public explicit_type "Node*"
5397 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5404 classrelation 128643 // <unidirectional association>
5405 relation 128515 --->
5406 a role_name "" protected
5407 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5409 classrelation_ref 128643 // <unidirectional association>
5410 b multiplicity "*" parent class_ref 128643 // Direction
5413 operation 133635 "Node"
5414 public explicit_return_type ""
5416 param in name "val" explicit_type "int"
5417 param in name "p" type class_ref 129173 // Point
5418 param in name "dir" type class_ref 128739 // Direction
5419 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5421 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5429 operation 133507 "~Node"
5430 public explicit_return_type ""
5432 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5434 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5442 classrelation 129461 // <directional composition>
5443 relation 129333 *-->
5444 a role_name "" multiplicity "0..1" protected
5445 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5447 classrelation_ref 129461 // <directional composition>
5448 b parent class_ref 128515 // Node
5452 attribute 128515 "_ai"
5453 protected explicit_type "ThreatSearchAI*"
5454 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5461 attribute 128643 "_mat"
5462 protected explicit_type "GameMatrix*"
5463 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5470 attribute 128771 "_d1"
5471 protected explicit_type "int"
5472 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5479 attribute 128899 "_d2"
5480 protected explicit_type "int"
5481 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5488 attribute 129027 "_x"
5489 private explicit_type "QMap<Point,Node*>"
5490 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5497 attribute 129155 "_y"
5498 private explicit_type "QMap<Point,Node*>"
5499 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5506 attribute 129283 "_z"
5507 private explicit_type "QMap<Point,Node*>"
5508 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5515 attribute 129411 "_priority"
5516 private explicit_type "Node**"
5517 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5524 operation 132355 "Threat"
5525 public explicit_return_type ""
5527 param in name "ai" explicit_type "ThreatSearchAI*"
5528 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5530 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5538 operation 128219 "~Threat"
5539 public explicit_return_type ""
5541 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5543 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5551 operation 132483 "insert"
5552 public explicit_return_type "void"
5554 param in name "point" type class_ref 129173 // Point
5555 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5557 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5565 classrelation 128515 // <composition>
5566 relation_ref 128387 // <composition>
5569 operation 132611 "scanFromMatrix"
5570 public explicit_return_type "void"
5572 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5574 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5582 operation 132739 "insertHook"
5583 protected explicit_return_type "void"
5585 param in name "p" type class_ref 129173 // Point
5586 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5588 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5596 operation 132867 "scanFromMatrixHook"
5597 protected explicit_return_type "void"
5599 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5601 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5609 operation 132995 "removeFromPriority"
5610 private explicit_return_type "void"
5612 param in name "it" explicit_type "Node*"
5613 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5615 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5623 operation 133123 "insertInPriority"
5624 private explicit_return_type "void"
5626 param in name "it" explicit_type "Node*"
5627 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5629 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5637 operation 133251 "evalInsert"
5638 private explicit_return_type "void"
5640 param in name "p" type class_ref 129173 // Point
5641 param in name "index" explicit_type "int"
5642 param in name "dir" type class_ref 128739 // Direction
5643 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5645 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5653 operation 133379 "evalPriority"
5654 private explicit_return_type "int"
5656 param in name "p" type class_ref 129173 // Point
5657 param in name "dir" type class_ref 128739 // Direction
5658 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5660 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5668 classrelation 128899 // <directional composition>
5669 relation 128771 *-->
5670 a role_name "" multiplicity "*" protected
5671 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5673 classrelation_ref 128899 // <directional composition>
5674 b parent class_ref 128515 // Node
5678 class 128387 "CCThreat"
5680 cpp_decl "${comment}${template}class ${name}${inherit} {
5687 explicit_switch_type ""
5689 attribute 130691 "_opponentCC"
5690 private explicit_type "QVector<QList<ConnectedComponent>>"
5691 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5698 operation 133763 "CCThreat"
5699 public explicit_return_type ""
5701 param in name "ai" explicit_type "CCThreatSearchAI*"
5702 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5704 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5712 classrelation 128771 // <generalisation>
5713 relation 128643 ---|>
5715 cpp default "${type}"
5716 classrelation_ref 128771 // <generalisation>
5717 b parent class_ref 128131 // Threat
5720 operation 133891 "insertHook"
5721 protected explicit_return_type "void"
5723 param in name "p" type class_ref 129173 // Point
5724 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5726 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5734 operation 134019 "scanFromMatrixHook"
5735 protected explicit_return_type "void"
5737 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5739 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5747 operation 134147 "find"
5748 private explicit_return_type "int"
5750 param in name "id" explicit_type "int"
5751 param in name "p" type class_ref 129173 // Point
5752 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5754 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5762 operation 134275 "explore"
5763 private explicit_return_type "void"
5765 param in name "p" type class_ref 129173 // Point
5766 param in name "id" explicit_type "int"
5767 param inout name "set" explicit_type "QSet<Point>"
5768 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5770 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5778 operation 134403 "merge"
5779 private explicit_return_type "void"
5781 param in name "p1" type class_ref 129173 // Point
5782 param in name "p2" type class_ref 129173 // Point
5783 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5785 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5793 class 128771 "ConnectedComponent"
5795 cpp_decl "${comment}${template}class ${name}${inherit} {
5802 explicit_switch_type ""
5804 operation 134531 "ConnectedComponent"
5805 public explicit_return_type ""
5807 param in name "items" explicit_type "QSet<Point>"
5808 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5810 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5818 operation 134659 "ConnectedComponent"
5819 public explicit_return_type ""
5821 param in name "p" type class_ref 129173 // Point
5822 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5824 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5832 attribute 130819 "nodes"
5833 public explicit_type "QSet<Point>"
5834 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5841 attribute 130947 "min_x"
5842 public explicit_type "int"
5843 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5850 attribute 131075 "min_y"
5851 public explicit_type "int"
5852 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5859 attribute 131203 "min_z"
5860 public explicit_type "int"
5861 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5868 attribute 131331 "max_x"
5869 public explicit_type "int"
5870 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5877 attribute 131459 "max_y"
5878 public explicit_type "int"
5879 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5886 attribute 131587 "max_z"
5887 public explicit_type "int"
5888 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5896 classrelation 129027 // <directional composition>
5897 relation 128899 *-->
5898 a role_name "" multiplicity "*" protected
5899 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5901 classrelation_ref 129027 // <directional composition>
5902 b parent class_ref 128771 // ConnectedComponent
5906 class 128259 "CCThreatSearchAI"
5908 cpp_decl "${comment}${template}class ${name}${inherit} {
5915 explicit_switch_type ""
5917 classrelation 128259 // <generalisation>
5918 relation 128259 ---|>
5920 cpp default "${type}"
5921 classrelation_ref 128259 // <generalisation>
5922 b parent class_ref 128003 // ThreatSearchAI
5925 operation 132227 "CCThreatSearchAI"
5926 public explicit_return_type ""
5928 param in name "id" explicit_type "int"
5929 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5931 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5939 operation 132099 "createThreat"
5940 protected explicit_return_type "Threat*"
5942 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5944 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5952 operation 131971 "defenseHook"
5953 protected return_type class_ref 129173 // Point
5955 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5957 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5966 class 128467 "StandAloneDialog"
5968 cpp_decl "${comment}${template}class ${name}${inherit} {
5975 explicit_switch_type ""
5977 operation 128688 "StandAloneDialog"
5978 public explicit_return_type ""
5980 param in name "parent" explicit_type "QWidget*"
5981 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5983 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5991 operation 128467 "accept"
5993 cpp_virtual public explicit_return_type "void"
5995 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5997 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6005 operation 128048 "colorSlot"
6007 private explicit_return_type "void"
6009 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6011 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6019 operation 128339 "playersChanged"
6021 private explicit_return_type "void"
6023 param in name "number" explicit_type "int"
6024 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6026 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6035 class 128081 "OnlineDialog"
6037 cpp_decl "${comment}${template}class ${name}${inherit} {
6044 explicit_switch_type ""
6046 operation 128560 "OnlineDialog"
6047 public explicit_return_type ""
6049 param in name "parent" explicit_type "QWidget*"
6050 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
6052 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6060 operation 128432 "join"
6062 public explicit_return_type "void"
6064 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6066 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6074 operation 128465 "addPlayer"
6076 public explicit_return_type "void"
6078 param in name "id" explicit_type "int"
6079 param in name "name" type class_ref 128440 // QString
6080 param in name "type" type class_ref 128440 // QString
6081 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6083 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6091 operation 128113 "removePlayer"
6093 public explicit_return_type "void"
6095 param in name "id" explicit_type "int"
6096 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6098 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6106 operation 128593 "displaySettings"
6108 public explicit_return_type "void"
6110 param in name "d1" explicit_type "int"
6111 param in name "d2" explicit_type "int"
6112 param in name "numPlayers" explicit_type "int"
6113 param in name "timer" explicit_type "int"
6114 param in name "playing" explicit_type "bool"
6115 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6117 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6125 operation 128304 "colorSlot"
6127 private explicit_return_type "void"
6129 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6131 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6139 operation 128209 "connectToServer"
6141 private explicit_return_type "void"
6143 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6145 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6154 class 128723 "ServerSettingsDialog"
6156 cpp_decl "${comment}${template}class ${name}${inherit} {
6163 explicit_switch_type ""
6165 operation 128851 "ServerSettingsDialog"
6166 public explicit_return_type ""
6168 param in name "parent" explicit_type "QWidget*"
6169 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
6171 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6179 operation 128723 "accept"
6181 cpp_virtual public explicit_return_type "void"
6183 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6185 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6193 operation 128176 "colorSlot"
6195 private explicit_return_type "void"
6197 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6199 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6207 operation 128595 "playersChanged"
6209 private explicit_return_type "void"
6211 param in name "number" explicit_type "int"
6212 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6214 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6223 class 128440 "QString"
6225 cpp_decl "${comment}${template}class ${name}${inherit} {
6232 explicit_switch_type ""
6236 class 129199 "QStringList"
6238 cpp_decl "${comment}${template}class ${name}${inherit} {
6245 explicit_switch_type ""
6249 class 128182 "QList"
6252 formal name "T" type "typename" explicit_default_value ""
6254 cpp_decl "${comment}${template}class ${name}${inherit} {
6261 explicit_switch_type ""
6265 class 128122 "QLinkedList"
6268 formal name "T" type "typename" explicit_default_value ""
6270 cpp_decl "${comment}${template}class ${name}${inherit} {
6277 explicit_switch_type ""
6284 formal name "K" type "typename" explicit_default_value ""
6286 formal name "T" type "typename" explicit_default_value ""
6288 cpp_decl "${comment}${template}class ${name}${inherit} {
6295 explicit_switch_type ""
6299 class 129327 "QVector"
6302 formal name "T" type "typename" explicit_default_value ""
6304 cpp_decl "${comment}${template}class ${name}${inherit} {
6311 explicit_switch_type ""
6315 sequencediagram 128054 "InitSequence"
6316 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
6320 sequencediagram 128148 "GameLoop::run"
6321 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6322 overlapping_bars size A3
6325 sequencediagram 128213 "HumanPlayer::doMove"
6326 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6327 overlapping_bars size A3
6330 sequencediagram 129168 "RemotePlayer::doMove"
6331 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6332 overlapping_bars size A3
6335 sequencediagram 128024 "AIPlayer::doMove"
6336 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6337 overlapping_bars size A3
6340 activity 128011 "GameMatrix::add"
6341 activitydiagram 128011 "add"
6342 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
6343 show_infonote default drawing_language default
6347 parameter 128011 "move" explicit_type ""
6350 flow 128011 "<flow>"
6351 on pin_ref 128011 // m
6355 activitynode 128011 initial ""
6356 flow 128139 "<flow>"
6357 on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
6361 activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
6363 pin 128011 "m" explicit_type ""
6368 flow 128267 "<flow>"
6369 on expansionnode_ref 128011 // dir
6373 expansionregion 128011 ""
6375 expansionnode 128011 "dir"
6377 unordered is_control
6378 flow 128395 "<flow>"
6379 on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
6383 activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
6385 flow 129419 "<flow>"
6386 on activitynode_ref 128395 // merge
6390 activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
6392 pin 128139 "d" explicit_type ""
6395 flow 130955 "<flow>"
6396 on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
6401 activityaction 128395 "i = i + 1"
6403 flow 129675 "<flow>"
6404 on activitynode_ref 128395 // merge
6408 activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
6410 flow 129163 "<flow>"
6411 on activitynode_ref 128267 // decision
6415 activitynode 128267 decision ""
6416 flow 129291 "<flow>"
6417 on activityaction_ref 128395 // activity action i = i + 1
6418 uml_guard "elementAt(k) == m.playerId()"
6421 flow 130571 "<flow>"
6422 on activityaction_ref 128779 // activity action i = 0, start = start + 1
6426 flow 130699 "<flow>"
6427 on activitynode_ref 128779 // flow_final
6428 uml_guard "elementAt(k) == -2"
6432 activitynode 128395 merge ""
6433 flow 129248 "<flow>"
6434 on activitynode_ref 129248 // decision
6438 activitynode 128523 decision ""
6439 flow 129803 "<flow>"
6440 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
6444 flow 129632 "<flow>"
6445 on activitynode_ref 128779 // flow_final
6446 uml_guard "start > m.point().d()"
6450 expansionnode 128139 ""
6452 unordered is_control
6453 flow 131595 "<flow>"
6454 on activitynode_ref 129035 // decision
6458 activitynode 129248 decision ""
6459 flow 129376 "<flow>"
6460 on activitynode_ref 128523 // decision
6464 flow 129760 "<flow>"
6465 on activitynode_ref 129291 // merge
6471 parameter 128139 "win" explicit_type ""
6472 unordered is_control
6476 activityaction 128651 "win = true"
6478 flow 130187 "<flow>"
6479 on activitynode_ref 128651 // merge
6483 activitynode 128651 merge ""
6484 flow 130315 "<flow>"
6485 on parameter_ref 128139 // win
6489 activityaction 128779 "i = 0, start = start + 1"
6491 flow 130827 "<flow>"
6492 on activitynode_ref 128395 // merge
6496 activitynode 128779 flow_final ""
6499 activityaction 128907 "win = false"
6501 flow 131211 "<flow>"
6502 on activitynode_ref 128651 // merge
6506 activitynode 128907 merge ""
6507 flow 131339 "<flow>"
6508 on activityaction_ref 128907 // activity action win = false
6512 activityaction 129035 "set = {}, extractCC(point, id, set)"
6514 flow 131979 "<flow>"
6515 on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
6519 activitynode 129035 decision ""
6520 flow 131723 "<flow>"
6521 on activitynode_ref 128907 // merge
6525 flow 131851 "<flow>"
6526 on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
6527 uml_guard "_d2 == 3"
6531 activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
6533 pin 128267 "estremi" explicit_type ""
6534 multiplicity "3" unordered
6536 flow 132107 "<flow>"
6537 on activitynode_ref 129163 // decision
6542 activitynode 129163 decision ""
6543 flow 132491 "<flow>"
6544 on activitynode_ref 129291 // merge
6545 uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
6548 flow 132619 "<flow>"
6549 on activitynode_ref 128907 // merge
6554 activitynode 129291 merge ""
6555 flow 132235 "<flow>"
6556 on activityaction_ref 128651 // activity action win = true
6562 package_ref 128002 // GUI
6564 package_ref 128130 // Network
6566 package_ref 128258 // Core
6568 package_ref 128386 // AI