4 modified_by 83 "nico-kde4"
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 "GUIDiagram"
61 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
65 classdiagram 128099 "3DDiagram"
66 draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
70 classdiagram 128521 "CoreDiagram"
71 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
75 classdiagram 128149 "PlayerDiagram"
76 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
80 classdiagram 128003 "AIDiagram"
81 draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
85 classdiagram 128122 "NetworkDiagram"
86 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
90 classdiagram 129301 "SettingsHierarchy"
91 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
95 classdiagram 129429 "GameLoopView"
96 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
100 classdiagram 129557 "MiscCoreView"
101 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
105 classdiagram 129685 "ReducedGUIView"
106 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
110 classdiagram 128087 "AI_NetworkView"
111 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
115 class 128019 "QMainWindow"
121 explicit_switch_type ""
125 class 128533 "QWidget"
131 explicit_switch_type ""
135 class 128917 "MainWindow"
141 explicit_switch_type ""
143 classrelation 128019 // <generalisation>
144 relation 128019 ---|>
146 classrelation_ref 128019 // <generalisation>
147 b parent class_ref 128019 // QMainWindow
150 attribute 129301 "_loop"
151 private type class_ref 130325 // GameLoop
158 attribute 129173 "_net"
159 private type class_ref 130069 // Network
166 attribute 129429 "_settings"
167 private type class_ref 130453 // SettingsManager
174 attribute 128040 "_playersInfo"
175 private explicit_type "QList<PlayerInfo>"
176 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
183 attribute 128637 "_suggester"
184 private type class_ref 129720 // Suggester
185 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
192 attribute 128149 "_render"
193 private type class_ref 128661 // RenderWidget
200 attribute 128277 "_chat"
201 private type class_ref 128789 // ChatWidget
208 attribute 129976 "_history"
209 private type class_ref 129848 // HistoryModel
210 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
217 attribute 129848 "_timer"
218 private type class_ref 128381 // TimerWidget
219 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
226 attribute 128381 "_playersWidget"
227 private type class_ref 129021 // PlayersWidget
228 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
235 attribute 128188 "_historyView"
236 private type class_ref 128893 // QTableView
237 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
244 operation 128175 "loadGame"
245 public explicit_return_type "bool"
247 param in name "fileName" type class_ref 128440 // QString
248 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
250 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
258 operation 128047 "saveGame"
259 public explicit_return_type "bool"
261 param in name "fileName" type class_ref 128440 // QString
262 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
264 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
272 classrelation 128917 // <directional composition>
274 a role_name "" multiplicity "0..1" protected
275 classrelation_ref 128917 // <directional composition>
276 b parent class_ref 128789 // ChatWidget
279 classrelation 129045 // <directional composition>
281 a role_name "" multiplicity "0..1" protected
282 classrelation_ref 129045 // <directional composition>
283 b parent class_ref 128661 // RenderWidget
286 classrelation 128440 // <directional composition>
288 a role_name "" multiplicity "0..1" protected
289 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
291 classrelation_ref 128440 // <directional composition>
292 b parent class_ref 130069 // Network
295 classrelation 128568 // <directional composition>
297 a role_name "" protected
298 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
300 classrelation_ref 128568 // <directional composition>
301 b parent class_ref 129941 // AI
304 classrelation 128264 // <directional composition>
306 a role_name "" protected
307 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
309 classrelation_ref 128264 // <directional composition>
310 b parent class_ref 130453 // SettingsManager
313 classrelation 128262 // <directional composition>
315 a role_name "" protected
316 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
318 classrelation_ref 128262 // <directional composition>
319 b parent class_ref 130325 // GameLoop
322 operation 128392 "turn"
324 public explicit_return_type "void"
326 param in name "playerId" explicit_type "int"
327 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
329 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
337 operation 128361 "drawMove"
339 public explicit_return_type "void"
341 param in name "move" type class_ref 129301 // Move
342 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
344 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
350 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
353 operation 128060 "undoMoves"
355 public explicit_return_type "void"
357 param in name "index" explicit_type "QModelIndex"
358 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
360 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
366 comment "disattiva la possibilità da parte dell'utente di eseguire mosse
367 resetta su render e game matrix le caselle indicate nella lista index+1..n
368 invoca setLastRound(index-2...index) su game matrix
369 setta su GameLoop il turno con setTurn(index+1.id())
370 toglie gli elementi index+1..n dalla history
371 invoca notifyMove(Point_null)
375 operation 128700 "showPastGameStatus"
377 public explicit_return_type "void"
379 param in name "index" explicit_type "QModelIndex"
380 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
382 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
388 comment "vedi pesablock, è il gestore dell'evento history::clicked"
391 classrelation 130744 // <directional composition>
393 a role_name "" protected
394 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
396 classrelation_ref 130744 // <directional composition>
397 b parent class_ref 129848 // HistoryModel
400 classrelation 129533 // <directional composition>
402 a role_name "" multiplicity "0..1" protected
403 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
405 classrelation_ref 129533 // <directional composition>
406 b parent class_ref 129720 // Suggester
409 classrelation 128316 // <directional composition>
411 a role_name "" multiplicity "0..1" protected
412 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
414 classrelation_ref 128316 // <directional composition>
415 b parent class_ref 128381 // TimerWidget
418 classrelation 128572 // <directional composition>
420 a role_name "" protected
421 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
423 classrelation_ref 128572 // <directional composition>
424 b parent class_ref 129021 // PlayersWidget
427 classrelation 128700 // <directional composition>
429 a role_name "" protected
430 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
432 classrelation_ref 128700 // <directional composition>
433 b parent class_ref 128893 // QTableView
436 classrelation 128054 // <unidirectional association>
438 a role_name "" multiplicity "0..3" private
439 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
441 classrelation_ref 128054 // <unidirectional association>
442 b parent class_ref 129976 // PlayerInfo
445 operation 129206 "newStandAloneGame"
447 public explicit_return_type "void"
449 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
451 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
459 operation 128020 "playerWin"
461 public explicit_return_type "void"
463 param in name "playerId" explicit_type "int"
464 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
466 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
474 operation 128276 "playersDraw"
476 public explicit_return_type "void"
478 param in name "playersIds" explicit_type "QList<int>"
479 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
481 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
489 operation 130360 "forceMove"
491 protected explicit_return_type "void"
493 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
495 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
503 classrelation 128467 // <dependency>
506 cpp default "#include in source"
507 classrelation_ref 128467 // <dependency>
508 b parent class_ref 128467 // StandAloneDialog
511 classrelation 128723 // <dependency>
514 cpp default "#include in source"
515 classrelation_ref 128723 // <dependency>
516 b parent class_ref 128723 // ServSetDialog
520 class 128661 "RenderWidget"
522 cpp_decl "${comment}${template}class ${name}${inherit} {
529 explicit_switch_type ""
531 associated_diagram classdiagram_ref 128021 // Global
532 classrelation 128277 // <generalisation>
533 relation 128277 ---|>
535 classrelation_ref 128277 // <generalisation>
536 b parent class_ref 128533 // QWidget
539 attribute 128060 "DefaultCubeColor"
540 class_attribute const_attribute public type class_ref 128253 // QColor
541 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
548 attribute 129226 "DefaultShape"
549 class_attribute public explicit_type "bool"
550 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
555 comment "indica la forma che avranno le caselle..0 se cubi, 1 se sfere"
558 attribute 128107 "_renderArea"
559 private type class_ref 128099 // CubeRenderArea
560 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
567 operation 128105 "RenderWidget"
568 public explicit_return_type ""
570 param in name "dim" explicit_type "int"
571 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
573 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
581 operation 129385 "acceptMove"
582 public explicit_return_type "void"
584 param in name "value" explicit_type "bool"
585 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
587 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
595 operation 128824 "drawMove"
596 public explicit_return_type "bool"
598 param in name "point" type class_ref 129173 // Point
599 param in name "color" type class_ref 128253 // QColor
600 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
602 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
608 comment "true se la mossa è valida altrimenti false
609 chiama il metodo statico di GameMatrix per sapere se la mossa è valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
612 operation 128828 "uncheckedDraw"
613 public explicit_return_type "void"
615 param in name "pointList" explicit_type "QList<Point>"
616 param in name "colorList" explicit_type "QList<QColor>"
618 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
620 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
626 comment "se colorList==0 allora usa defaultCubeColor"
629 operation 128099 "setAntiAliasing"
630 public explicit_return_type "void"
632 param in name "value" explicit_type "int"
633 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
635 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
641 comment "controlla l'accumulation buffer e setta l'antialiasing"
644 operation 131000 "highlightSuggested"
646 public explicit_return_type "void"
648 param in name "point" type class_ref 129173 // Point
649 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
651 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
657 comment "chiama la selectCube di CubeRenderArea"
660 classrelation 128099 // <directional composition>
662 a role_name "" multiplicity "0..1" protected
663 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
665 classrelation_ref 128099 // <directional composition>
666 b parent class_ref 128099 // CubeRenderArea
670 class 128789 "ChatWidget"
676 explicit_switch_type ""
678 operation 128235 "displayText"
680 public explicit_return_type "void"
682 param in name "text" type class_ref 128440 // QString
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}{
693 operation 128107 "textEntered"
695 protected explicit_return_type "void"
697 param in name "text" type class_ref 128440 // QString
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}{
708 classrelation 128122 // <generalisation>
709 relation 128122 ---|>
711 cpp default "${type}"
712 classrelation_ref 128122 // <generalisation>
713 b parent class_ref 128533 // QWidget
716 operation 128211 "return"
717 stereotype "<<slot>>"
718 public explicit_return_type "void"
720 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
722 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
730 classrelation 128083 // <generalisation>
731 relation 128083 ---|>
733 cpp default "${type}"
734 classrelation_ref 128083 // <generalisation>
735 b parent class_ref 128083 // Ui_chatw
739 class 129045 "Player"
740 abstract visibility package
745 explicit_switch_type ""
747 operation 128617 "Player"
748 public explicit_return_type ""
750 param in name "id" explicit_type "int"
751 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
753 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
761 attribute 128168 "_id"
762 const_attribute private explicit_type "int"
763 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
770 operation 128040 "id"
771 const public explicit_return_type "int"
773 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
775 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
783 operation 128184 "move"
784 public return_type class_ref 129301 // Move
786 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
793 operation 129155 "doMove"
794 abstract cpp_virtual protected return_type class_ref 129173 // Point
796 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
810 explicit_switch_type ""
812 attribute 128184 "_x"
813 private explicit_type "int"
814 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
821 attribute 128312 "_y"
822 private explicit_type "int"
823 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
830 attribute 128440 "_z"
831 private explicit_type "int"
832 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
839 operation 128875 "Point"
840 public explicit_return_type ""
842 param in name "x" explicit_type "int"
843 param in name "y" explicit_type "int"
844 param in name "z" explicit_type "int"
845 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
847 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
855 operation 128378 "isValid"
856 const public explicit_return_type "bool"
858 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
860 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
866 comment "return true sse il Point this è minore della dimensione di GameMatrix."
869 operation 129282 "isNull"
870 public explicit_return_type "bool"
872 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
874 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
880 comment "return true iff this == (-1, -1, -1)
891 explicit_switch_type ""
893 classrelation 129173 // <directional composition>
895 a role_name "" protected
896 classrelation_ref 129173 // <directional composition>
897 b parent class_ref 129173 // Point
900 attribute 128405 "_playerId"
901 private explicit_type "int"
908 attribute 128533 "_coord"
909 private type class_ref 129173 // Point
916 operation 129641 "Move"
917 public explicit_return_type ""
919 param in name "id" explicit_type "int"
920 param in name "p" type class_ref 129173 // Point
921 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
923 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
931 operation 128250 "isValid"
932 const public explicit_return_type "bool"
934 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
936 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
942 comment "return GameMatrix::check(this._coord);"
946 class 129557 "GameMatrix"
952 explicit_switch_type ""
954 comment "istanziata da MainWindow e passata poi a GameLoop"
955 attribute 128042 "EmptyPoint"
956 class_attribute const_attribute public explicit_type "int"
958 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
965 attribute 128084 "_instance"
966 class_attribute private type class_ref 129557 // GameMatrix
967 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
974 attribute 128873 "_lastRound"
975 private explicit_type "QList<Point>"
976 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
981 comment "/buffer delle ultime mosse da rivedere"
984 attribute 129129 "_d1"
985 private explicit_type "int"
986 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
993 attribute 129257 "_d2"
994 private explicit_type "int"
995 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1002 attribute 128148 "_freeCounter"
1003 private explicit_type "int"
1004 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1011 operation 130104 "GameMatrix"
1012 private explicit_return_type ""
1014 param in name "d1" explicit_type "int"
1015 param in name "d2" explicit_type "int"
1016 param in name "numPlayers" explicit_type "int"
1017 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1019 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1027 operation 129166 "create"
1028 class_operation public explicit_return_type "GameMatrix*"
1030 param in name "d1" explicit_type "int"
1031 param in name "d2" explicit_type "int"
1032 param in name "numPlayers" explicit_type "int"
1033 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1035 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1043 operation 129294 "destroy"
1044 class_operation public explicit_return_type "void"
1046 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1048 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1056 operation 129620 "instance"
1057 class_operation public explicit_return_type "GameMatrix*"
1059 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1061 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1069 operation 129513 "add"
1070 public explicit_return_type "bool"
1072 param in name "move" type class_ref 129301 // Move
1073 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1075 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1081 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1084 operation 128554 "clear"
1085 public explicit_return_type "void"
1087 param in name "point" type class_ref 129173 // Point
1088 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1090 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1098 operation 129748 "check"
1099 class_operation public explicit_return_type "bool"
1101 param in name "point" type class_ref 129173 // Point
1102 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1104 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1112 operation 130952 "elementAt"
1113 public explicit_return_type "int"
1115 param in name "point" type class_ref 129173 // Point
1116 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1118 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1126 operation 131080 "elementAt"
1127 public explicit_return_type "int"
1129 param in name "x" explicit_type "int"
1130 param in name "y" explicit_type "int"
1131 param in name "z" explicit_type "int"
1132 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1134 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1142 operation 128404 "isFull"
1143 const public explicit_return_type "bool"
1145 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1147 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1155 operation 130232 "numberOfPlayers"
1156 public explicit_return_type "int"
1158 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1160 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1166 comment "lastRound.size()"
1169 operation 128188 "setLastRound"
1170 public explicit_return_type "void"
1172 param in name "round" explicit_type "QList<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 attribute 128083 "_matrix"
1184 private explicit_type "int*"
1185 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1192 operation 128011 "extractCC"
1193 private explicit_return_type "void"
1195 param in name "p" type class_ref 129173 // Point
1196 param in name "id" explicit_type "int"
1197 param inout name "set" explicit_type "QSet<Point>"
1198 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1200 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1209 class 129813 "QWaitCondition"
1215 explicit_switch_type ""
1217 operation 130025 "wait"
1218 public explicit_return_type "bool"
1220 param in name "lock" type class_ref 130837 // QMutex
1221 param in name "timeout" explicit_type "unsigned long"
1222 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1224 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1232 operation 130153 "wakeOne"
1233 public explicit_return_type "void"
1235 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1237 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1247 abstract visibility package
1252 explicit_switch_type ""
1254 attribute 128296 "_playerId"
1255 const_attribute private explicit_type "int"
1256 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1263 operation 128084 "AI"
1264 public explicit_return_type ""
1266 param in name "id" explicit_type "int"
1273 operation 128078 "~AI"
1274 cpp_virtual public explicit_return_type ""
1276 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1278 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1286 operation 128212 "move"
1287 abstract cpp_virtual public return_type class_ref 129173 // Point
1289 param in name "level" explicit_type "int"
1296 operation 129976 "forceMove"
1297 abstract cpp_virtual public explicit_return_type "void"
1299 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1306 operation 130819 "movesUndone"
1307 abstract cpp_virtual public explicit_return_type "void"
1309 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1316 operation 130691 "playerId"
1317 public explicit_return_type "int"
1319 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1321 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1330 class 130069 "Network"
1331 abstract visibility package
1336 explicit_switch_type ""
1338 operation 129980 "Network"
1339 public explicit_return_type ""
1341 param in name "gui" type class_ref 128533 // QWidget
1342 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1344 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1352 operation 129395 "~Network"
1353 cpp_virtual public explicit_return_type ""
1355 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1357 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1365 operation 128122 "requestMove"
1366 abstract cpp_virtual public return_type class_ref 129173 // Point
1368 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1375 attribute 129340 "_gui"
1376 private type class_ref 128533 // QWidget
1377 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1384 operation 129168 "setupChat"
1385 abstract cpp_virtual public explicit_return_type "void"
1387 param in name "widget" type class_ref 128789 // ChatWidget
1388 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1396 class 130197 "QThread"
1397 abstract visibility package
1402 explicit_switch_type ""
1404 operation 128319 "start"
1405 public explicit_return_type "void"
1407 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1409 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1417 operation 128393 "run"
1418 abstract cpp_virtual protected explicit_return_type "void"
1420 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1428 class 130325 "GameLoop"
1434 explicit_switch_type ""
1436 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."
1437 classrelation 130069 // <realization>
1438 relation 130069 -_-|>
1440 classrelation_ref 130069 // <realization>
1441 b parent class_ref 130197 // QThread
1444 attribute 129592 "_currentPlayer"
1445 private type class_ref 129045 // Player
1446 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1451 comment "mantenuto consistente per poter effettuare la forceMove()"
1454 attribute 128264 "_players"
1455 private explicit_type "QList<Player>"
1456 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1463 attribute 128020 "_winStatus"
1464 private explicit_type "QList<bool>"
1465 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1470 comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1473 operation 128054 "GameLoop"
1474 public explicit_return_type ""
1476 param in name "players" explicit_type "QList<Player>"
1477 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1479 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1487 operation 128520 "run"
1488 protected explicit_return_type "void"
1490 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1492 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1500 operation 128316 "setTurn"
1501 public explicit_return_type "void"
1503 param in name "id" explicit_type "int"
1504 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1506 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1514 operation 130488 "forceMove"
1516 public explicit_return_type "void"
1518 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1520 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1528 operation 128233 "moved"
1530 protected explicit_return_type "void"
1532 param in name "move" type class_ref 129301 // Move
1533 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1535 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1543 operation 128264 "turn"
1545 protected explicit_return_type "void"
1547 param in name "playerId" explicit_type "int"
1548 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1555 operation 128148 "win"
1557 protected explicit_return_type "void"
1559 param in name "playerId" explicit_type "int"
1560 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1562 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1570 operation 128532 "draw"
1572 protected explicit_return_type "void"
1574 param in name "playersIds" explicit_type "QList<int>"
1575 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1577 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1585 classrelation 128042 // <directional composition>
1586 relation 128042 *-->
1587 a role_name "" multiplicity "2..3" protected
1588 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1590 classrelation_ref 128042 // <directional composition>
1591 b parent class_ref 129045 // Player
1594 classrelation 129980 // <unidirectional association>
1595 relation 129980 --->
1596 a role_name "" protected
1597 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1599 classrelation_ref 129980 // <unidirectional association>
1600 b parent class_ref 129557 // GameMatrix
1604 class 130709 "SyncSharedCondition"
1610 explicit_switch_type ""
1612 attribute 128063 "_instance"
1613 class_attribute private type class_ref 130709 // SyncSharedCondition
1614 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1621 attribute 128105 "_point"
1622 private type class_ref 129173 // Point
1623 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1630 attribute 129557 "_waitCond"
1631 private type class_ref 129813 // QWaitCondition
1638 operation 128191 "SyncSharedCondition"
1639 private explicit_return_type ""
1641 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1643 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1651 operation 128063 "instance"
1652 class_operation public return_type class_ref 130709 // SyncSharedCondition
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 129129 "waitForMove"
1665 public return_type class_ref 129173 // Point
1667 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1669 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1677 operation 129257 "notifyMove"
1678 public explicit_return_type "void"
1680 param in name "p" type class_ref 129173 // Point
1681 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1683 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1691 classrelation 128105 // <generalisation>
1692 relation 128105 ---|>
1694 cpp default "${type}"
1695 classrelation_ref 128105 // <generalisation>
1696 b parent class_ref 130837 // QMutex
1699 classrelation 128168 // <directional composition>
1700 relation 128168 *-->
1701 a role_name "" protected
1702 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1704 classrelation_ref 128168 // <directional composition>
1705 b parent class_ref 129813 // QWaitCondition
1709 class 130837 "QMutex"
1715 explicit_switch_type ""
1717 operation 129769 "lock"
1718 public explicit_return_type "void"
1720 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1722 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1730 operation 129897 "unlock"
1731 public explicit_return_type "void"
1733 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1735 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1744 class 128056 "HumanPlayer"
1746 cpp_decl "${comment}${template}class ${name}${inherit} {
1753 explicit_switch_type ""
1755 operation 128745 "HumanPlayer"
1756 public explicit_return_type ""
1758 param in name "id" explicit_type "int"
1759 param in name "render" type class_ref 128661 // RenderWidget
1760 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1762 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1770 operation 129283 "doMove"
1771 cpp_virtual protected return_type class_ref 129173 // Point
1773 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1775 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1783 attribute 128233 "_render"
1784 private type class_ref 128661 // RenderWidget
1785 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1792 classrelation 128361 // <realization>
1793 relation 128361 -_-|>
1795 cpp default "${type}"
1796 classrelation_ref 128361 // <realization>
1797 b parent class_ref 129045 // Player
1801 class 128184 "RemotePlayer"
1803 cpp_decl "${comment}${template}class ${name}${inherit} {
1810 explicit_switch_type ""
1812 operation 128873 "RemotePlayer"
1813 public explicit_return_type ""
1815 param in name "id" explicit_type "int"
1816 param in name "net" type class_ref 130069 // Network
1817 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1819 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1827 operation 129411 "doMove"
1828 cpp_virtual protected return_type class_ref 129173 // Point
1830 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1832 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1840 attribute 128361 "_net"
1841 private type class_ref 130069 // Network
1842 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1849 classrelation 128489 // <realization>
1850 relation 128489 -_-|>
1852 cpp default "${type}"
1853 classrelation_ref 128489 // <realization>
1854 b parent class_ref 129045 // Player
1858 class 128312 "AIPlayer"
1860 cpp_decl "${comment}${template}class ${name}${inherit} {
1867 explicit_switch_type ""
1869 classrelation 128617 // <realization>
1870 relation 128617 -_-|>
1872 cpp default "${type}"
1873 classrelation_ref 128617 // <realization>
1874 b parent class_ref 129045 // Player
1877 classrelation 128216 // <directional composition>
1878 relation 128216 *-->
1879 a role_name "" protected
1880 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1882 classrelation_ref 128216 // <directional composition>
1883 b parent class_ref 129941 // AI
1886 attribute 128386 "_DefaultSkill"
1887 class_attribute const_attribute private explicit_type "int"
1888 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1895 attribute 128258 "_skill"
1896 private explicit_type "int"
1897 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1904 attribute 128216 "_ai"
1905 private type class_ref 129941 // AI
1906 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1913 operation 129001 "AIPlayer"
1914 public explicit_return_type ""
1916 param in name "id" explicit_type "int"
1917 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1919 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1925 comment "inizializza skill con la costante di classe DefaultSkill"
1928 operation 129539 "doMove"
1929 cpp_virtual protected return_type class_ref 129173 // Point
1931 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1933 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1941 operation 129410 "forceMove"
1942 public explicit_return_type "void"
1944 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1946 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1954 operation 128002 "skill"
1955 const public explicit_return_type "int"
1957 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1959 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1967 operation 128130 "setSkill"
1968 public explicit_return_type "void"
1970 param in name "skill" explicit_type "int"
1971 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1973 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1981 operation 130704 "undoMove"
1983 public explicit_return_type "void"
1985 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1987 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1996 class 129720 "Suggester"
1998 cpp_decl "${comment}${template}class ${name}${inherit} {
2005 explicit_switch_type ""
2007 classrelation 130616 // <realization>
2008 relation 130616 -_-|>
2010 cpp default "${type}"
2011 classrelation_ref 130616 // <realization>
2012 b parent class_ref 130197 // QThread
2015 attribute 128130 "_SuggestedMoveLevel"
2016 class_attribute const_attribute private explicit_type "int"
2017 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2024 attribute 128088 "_ai"
2025 private type class_ref 129941 // AI
2026 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2033 operation 130744 "Suggester"
2034 public explicit_return_type ""
2036 param in name "id" explicit_type "int"
2037 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2039 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2047 operation 128010 "~Suggester"
2048 public explicit_return_type ""
2050 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2052 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2060 operation 128056 "suggestMove"
2061 public return_type class_ref 129173 // Point
2063 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2065 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2073 operation 130616 "run"
2074 protected explicit_return_type "void"
2076 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2078 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2086 operation 130872 "suggestedMoveReady"
2088 protected explicit_return_type "void"
2090 param in name "point" type class_ref 129173 // Point
2091 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2093 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2101 classrelation 128088 // <directional composition>
2102 relation 128088 *-->
2103 a role_name "" protected
2104 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2106 classrelation_ref 128088 // <directional composition>
2107 b parent class_ref 129941 // AI
2111 class 129848 "HistoryModel"
2113 cpp_decl "${comment}${template}class ${name}${inherit} {
2120 explicit_switch_type ""
2122 classrelation 128637 // <realization>
2123 relation 128637 -_-|>
2125 cpp default "${type}"
2126 classrelation_ref 128637 // <realization>
2127 b parent class_ref 128509 // QAbstractTableModel
2130 attribute 130104 "_history"
2131 private explicit_type "QList<Move>"
2132 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2139 operation 128765 "columnCount"
2140 const cpp_virtual public explicit_return_type "int"
2142 param in name "parent" explicit_type "QModelIndex"
2143 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2150 operation 128637 "rowCount"
2151 const cpp_virtual public explicit_return_type "int"
2153 param in name "parent" explicit_type "QModelIndex"
2154 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2161 operation 128509 "data"
2162 const cpp_virtual public explicit_return_type "QVariant"
2164 param in name "index" explicit_type "QModelIndex"
2165 param in name "role" explicit_type "int"
2166 defaultvalue "Qt::DisplayRole"
2167 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2174 operation 128893 "flags"
2175 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2177 param in name "index" explicit_type "QModelIndex"
2178 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2180 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2188 operation 129021 "headerData"
2189 const cpp_virtual public explicit_return_type "QVariant"
2191 param in name "section" explicit_type "int"
2192 param in name "orientation" explicit_type "Qt::Orientation"
2193 param in name "role" explicit_type "int"
2194 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2196 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2204 operation 131128 "add"
2205 public explicit_return_type "void"
2207 param in name "move" type class_ref 129301 // Move
2208 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2210 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2218 operation 129259 "insertRows"
2219 cpp_virtual public explicit_return_type "bool"
2221 param in name "row" explicit_type "int"
2222 param in name "count" explicit_type "int"
2223 param in name "parent" explicit_type "QModelIndex"
2224 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2226 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2234 operation 129387 "removeRows"
2235 cpp_virtual public explicit_return_type "bool"
2237 param in name "row" explicit_type "int"
2238 param in name "count" explicit_type "int"
2239 param in name "parent" explicit_type "QModelIndex"
2240 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2242 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2250 operation 129442 "moveList"
2251 const public explicit_return_type "QList<Move>"
2253 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2255 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2264 class 129976 "PlayerInfo"
2266 cpp_decl "${comment}${template}class ${name}${inherit} {
2273 explicit_switch_type ""
2275 attribute 130360 "_name"
2276 private type class_ref 128440 // QString
2277 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2284 attribute 130488 "_color"
2285 private type class_ref 128253 // QColor
2286 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2293 attribute 130616 "_type"
2294 private type class_ref 128440 // QString
2295 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2302 operation 128730 "PlayerInfo"
2303 public explicit_return_type ""
2305 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2307 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2313 comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2316 operation 129131 "PlayerInfo"
2317 public explicit_return_type ""
2319 param in name "name" type class_ref 128440 // QString
2320 param in name "color" type class_ref 128253 // QColor
2321 param in name "type" type class_ref 128440 // QString
2322 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2324 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2332 operation 128346 "name"
2333 const public return_type class_ref 128440 // QString
2335 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2337 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2345 operation 128474 "color"
2346 const public return_type class_ref 128253 // QColor
2348 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2350 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2358 operation 128602 "type"
2359 const public return_type class_ref 128440 // QString
2361 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2363 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2372 class 128125 "QTimer"
2374 cpp_decl "${comment}${template}class ${name}${inherit} {
2381 explicit_switch_type ""
2383 operation 128253 "start"
2385 public explicit_return_type "void"
2387 param in name "msec" explicit_type "int"
2388 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2390 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2398 operation 128381 "stop"
2400 public explicit_return_type "void"
2402 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2404 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2412 operation 128125 "timeout"
2414 protected explicit_return_type "void"
2416 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2418 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2427 class 128253 "QColor"
2429 cpp_decl "${comment}${template}class ${name}${inherit} {
2436 explicit_switch_type ""
2440 class 128381 "TimerWidget"
2442 cpp_decl "${comment}${template}class ${name}${inherit} {
2449 explicit_switch_type ""
2451 attribute 128125 "_timer"
2452 private type class_ref 128125 // QTimer
2453 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2460 classrelation 128381 // <directional composition>
2461 relation 128381 *-->
2462 a role_name "" protected
2463 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2465 classrelation_ref 128381 // <directional composition>
2466 b parent class_ref 128125 // QTimer
2469 classrelation 128509 // <generalisation>
2470 relation 128509 ---|>
2472 cpp default "${type}"
2473 classrelation_ref 128509 // <generalisation>
2474 b parent class_ref 128533 // QWidget
2478 class 128509 "QAbstractTableModel"
2479 abstract visibility package
2480 cpp_decl "${comment}${template}class ${name}${inherit} {
2487 explicit_switch_type ""
2491 class 128893 "QTableView"
2493 cpp_decl "${comment}${template}class ${name}${inherit} {
2500 explicit_switch_type ""
2502 classrelation 128444 // <generalisation>
2503 relation 128444 ---|>
2505 cpp default "${type}"
2506 classrelation_ref 128444 // <generalisation>
2507 b parent class_ref 128533 // QWidget
2510 classrelation 128191 // <dependency>
2511 relation 128191 -_->
2513 cpp default "#include in source"
2514 classrelation_ref 128191 // <dependency>
2515 b parent class_ref 129848 // HistoryModel
2519 class 129021 "PlayersWidget"
2521 cpp_decl "${comment}${template}class ${name}${inherit} {
2528 explicit_switch_type ""
2530 comment "rappresenta turno, colore, tipo, nome dei players"
2531 operation 129149 "PlayersWidget"
2532 public explicit_return_type ""
2534 param in name "info" explicit_type "QList<PlayerInfo>"
2535 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2537 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2543 comment "crea un QLabel per ogni player con \"freccia turno\", colore, tipo, nome."
2546 classrelation 128828 // <generalisation>
2547 relation 128828 ---|>
2549 cpp default "${type}"
2550 classrelation_ref 128828 // <generalisation>
2551 b parent class_ref 128533 // QWidget
2554 operation 128083 "turnChanged"
2555 stereotype "<<slot>>"
2556 public explicit_return_type "void"
2558 param in name "playerid" explicit_type "int"
2559 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2561 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2569 classrelation 128211 // <generalisation>
2570 relation 128211 ---|>
2572 cpp default "${type}"
2573 classrelation_ref 128211 // <generalisation>
2574 b parent class_ref 128211 // Ui_plwidget
2578 class 128227 "SoQtRenderArea"
2580 cpp_decl "${comment}${template}class ${name}${inherit} {
2587 explicit_switch_type ""
2591 class 128099 "CubeRenderArea"
2593 cpp_decl "${comment}${template}class ${name}${inherit} {
2600 explicit_switch_type ""
2602 class 128739 "Direction"
2603 visibility protected stereotype "enum"
2604 cpp_decl "${comment}${template}class ${name}${inherit} {
2611 explicit_switch_type ""
2613 attribute 129635 "UP"
2614 public explicit_type ""
2621 attribute 129763 "DOWN"
2622 public explicit_type ""
2629 attribute 129891 "LEFT"
2630 public explicit_type ""
2637 attribute 130019 "RIGHT"
2638 public explicit_type ""
2645 attribute 130147 "IN"
2646 public explicit_type ""
2653 attribute 130275 "OUT"
2654 public explicit_type ""
2662 class 128355 "Orientation"
2663 visibility protected stereotype "enum"
2664 cpp_decl "${comment}${template}class ${name}${inherit} {
2671 explicit_switch_type ""
2673 attribute 128483 "X_POSITIVE"
2674 public explicit_type ""
2675 cpp_decl " ${name}${value},${comment}"
2681 attribute 128739 "X_NEGATIVE"
2682 public explicit_type ""
2689 attribute 128867 "Y_POSITIVE"
2690 public explicit_type ""
2697 attribute 128995 "Y_NEGATIVE"
2698 public explicit_type ""
2705 attribute 129123 "Z_POSITIVE"
2706 public explicit_type ""
2713 attribute 129251 "Z_NEGATIVE"
2714 public explicit_type ""
2721 attribute 128111 "NO_ORIENTATION"
2722 protected explicit_type ""
2730 classrelation 128227 // <generalisation>
2731 relation 128227 ---|>
2733 cpp default "${type}"
2734 classrelation_ref 128227 // <generalisation>
2735 b parent class_ref 128227 // SoQtRenderArea
2738 classrelation 128458 // <directional composition>
2739 relation 128330 *-->
2740 a role_name "" multiplicity "0..1" protected
2741 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2743 classrelation_ref 128458 // <directional composition>
2744 b parent class_ref 128867 // SceneGraph
2747 attribute 128586 "_scene"
2748 private type class_ref 128867 // SceneGraph
2749 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2756 attribute 128099 "_acceptMove"
2757 private explicit_type "bool"
2758 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2765 attribute 128355 "_numCubes"
2766 private explicit_type "int"
2767 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2774 attribute 129994 "_isExploded"
2775 private explicit_type "sbBool"
2776 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2783 attribute 128227 "_isRotating"
2784 private explicit_type "sbBool"
2785 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2792 attribute 129379 "_frontSide"
2793 private type class_ref 128355 // Orientation
2794 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2801 attribute 129507 "_upSide"
2802 private type class_ref 128355 // Orientation
2803 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2810 operation 128611 "CubeRenderArea"
2811 public explicit_return_type ""
2813 param in name "parent" explicit_type "QWidget*"
2814 param in name "dim" explicit_type "int"
2815 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2817 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2823 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"
2826 operation 128227 "drawMove"
2827 public explicit_return_type "void"
2829 param in name "p" type class_ref 129173 // Point
2830 param in name "c" explicit_type "sbColor"
2831 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2833 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2841 operation 129738 "doMove"
2842 public explicit_return_type "void"
2844 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2846 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2852 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."
2855 operation 128739 "getOrientation"
2856 public return_type class_ref 128355 // Orientation
2858 param in name "dir" type class_ref 128739 // Direction
2859 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2861 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2867 comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
2870 operation 128355 "selectCube"
2871 public explicit_return_type "void"
2873 param in name "p" type class_ref 129173 // Point
2874 param in name "c" explicit_type "sbColor"
2875 defaultvalue "255,0,0"
2876 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2878 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2884 comment "usata dal suggeritore della mossa e dall'event dispatcher.
2885 il valore di default del parametro c, è il colore usato per la selezione nel caso generale.
2886 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
2889 attribute 130122 "_hasPreviousPick"
2890 private explicit_type "bool"
2891 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2896 comment "utilizzato per gestire gli eventi del mouse..il primo click è da ignorare perchè da coordinate sballate"
2899 attribute 130250 "_lastXPick"
2900 private explicit_type "float"
2901 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2906 comment "coordinate x dell ultimo click"
2909 attribute 130378 "_lastYPick"
2910 private explicit_type "float"
2911 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2918 attribute 130506 "_projection"
2919 private explicit_type "sbSphereSheetProjector"
2920 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2925 comment "usato per la telecamera. guardare documentazione"
2928 operation 128586 "rotateCamera"
2929 public explicit_return_type "void"
2931 param in name "newX" explicit_type "float"
2932 param in name "newY" explicit_type "float"
2933 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2935 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2941 comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
2944 operation 128714 "zoomCamera"
2945 public explicit_return_type "void"
2947 param in name "delta" explicit_type "int"
2948 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2950 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2956 comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
2959 operation 128202 "eventDispatcher"
2960 class_operation public explicit_return_type "void"
2962 param in name "userdata" explicit_type "void*"
2963 param in name "eventCB" explicit_type "QEvent*"
2964 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2966 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2972 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
2974 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
2975 per chiamare la applyImplosion() passare il parametro TRUE
2977 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
2978 invocare la applyImplosion() con parametro uguale a FALSE"
2981 operation 128330 "cubeSelected"
2982 class_operation public explicit_return_type "void"
2984 param in name "data" explicit_type "void*"
2985 param in name "path" explicit_type "SoPath*"
2986 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2988 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2994 comment "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro è la CubeRenderArea"
2997 operation 128458 "cubeDeselected"
2998 class_operation public explicit_return_type "void"
3000 param in name "data" explicit_type "void*"
3001 param in name "path" explicit_type "SoPath*"
3002 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3004 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3010 comment "deseleziona la casella ( cioè mette a null _selectedCube). data è il CubeRenderArea"
3013 attribute 128091 "_highlightAction"
3014 private explicit_type "SoLineHighlightRenderAction*"
3015 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3022 attribute 128039 "_mutex"
3023 private type class_ref 130837 // QMutex
3024 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3032 class 128867 "SceneGraph"
3034 cpp_decl "${comment}${template}class ${name}${inherit} {
3041 explicit_switch_type ""
3043 attribute 128458 "_renderArea"
3044 private type class_ref 128099 // CubeRenderArea
3045 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3052 operation 128842 "SceneGraph"
3053 public explicit_return_type ""
3055 param in name "ra" explicit_type "CubeRenderArea*"
3056 param in name "dim" explicit_type "int"
3057 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3059 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3065 comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3068 attribute 128074 "_root"
3069 private explicit_type "SoSeparator"
3070 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3075 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"
3078 attribute 128202 "_camera"
3079 private explicit_type "SoCamera"
3080 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3087 attribute 128330 "_light"
3088 private explicit_type "SoLight"
3089 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3096 attribute 128714 "_selector"
3097 private explicit_type "SoSelection"
3098 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3105 attribute 128842 "_fixedCubes"
3106 private explicit_type "SoGroup"
3107 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3112 comment "i cubi che non sono esplosi"
3115 attribute 128970 "_movedCubes"
3116 private explicit_type "QLinkedList<SoGroup*>"
3117 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3122 comment "i cubi esplosi"
3125 attribute 129098 "_shape"
3126 private explicit_type "SoShape"
3127 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3132 comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3135 attribute 129354 "_mover"
3136 private explicit_type "QLinkedList<SoTranslation>"
3137 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3142 comment "lista di traslazioni, una per ogni livello esploso"
3145 attribute 129482 "_interpolator"
3146 private explicit_type "QLinkedList<SoInterpolateVec3f>"
3147 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3152 comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3155 attribute 129610 "_timer"
3156 private explicit_type "QLinkedList<SoOneShot>"
3157 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3162 comment "lista di timer"
3165 attribute 129738 "_explodeSensor"
3166 private explicit_type "SoOneShotSensor"
3167 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3172 comment "classe che schedula la explode e la implode.
3173 Come callback avra' la explodeCubeCB di CubeRenderArea"
3176 attribute 129866 "_graphMatrix"
3177 private explicit_type "SoSeparator*"
3178 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3183 comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3186 operation 128970 "applyRotationToCamera"
3187 public explicit_return_type "void"
3189 param in name "rot" explicit_type "SbRotation*"
3190 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3192 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3198 comment "applica la rotazione rot alla telecamera"
3201 operation 129098 "applyTranslationToCamera"
3202 public explicit_return_type "void"
3204 param in name "delta" explicit_type "int"
3205 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3207 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3213 comment "applica una traslazione alla telecamera. Usata per lo zoom"
3216 operation 129226 "applyExplosionToCube"
3217 public explicit_return_type "void"
3219 param in name "desired" type class_ref 128355 // Orientation
3220 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3222 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3228 comment "se desired NON è uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3229 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3230 setto il campo _directionOfExplosion
3232 -chiamo n volte la explodeLevel()
3237 operation 129354 "applyImplosionToCube"
3238 public explicit_return_type "void"
3240 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3242 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3248 comment "apllica l'implosione.
3249 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3253 operation 128074 "getRoot"
3254 public explicit_return_type "SoSeparator*"
3256 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3258 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3266 operation 129482 "explodeLevel"
3267 private explicit_return_type "void"
3269 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3271 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3277 comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3278 Confronta le dimensioni degli array con _explodedLevels:
3279 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3280 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3281 INCREMENTARE _explodedLevels in ogni caso"
3284 operation 129610 "implodeLevel"
3285 private explicit_return_type "void"
3287 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3289 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3295 comment "funzione ausiliaria. Implode l ultimo livello esploso
3296 invertire le posizioni del mover e attivare il timer
3297 DECREMENTARE _explodedLevels"
3300 attribute 128239 "_selectedCube"
3301 private explicit_type "SoSeparator"
3302 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3309 attribute 128367 "_directionOfExplosion"
3310 private type class_ref 128355 // Orientation
3311 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3318 attribute 128495 "_explodedLevels"
3319 private explicit_type "int"
3320 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3328 class 128008 "QSettings"
3330 cpp_decl "${comment}${template}class ${name}${inherit} {
3337 explicit_switch_type ""
3341 class 128426 "AbstractSettings"
3342 abstract visibility package
3343 cpp_decl "${comment}${template}class ${name}${inherit} {
3350 explicit_switch_type ""
3352 operation 128776 "language"
3353 abstract const cpp_virtual public return_type class_ref 128440 // QString
3355 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3362 operation 128090 "dockState"
3363 abstract const cpp_virtual public explicit_return_type "QByteArray"
3365 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3372 operation 129416 "geometry"
3373 abstract const cpp_virtual public explicit_return_type "QByteArray"
3375 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3382 operation 128444 "defaultCubeColor"
3383 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3385 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3392 operation 128619 "backgroundColor"
3393 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3395 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3402 operation 129544 "setLanguage"
3403 abstract cpp_virtual public explicit_return_type "void"
3405 param in name "lang" type class_ref 128440 // QString
3406 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3413 operation 128218 "setDockState"
3414 abstract const cpp_virtual public explicit_return_type "void"
3416 param in name "state" explicit_type "QByteArray"
3417 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3424 operation 129800 "setGeometry"
3425 abstract cpp_virtual public explicit_return_type "void"
3427 param in name "geom" explicit_type "QByteArray"
3428 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3435 operation 128572 "setDefaultCubeColor"
3436 abstract cpp_virtual public explicit_return_type "void"
3438 param in name "color" type class_ref 128253 // QColor
3439 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3446 operation 128747 "setBackgroundColor"
3447 abstract cpp_virtual public explicit_return_type "void"
3449 param in name "color" type class_ref 128253 // QColor
3450 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3458 class 130453 "SettingsManager"
3459 abstract visibility package
3460 cpp_decl "${comment}${template}class ${name}${inherit} {
3467 explicit_switch_type ""
3469 operation 128904 "playersInfo"
3470 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3472 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3479 operation 129032 "difficulty1"
3480 abstract const cpp_virtual public explicit_return_type "int"
3482 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3489 operation 129160 "difficulty2"
3490 abstract const cpp_virtual public explicit_return_type "int"
3492 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3499 operation 129672 "setPlayersInfo"
3500 abstract cpp_virtual public explicit_return_type "void"
3502 param in name "info" explicit_type "QList<PlayerInfo>"
3503 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3510 operation 128009 "setDifficulty1"
3511 abstract cpp_virtual public explicit_return_type "void"
3513 param in name "d1" explicit_type "int"
3514 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3521 operation 128137 "setDifficulty2"
3522 abstract cpp_virtual public explicit_return_type "void"
3524 param in name "d2" explicit_type "int"
3525 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3532 classrelation 129450 // <generalisation>
3533 relation 129450 ---|>
3535 cpp default "${type}"
3536 classrelation_ref 129450 // <generalisation>
3537 b parent class_ref 128426 // AbstractSettings
3541 class 128042 "LocalSettings"
3543 cpp_decl "${comment}${template}class ${name}${inherit} {
3550 explicit_switch_type ""
3552 classrelation 129578 // <generalisation>
3553 relation 129578 ---|>
3555 cpp default "${type}"
3556 classrelation_ref 129578 // <generalisation>
3557 b parent class_ref 128298 // GUISettings
3560 classrelation 129962 // <realization>
3561 relation 129962 -_-|>
3563 cpp default "${type}"
3564 classrelation_ref 129962 // <realization>
3565 b parent class_ref 130453 // SettingsManager
3569 class 128170 "ServerSettings"
3571 cpp_decl "${comment}${template}class ${name}${inherit} {
3578 explicit_switch_type ""
3580 operation 129186 "serverPort"
3581 const public explicit_return_type "quint16"
3583 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3585 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3593 operation 128170 "timerDuration"
3594 const public explicit_return_type "int"
3596 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3598 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3606 operation 129314 "setServerPort"
3607 public explicit_return_type "void"
3609 param in name "port" explicit_type "quint16"
3610 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3612 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3620 operation 128298 "setTimerDuration"
3621 public explicit_return_type "void"
3623 param in name "msec" explicit_type "int"
3624 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3626 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3634 classrelation 129706 // <generalisation>
3635 relation 129706 ---|>
3637 cpp default "${type}"
3638 classrelation_ref 129706 // <generalisation>
3639 b parent class_ref 128298 // GUISettings
3642 classrelation 129834 // <realization>
3643 relation 129834 -_-|>
3645 cpp default "${type}"
3646 classrelation_ref 129834 // <realization>
3647 b parent class_ref 130453 // SettingsManager
3651 class 128298 "GUISettings"
3653 cpp_decl "${comment}${template}class ${name}${inherit} {
3660 explicit_switch_type ""
3662 classrelation 129194 // <realization>
3663 relation 129194 -_-|>
3665 cpp default "${type}"
3666 classrelation_ref 129194 // <realization>
3667 b parent class_ref 128426 // AbstractSettings
3670 classrelation 129322 // <generalisation>
3671 relation 129322 ---|>
3672 stereotype "protected"
3674 cpp default "${type}"
3675 classrelation_ref 129322 // <generalisation>
3676 b parent class_ref 128008 // QSettings
3680 class 129345 "GameClient"
3682 cpp_decl "${comment}${template}class ${name}${inherit} {
3689 explicit_switch_type ""
3691 classrelation 129345 // <realization>
3692 relation 129345 -_-|>
3694 cpp default "${type}"
3695 classrelation_ref 129345 // <realization>
3696 b parent class_ref 130069 // Network
3699 classrelation 129168 // <directional composition>
3700 relation 129168 *-->
3701 a role_name "" protected
3702 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3704 classrelation_ref 129168 // <directional composition>
3705 b parent class_ref 129168 // ClientSocket
3708 attribute 129267 "_localPlayer"
3709 private explicit_type "int"
3710 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3717 attribute 129296 "_server"
3718 private type class_ref 129168 // ClientSocket
3719 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3726 operation 129296 "GameClient"
3727 public explicit_return_type ""
3729 param in name "gui" type class_ref 128533 // QWidget
3730 param in name "serverAddress" type class_ref 128440 // QString
3731 param in name "serverPort" explicit_type "quint16"
3732 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3734 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3742 operation 129561 "~GameClient"
3743 cpp_virtual public explicit_return_type ""
3745 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3747 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3755 operation 129424 "requestMove"
3756 cpp_virtual public return_type class_ref 129173 // Point
3758 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3765 operation 129552 "setupChat"
3766 cpp_virtual public explicit_return_type "void"
3768 param in name "widget" type class_ref 128789 // ChatWidget
3769 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3771 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3779 operation 129267 "setLocalPlayer"
3781 private explicit_return_type "void"
3783 param in name "id" explicit_type "int"
3784 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3786 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3795 class 129217 "GameServer"
3796 visibility protected
3797 cpp_decl "${comment}${template}class ${name}${inherit} {
3804 explicit_switch_type ""
3806 classrelation 129217 // <realization>
3807 relation 129217 -_-|>
3809 cpp default "${type}"
3810 classrelation_ref 129217 // <realization>
3811 b parent class_ref 130069 // Network
3814 classrelation 129296 // <directional composition>
3815 relation 129296 *-->
3816 a role_name "" multiplicity "*" protected
3817 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3819 classrelation_ref 129296 // <directional composition>
3820 b parent class_ref 129296 // ServerSocket
3823 classrelation 129424 // <directional composition>
3824 relation 129424 *-->
3825 a role_name "" protected
3826 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3828 classrelation_ref 129424 // <directional composition>
3829 b parent class_ref 129212 // QTcpServer
3832 operation 129936 "GameServer"
3833 public explicit_return_type ""
3835 param in name "gui" type class_ref 128533 // QWidget
3836 param in name "history" type class_ref 129848 // HistoryModel
3837 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3839 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3847 operation 129433 "~GameServer"
3848 cpp_virtual public explicit_return_type ""
3850 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3852 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3860 operation 129680 "requestMove"
3861 cpp_virtual public return_type class_ref 129173 // Point
3863 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3870 operation 129808 "setupChat"
3871 cpp_virtual public explicit_return_type "void"
3873 param in name "widget" type class_ref 128789 // ChatWidget
3874 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3876 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3884 operation 130064 "handleIncomingConnection"
3886 private explicit_return_type "void"
3888 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3890 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3898 operation 132431 "handleJoinRequest"
3900 private explicit_return_type "void"
3902 param in name "mode" type class_ref 128440 // QString
3903 param in name "name" type class_ref 128440 // QString
3904 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3906 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3914 operation 128024 "setTurn"
3916 private explicit_return_type "void"
3918 param in name "playerId" explicit_type "int"
3919 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3921 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3929 attribute 129424 "_listener"
3930 private type class_ref 129212 // QTcpServer
3931 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3938 attribute 129552 "_pendingConnections"
3939 private explicit_type "QLinkedList<ServerSocket>"
3940 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3947 attribute 129680 "_remotePlayers"
3948 private explicit_type "QList<ServerSocket>"
3949 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3956 attribute 129808 "_spectators"
3957 private explicit_type "QList<ServerSocket>"
3958 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3965 attribute 130064 "_gameInProgress"
3966 private explicit_type "bool"
3967 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3974 attribute 129936 "_history"
3975 private type class_ref 129848 // HistoryModel
3976 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3983 attribute 129199 "_names"
3984 private explicit_type "QStringList"
3985 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3992 attribute 130492 "_numberOfPlayers"
3993 private explicit_type "int"
3994 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4001 attribute 128024 "_turn"
4002 private explicit_type "int"
4003 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4010 attribute 129395 "_settings"
4011 private type class_ref 128170 // ServerSettings
4012 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4020 class 129231 "StreamSocket"
4022 cpp_decl "${comment}${template}class ${name}${inherit} {
4029 explicit_switch_type ""
4031 class 129359 "ProtocolState"
4032 visibility protected stereotype "enum"
4033 cpp_decl "${comment}enum ${name} {
4037 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
4041 php_decl "${comment}final ${visibility}class ${name} {
4044 idl_decl "${comment}enum ${name} {
4047 explicit_switch_type ""
4049 attribute 129743 "Unconnected"
4050 public type class_ref 129359 // ProtocolState
4051 cpp_decl " ${name}${value},${comment}"
4057 attribute 129871 "Listening"
4058 public type class_ref 129359 // ProtocolState
4059 cpp_decl " ${name}${value},${comment}"
4065 attribute 129999 "Connecting"
4066 public type class_ref 129359 // ProtocolState
4067 cpp_decl " ${name}${value},${comment}"
4073 attribute 130127 "Connected"
4074 public type class_ref 129359 // ProtocolState
4075 cpp_decl " ${name}${value},${comment}"
4081 attribute 130255 "OpeningStream"
4082 public type class_ref 129359 // ProtocolState
4083 cpp_decl " ${name}${value},${comment}"
4089 attribute 130383 "FullyOpened"
4090 public type class_ref 129359 // ProtocolState
4091 cpp_decl " ${name}${value},${comment}"
4097 attribute 130511 "Idle"
4098 public type class_ref 129359 // ProtocolState
4099 cpp_decl " ${name}${value},${comment}"
4105 attribute 130639 "AwaitingJoinRequest"
4106 public type class_ref 129359 // ProtocolState
4107 cpp_decl " ${name}${value},${comment}"
4113 attribute 130767 "AwaitingJoinAnswer"
4114 public type class_ref 129359 // ProtocolState
4115 cpp_decl " ${name}${value},${comment}"
4121 attribute 130895 "AwaitingPlayers"
4122 public type class_ref 129359 // ProtocolState
4123 cpp_decl " ${name}${value},${comment}"
4129 attribute 131023 "AwaitingGameStart"
4130 public type class_ref 129359 // ProtocolState
4131 cpp_decl " ${name}${value},${comment}"
4137 attribute 131151 "Playing"
4138 public type class_ref 129359 // ProtocolState
4139 cpp_decl " ${name}${value},${comment}"
4145 attribute 131279 "AwaitingMove"
4146 public type class_ref 129359 // ProtocolState
4147 cpp_decl " ${name}${value},${comment}"
4153 attribute 131407 "Closing"
4154 public type class_ref 129359 // ProtocolState
4155 cpp_decl " ${name}${value},${comment}"
4161 attribute 131535 "Closed"
4162 public type class_ref 129359 // ProtocolState
4163 cpp_decl " ${name}${value},${comment}"
4170 classrelation 129487 // <generalisation>
4171 relation 129487 ---|>
4172 stereotype "protected"
4174 cpp default "${type}"
4175 classrelation_ref 129487 // <generalisation>
4176 b parent class_ref 129601 // QXmlStreamWriter
4179 classrelation 129615 // <generalisation>
4180 relation 129615 ---|>
4181 stereotype "protected"
4183 cpp default "${type}"
4184 classrelation_ref 129615 // <generalisation>
4185 b parent class_ref 129473 // QXmlStreamReader
4188 classrelation 129743 // <directional composition>
4189 relation 129743 *-->
4190 a role_name "" protected
4191 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4193 classrelation_ref 129743 // <directional composition>
4194 b parent class_ref 129340 // QTcpSocket
4197 attribute 129231 "_supportedProtocolVersion"
4198 class_attribute const_attribute protected type class_ref 128440 // QString
4199 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4206 attribute 129359 "_socket"
4207 protected type class_ref 129340 // QTcpSocket
4208 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4215 attribute 129487 "_buffer"
4216 private explicit_type "QLinkedList<Move>"
4217 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4224 attribute 129615 "_state"
4225 private explicit_type "ProtocolState"
4226 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4233 operation 129231 "StreamSocket"
4234 protected explicit_return_type ""
4236 param in name "socket" type class_ref 129340 // QTcpSocket
4237 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4239 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4247 operation 129177 "~StreamSocket"
4248 public explicit_return_type ""
4250 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4252 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4260 operation 129305 "state"
4261 const public explicit_return_type "ProtocolState"
4263 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4265 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4273 operation 129359 "changeState"
4274 protected explicit_return_type "void"
4276 param in name "state" explicit_type "ProtocolState"
4277 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4279 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4287 operation 129487 "sendChatMessage"
4289 public explicit_return_type "void"
4291 param in name "msg" type class_ref 128440 // QString
4292 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4294 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4302 operation 129615 "sendMove"
4304 public explicit_return_type "void"
4306 param in name "move" type class_ref 129301 // Move
4307 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4309 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4317 operation 129743 "openStream"
4319 protected explicit_return_type "void"
4321 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4323 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4331 operation 129871 "closeStream"
4333 protected explicit_return_type "void"
4335 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4337 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4345 operation 129999 "handleError"
4347 protected explicit_return_type "void"
4349 param in name "error" explicit_type "QAbstractSocket::SocketError"
4350 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4352 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4360 operation 130127 "parseData"
4362 protected explicit_return_type "void"
4364 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4366 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4374 operation 130255 "playerJoined"
4376 protected explicit_return_type "void"
4378 param in name "id" explicit_type "int"
4379 param in name "name" type class_ref 128440 // QString
4380 param in name "type" type class_ref 128440 // QString
4381 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4383 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4391 operation 130383 "playerLeft"
4393 protected explicit_return_type "void"
4395 param in name "id" explicit_type "int"
4396 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4398 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4406 operation 130511 "receivedChatMessage"
4408 protected explicit_return_type "void"
4410 param in name "msg" type class_ref 128440 // QString
4411 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4413 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4421 operation 130639 "receivedMove"
4423 protected explicit_return_type "void"
4425 param in name "move" type class_ref 129301 // Move
4426 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4428 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4436 operation 130767 "startGame"
4438 protected explicit_return_type "void"
4440 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4442 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4450 classrelation 129187 // <unidirectional association>
4451 relation 129187 --->
4452 a role_name "" protected
4453 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4455 classrelation_ref 129187 // <unidirectional association>
4456 b multiplicity "*" parent class_ref 129359 // ProtocolState
4460 class 129168 "ClientSocket"
4462 cpp_decl "${comment}${template}class ${name}${inherit} {
4469 explicit_switch_type ""
4471 classrelation 129359 // <generalisation>
4472 relation 129359 ---|>
4474 cpp default "${type}"
4475 classrelation_ref 129359 // <generalisation>
4476 b parent class_ref 129231 // StreamSocket
4479 operation 129315 "ClientSocket"
4480 public explicit_return_type ""
4482 param in name "socket" type class_ref 129340 // QTcpSocket
4483 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4485 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4493 operation 132047 "joinGame"
4495 public explicit_return_type "void"
4497 param in name "mode" type class_ref 128440 // QString
4498 param in name "name" type class_ref 128440 // QString
4499 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4501 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4509 operation 132175 "cancelJoin"
4511 public explicit_return_type "void"
4513 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4515 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4523 operation 132303 "parseData"
4525 protected explicit_return_type "void"
4527 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4529 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4537 operation 132559 "joinAccepted"
4539 protected explicit_return_type "void"
4541 param in name "id" explicit_type "int"
4542 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4544 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4552 operation 132687 "joinRefused"
4554 protected explicit_return_type "void"
4556 param in name "cause" explicit_type "int"
4557 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4559 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4567 operation 132815 "receivedGameSettings"
4569 protected explicit_return_type "void"
4571 param in name "d1" explicit_type "int"
4572 param in name "d2" explicit_type "int"
4573 param in name "timer" explicit_type "int"
4574 param in name "playing" explicit_type "bool"
4575 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4577 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4585 operation 132943 "receivedHistory"
4587 protected explicit_return_type "void"
4589 param in name "history" explicit_type "QList<Move>"
4590 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4592 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4601 class 129296 "ServerSocket"
4603 cpp_decl "${comment}${template}class ${name}${inherit} {
4610 explicit_switch_type ""
4612 classrelation 129231 // <generalisation>
4613 relation 129231 ---|>
4615 cpp default "${type}"
4616 classrelation_ref 129231 // <generalisation>
4617 b parent class_ref 129231 // StreamSocket
4620 operation 129187 "ServerSocket"
4621 public explicit_return_type ""
4623 param in name "socket" type class_ref 129340 // QTcpSocket
4624 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4626 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4634 operation 130895 "acceptJoin"
4635 public explicit_return_type "void"
4637 param in name "id" explicit_type "int"
4638 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4640 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4648 operation 131023 "refuseJoin"
4649 public explicit_return_type "void"
4651 param in name "cause" explicit_type "int"
4652 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4654 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4662 operation 131151 "sendGameSettings"
4664 public explicit_return_type "void"
4666 param in name "d1" explicit_type "int"
4667 param in name "d2" explicit_type "int"
4668 param in name "timer" explicit_type "int"
4669 param in name "playing" explicit_type "bool"
4670 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4672 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4680 operation 131279 "sendHistory"
4682 public explicit_return_type "void"
4684 param in name "history" explicit_type "QList<Move>"
4685 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4687 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4695 operation 131407 "sendPlayerJoined"
4697 public explicit_return_type "void"
4699 param in name "id" explicit_type "int"
4700 param in name "name" type class_ref 128440 // QString
4701 param in name "type" type class_ref 128440 // QString
4702 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4704 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4712 operation 131535 "sendPlayerLeft"
4714 public explicit_return_type "void"
4716 param in name "id" explicit_type "int"
4717 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4719 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4727 operation 131663 "sendStartGame"
4729 public explicit_return_type "void"
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 131791 "parseData"
4743 protected 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 131919 "joinRequested"
4757 protected explicit_return_type "void"
4759 param in name "mode" type class_ref 128440 // QString
4760 param in name "name" type class_ref 128440 // QString
4761 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4763 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4772 class 129340 "QTcpSocket"
4774 cpp_decl "${comment}${template}class ${name}${inherit} {
4781 explicit_switch_type ""
4783 operation 130448 "connected"
4785 protected explicit_return_type "void"
4787 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4789 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4797 operation 130576 "error"
4799 protected explicit_return_type "void"
4801 param in name "socketError" explicit_type "QAbstractSocket::SocketError"
4802 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4804 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4812 operation 130320 "readyRead"
4814 protected explicit_return_type "void"
4816 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4818 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4827 class 129212 "QTcpServer"
4829 cpp_decl "${comment}${template}class ${name}${inherit} {
4836 explicit_switch_type ""
4838 operation 130192 "newConnection"
4840 protected explicit_return_type "void"
4842 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4844 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4853 class 129473 "QXmlStreamReader"
4855 cpp_decl "${comment}${template}class ${name}${inherit} {
4862 explicit_switch_type ""
4866 class 129601 "QXmlStreamWriter"
4868 cpp_decl "${comment}${template}class ${name}${inherit} {
4875 explicit_switch_type ""
4879 class 128003 "ThreatSearchAI"
4881 cpp_decl "${comment}${template}class ${name}${inherit} {
4888 explicit_switch_type ""
4890 classrelation 128003 // <realization>
4891 relation 128003 -_-|>
4893 cpp default "${type}"
4894 classrelation_ref 128003 // <realization>
4895 b parent class_ref 129941 // AI
4898 operation 131203 "ThreatSearchAI"
4899 public explicit_return_type ""
4901 param in name "id" explicit_type "int"
4902 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4904 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4912 operation 128091 "~ThreatSerachAI"
4913 public explicit_return_type ""
4915 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4917 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4925 attribute 128003 "_d1"
4926 protected explicit_type "int"
4927 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4934 attribute 128131 "_d2"
4935 protected explicit_type "int"
4936 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4943 attribute 128259 "_threat"
4944 protected type class_ref 128131 // Threat
4945 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4952 attribute 128387 "_mat"
4953 protected type class_ref 129557 // GameMatrix
4954 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4961 operation 131331 "init"
4962 public explicit_return_type "void"
4964 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4966 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4974 operation 130947 "move"
4975 cpp_virtual public return_type class_ref 129173 // Point
4977 param in name "level" explicit_type "int"
4984 operation 131075 "forceMove"
4985 cpp_virtual public explicit_return_type "void"
4987 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4994 operation 131843 "movesUndone"
4995 cpp_virtual public explicit_return_type "void"
4997 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4999 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5007 operation 131587 "createThreat"
5008 protected explicit_return_type "Threat*"
5010 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5012 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5020 operation 131459 "defenseHook"
5021 protected return_type class_ref 129173 // Point
5023 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5025 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5033 operation 131715 "defense"
5034 private return_type class_ref 129173 // Point
5036 param in name "level" explicit_type "int"
5037 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5039 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5047 classrelation 128387 // <composition>
5048 relation 128387 *---
5049 a role_name "" multiplicity "0..1" protected
5050 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5052 classrelation_ref 128387 // <composition>
5053 b role_name "" protected
5054 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5056 classrelation_ref 128515 // <composition>
5060 class 128131 "Threat"
5062 cpp_decl "${comment}${template}class ${name}${inherit} {
5069 explicit_switch_type ""
5071 class 128643 "Direction"
5072 visibility public stereotype "enum"
5073 cpp_decl "${comment}enum ${name} {
5077 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5081 php_decl "${comment}final ${visibility}class ${name} {
5084 idl_decl "${comment}enum ${name} {
5087 explicit_switch_type ""
5089 attribute 130179 "DIR_X"
5090 public type class_ref 128643 // Direction
5091 cpp_decl " ${name}${value},${comment}"
5097 attribute 130307 "DIR_Y"
5098 public type class_ref 128643 // Direction
5099 cpp_decl " ${name}${value},${comment}"
5105 attribute 130563 "DIR_Z"
5106 public type class_ref 128643 // Direction
5107 cpp_decl " ${name}${value},${comment}"
5116 cpp_decl "${comment}${template}class ${name}${inherit} {
5123 explicit_switch_type ""
5125 attribute 129539 "value"
5126 public explicit_type "int"
5127 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5134 attribute 129667 "point"
5135 public type class_ref 129173 // Point
5136 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5143 attribute 129795 "dir"
5144 public type class_ref 128739 // Direction
5145 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5152 attribute 129923 "par"
5153 public explicit_type "Node**"
5154 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5161 attribute 130051 "next"
5162 public explicit_type "Node*"
5163 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5170 classrelation 128643 // <unidirectional association>
5171 relation 128515 --->
5172 a role_name "" protected
5173 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5175 classrelation_ref 128643 // <unidirectional association>
5176 b multiplicity "*" parent class_ref 128643 // Direction
5179 operation 133635 "Node"
5180 public explicit_return_type ""
5182 param in name "val" explicit_type "int"
5183 param in name "p" type class_ref 129173 // Point
5184 param in name "dir" type class_ref 128739 // Direction
5185 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5187 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5195 operation 133507 "~Node"
5196 public explicit_return_type ""
5198 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5200 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5208 classrelation 129461 // <directional composition>
5209 relation 129333 *-->
5210 a role_name "" multiplicity "0..1" protected
5211 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5213 classrelation_ref 129461 // <directional composition>
5214 b parent class_ref 128515 // Node
5218 attribute 128515 "_ai"
5219 protected explicit_type "ThreatSearchAI*"
5220 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5227 attribute 128643 "_mat"
5228 protected explicit_type "GameMatrix*"
5229 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5236 attribute 128771 "_d1"
5237 protected explicit_type "int"
5238 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5245 attribute 128899 "_d2"
5246 protected explicit_type "int"
5247 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5254 attribute 129027 "_x"
5255 private explicit_type "QMap<Point,Node*>"
5256 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5263 attribute 129155 "_y"
5264 private explicit_type "QMap<Point,Node*>"
5265 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5272 attribute 129283 "_z"
5273 private explicit_type "QMap<Point,Node*>"
5274 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5281 attribute 129411 "_priority"
5282 private explicit_type "Node**"
5283 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5290 operation 132355 "Threat"
5291 public explicit_return_type ""
5293 param in name "ai" explicit_type "ThreatSearchAI*"
5294 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5296 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5304 operation 128219 "~Threat"
5305 public explicit_return_type ""
5307 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5309 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5317 operation 132483 "insert"
5318 public explicit_return_type "void"
5320 param in name "point" type class_ref 129173 // Point
5321 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5323 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5331 classrelation 128515 // <composition>
5332 relation_ref 128387 // <composition>
5335 operation 132611 "scanFromMatrix"
5336 public explicit_return_type "void"
5338 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5340 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5348 operation 132739 "insertHook"
5349 protected explicit_return_type "void"
5351 param in name "p" type class_ref 129173 // Point
5352 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5354 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5362 operation 132867 "scanFromMatrixHook"
5363 protected explicit_return_type "void"
5365 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5367 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5375 operation 132995 "removeFromPriority"
5376 private explicit_return_type "void"
5378 param in name "it" explicit_type "Node*"
5379 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5381 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5389 operation 133123 "insertInPriority"
5390 private explicit_return_type "void"
5392 param in name "it" explicit_type "Node*"
5393 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5395 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5403 operation 133251 "evalInsert"
5404 private explicit_return_type "void"
5406 param in name "p" type class_ref 129173 // Point
5407 param in name "index" explicit_type "int"
5408 param in name "dir" type class_ref 128739 // Direction
5409 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5411 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5419 operation 133379 "evalPriority"
5420 private explicit_return_type "int"
5422 param in name "p" type class_ref 129173 // Point
5423 param in name "dir" type class_ref 128739 // Direction
5424 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5426 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5434 classrelation 128899 // <directional composition>
5435 relation 128771 *-->
5436 a role_name "" multiplicity "*" protected
5437 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5439 classrelation_ref 128899 // <directional composition>
5440 b parent class_ref 128515 // Node
5444 class 128387 "CCThreat"
5446 cpp_decl "${comment}${template}class ${name}${inherit} {
5453 explicit_switch_type ""
5455 attribute 130691 "_opponentCC"
5456 private explicit_type "QVector<QList<ConnectedComponent>>"
5457 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5464 operation 133763 "CCThreat"
5465 public explicit_return_type ""
5467 param in name "ai" explicit_type "CCThreatSearchAI*"
5468 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5470 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5478 classrelation 128771 // <generalisation>
5479 relation 128643 ---|>
5481 cpp default "${type}"
5482 classrelation_ref 128771 // <generalisation>
5483 b parent class_ref 128131 // Threat
5486 operation 133891 "insertHook"
5487 protected explicit_return_type "void"
5489 param in name "p" type class_ref 129173 // Point
5490 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5492 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5500 operation 134019 "scanFromMatrixHook"
5501 protected explicit_return_type "void"
5503 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5505 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5513 operation 134147 "find"
5514 private explicit_return_type "int"
5516 param in name "id" explicit_type "int"
5517 param in name "p" type class_ref 129173 // Point
5518 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5520 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5528 operation 134275 "explore"
5529 private explicit_return_type "void"
5531 param in name "p" type class_ref 129173 // Point
5532 param in name "id" explicit_type "int"
5533 param inout name "set" explicit_type "QSet<Point>"
5534 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5536 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5544 operation 134403 "merge"
5545 private explicit_return_type "void"
5547 param in name "p1" type class_ref 129173 // Point
5548 param in name "p2" type class_ref 129173 // Point
5549 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5551 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5559 class 128771 "ConnectedComponent"
5561 cpp_decl "${comment}${template}class ${name}${inherit} {
5568 explicit_switch_type ""
5570 operation 134531 "ConnectedComponent"
5571 public explicit_return_type ""
5573 param in name "items" explicit_type "QSet<Point>"
5574 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5576 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5584 operation 134659 "ConnectedComponent"
5585 public explicit_return_type ""
5587 param in name "p" type class_ref 129173 // Point
5588 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5590 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5598 attribute 130819 "nodes"
5599 public explicit_type "QSet<Point>"
5600 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5607 attribute 130947 "min_x"
5608 public explicit_type "int"
5609 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5616 attribute 131075 "min_y"
5617 public explicit_type "int"
5618 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5625 attribute 131203 "min_z"
5626 public explicit_type "int"
5627 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5634 attribute 131331 "max_x"
5635 public explicit_type "int"
5636 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5643 attribute 131459 "max_y"
5644 public explicit_type "int"
5645 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5652 attribute 131587 "max_z"
5653 public explicit_type "int"
5654 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5662 classrelation 129027 // <directional composition>
5663 relation 128899 *-->
5664 a role_name "" multiplicity "*" protected
5665 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5667 classrelation_ref 129027 // <directional composition>
5668 b parent class_ref 128771 // ConnectedComponent
5672 class 128259 "CCThreatSearchAI"
5674 cpp_decl "${comment}${template}class ${name}${inherit} {
5681 explicit_switch_type ""
5683 classrelation 128259 // <generalisation>
5684 relation 128259 ---|>
5686 cpp default "${type}"
5687 classrelation_ref 128259 // <generalisation>
5688 b parent class_ref 128003 // ThreatSearchAI
5691 operation 132227 "CCThreatSearchAI"
5692 public explicit_return_type ""
5694 param in name "id" explicit_type "int"
5695 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5697 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5705 operation 132099 "createThreat"
5706 protected explicit_return_type "Threat*"
5708 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5710 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5718 operation 131971 "defenseHook"
5719 protected return_type class_ref 129173 // Point
5721 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5723 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5732 class 128440 "QString"
5734 cpp_decl "${comment}${template}class ${name}${inherit} {
5741 explicit_switch_type ""
5745 class 129199 "QStringList"
5747 cpp_decl "${comment}${template}class ${name}${inherit} {
5754 explicit_switch_type ""
5758 class 128182 "QList"
5761 formal name "T" type "typename" explicit_default_value ""
5763 cpp_decl "${comment}${template}class ${name}${inherit} {
5770 explicit_switch_type ""
5774 class 128122 "QLinkedList"
5777 formal name "T" type "typename" explicit_default_value ""
5779 cpp_decl "${comment}${template}class ${name}${inherit} {
5786 explicit_switch_type ""
5793 formal name "K" type "typename" explicit_default_value ""
5795 formal name "T" type "typename" explicit_default_value ""
5797 cpp_decl "${comment}${template}class ${name}${inherit} {
5804 explicit_switch_type ""
5808 class 129327 "QVector"
5811 formal name "T" type "typename" explicit_default_value ""
5813 cpp_decl "${comment}${template}class ${name}${inherit} {
5820 explicit_switch_type ""
5824 sequencediagram 128054 "InitSequence"
5825 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
5829 sequencediagram 128148 "GameLoop::run"
5830 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5831 overlapping_bars size A3
5834 sequencediagram 128213 "HumanPlayer::doMove"
5835 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5836 overlapping_bars size A3
5839 sequencediagram 129168 "RemotePlayer::doMove"
5840 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5841 overlapping_bars size A3
5844 sequencediagram 128024 "AIPlayer::doMove"
5845 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5846 overlapping_bars size A3
5849 activity 128011 "GameMatrix::add"
5850 activitydiagram 128011 "add"
5851 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
5852 show_infonote default drawing_language default
5856 parameter 128011 "move" explicit_type ""
5859 flow 128011 "<flow>"
5860 on pin_ref 128011 // m
5864 activitynode 128011 initial ""
5865 flow 128139 "<flow>"
5866 on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
5870 activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
5872 pin 128011 "m" explicit_type ""
5877 flow 128267 "<flow>"
5878 on expansionnode_ref 128011 // dir
5882 expansionregion 128011 ""
5884 expansionnode 128011 "dir"
5886 unordered is_control
5887 flow 128395 "<flow>"
5888 on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
5892 activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
5894 flow 129419 "<flow>"
5895 on activitynode_ref 128395 // merge
5899 activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
5901 pin 128139 "d" explicit_type ""
5904 flow 130955 "<flow>"
5905 on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
5910 activityaction 128395 "i = i + 1"
5912 flow 129675 "<flow>"
5913 on activitynode_ref 128395 // merge
5917 activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
5919 flow 129163 "<flow>"
5920 on activitynode_ref 128267 // decision
5924 activitynode 128267 decision ""
5925 flow 129291 "<flow>"
5926 on activityaction_ref 128395 // activity action i = i + 1
5927 uml_guard "elementAt(k) == m.playerId()"
5930 flow 130571 "<flow>"
5931 on activityaction_ref 128779 // activity action i = 0, start = start + 1
5935 flow 130699 "<flow>"
5936 on activitynode_ref 128779 // flow_final
5937 uml_guard "elementAt(k) == -2"
5941 activitynode 128395 merge ""
5942 flow 129248 "<flow>"
5943 on activitynode_ref 129248 // decision
5947 activitynode 128523 decision ""
5948 flow 129803 "<flow>"
5949 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
5953 flow 129632 "<flow>"
5954 on activitynode_ref 128779 // flow_final
5955 uml_guard "start > m.point().d()"
5959 expansionnode 128139 ""
5961 unordered is_control
5962 flow 131595 "<flow>"
5963 on activitynode_ref 129035 // decision
5967 activitynode 129248 decision ""
5968 flow 129376 "<flow>"
5969 on activitynode_ref 128523 // decision
5973 flow 129760 "<flow>"
5974 on activitynode_ref 129291 // merge
5980 parameter 128139 "win" explicit_type ""
5981 unordered is_control
5985 activityaction 128651 "win = true"
5987 flow 130187 "<flow>"
5988 on activitynode_ref 128651 // merge
5992 activitynode 128651 merge ""
5993 flow 130315 "<flow>"
5994 on parameter_ref 128139 // win
5998 activityaction 128779 "i = 0, start = start + 1"
6000 flow 130827 "<flow>"
6001 on activitynode_ref 128395 // merge
6005 activitynode 128779 flow_final ""
6008 activityaction 128907 "win = false"
6010 flow 131211 "<flow>"
6011 on activitynode_ref 128651 // merge
6015 activitynode 128907 merge ""
6016 flow 131339 "<flow>"
6017 on activityaction_ref 128907 // activity action win = false
6021 activityaction 129035 "set = {}, extractCC(point, id, set)"
6023 flow 131979 "<flow>"
6024 on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
6028 activitynode 129035 decision ""
6029 flow 131723 "<flow>"
6030 on activitynode_ref 128907 // merge
6034 flow 131851 "<flow>"
6035 on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
6036 uml_guard "_d2 == 3"
6040 activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
6042 pin 128267 "estremi" explicit_type ""
6043 multiplicity "3" unordered
6045 flow 132107 "<flow>"
6046 on activitynode_ref 129163 // decision
6051 activitynode 129163 decision ""
6052 flow 132491 "<flow>"
6053 on activitynode_ref 129291 // merge
6054 uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
6057 flow 132619 "<flow>"
6058 on activitynode_ref 128907 // merge
6063 activitynode 129291 merge ""
6064 flow 132235 "<flow>"
6065 on activityaction_ref 128651 // activity action win = true
6070 class 128083 "Ui_chatw"
6072 cpp_decl "${comment}${template}class ${name}${inherit} {
6079 explicit_switch_type ""
6083 class 128211 "Ui_plwidget"
6085 cpp_decl "${comment}${template}class ${name}${inherit} {
6092 explicit_switch_type ""
6096 class 128339 "Ui_StandAloneDialog"
6098 cpp_decl "${comment}${template}class ${name}${inherit} {
6105 explicit_switch_type ""
6109 class 128467 "StandAloneDialog"
6111 cpp_decl "${comment}${template}class ${name}${inherit} {
6118 explicit_switch_type ""
6120 classrelation 128339 // <generalisation>
6121 relation 128339 ---|>
6123 cpp default "${type}"
6124 classrelation_ref 128339 // <generalisation>
6125 b parent class_ref 128339 // Ui_StandAloneDialog
6128 operation 128339 "playersChanged"
6129 stereotype "<<slot>>"
6130 private explicit_return_type "void"
6132 param in name "number" explicit_type "int"
6133 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6135 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6143 operation 128467 "accept"
6144 stereotype "<<slot>>"
6145 public explicit_return_type "void"
6147 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6149 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6158 class 128595 "Ui_ServSetDialog"
6160 cpp_decl "${comment}${template}class ${name}${inherit} {
6167 explicit_switch_type ""
6171 class 128723 "ServSetDialog"
6173 cpp_decl "${comment}${template}class ${name}${inherit} {
6180 explicit_switch_type ""
6182 classrelation 128595 // <generalisation>
6183 relation 128595 ---|>
6185 cpp default "${type}"
6186 classrelation_ref 128595 // <generalisation>
6187 b parent class_ref 128595 // Ui_ServSetDialog
6190 operation 128595 "playersChanged"
6191 stereotype "<<slot>>"
6192 private explicit_return_type "void"
6194 param in name "number" explicit_type "int"
6195 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6197 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6205 operation 128723 "accept"
6206 stereotype "<<slot>>"
6207 public explicit_return_type "void"
6209 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6211 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6219 operation 128851 "ServSetDialog"
6220 public explicit_return_type ""
6222 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
6224 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6234 package_ref 128002 // GUI
6236 package_ref 128130 // Network
6238 package_ref 128258 // Core
6240 package_ref 128386 // AI