4 modified_by 25 "davide"
9 default_attribute_visibility protected default_relation_visibility protected default_operation_visibility public
10 //class diagram settings
11 draw_all_relations yes hide_attributes no hide_operations no show_members_full_definition no show_members_visibility no show_members_stereotype no show_parameter_dir yes show_parameter_name yes package_name_in_tab no class_drawing_mode natural drawing_language uml show_context_mode no auto_label_position yes show_infonote no shadow yes
12 //use case diagram settings
13 package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
14 //sequence diagram settings
15 show_full_operations_definition no write_horizontally yes class_drawing_mode natural drawing_language uml draw_all_relations yes shadow yes
16 //collaboration diagram settings
17 show_full_operations_definition no show_hierarchical_rank no write_horizontally yes drawing_language uml package_name_in_tab no show_context no draw_all_relations yes shadow yes
18 //object diagram settings
19 write_horizontally yes package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
20 //component diagram settings
21 package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
22 draw_component_as_icon no show_component_req_prov no show_component_rea no
23 //deployment diagram settings
24 package_name_in_tab no show_context no write_horizontally yes auto_label_position yes draw_all_relations yes shadow yes
25 draw_component_as_icon no show_component_req_prov no show_component_rea no
26 //state diagram settings
27 package_name_in_tab no show_context no auto_label_position yes write_trans_label_horizontally yes show_trans_definition no draw_all_relations yes shadow yes
28 show_activities yes region_horizontally yes drawing_language uml
29 //activity diagram settings
30 package_name_in_tab no show_context no show_opaque_action_definition no auto_label_position yes write_flow_label_horizontally no draw_all_relations yes shadow yes
31 show_infonote yes drawing_language uml
33 class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activityaction_color transparent parameterpin_color white
39 classview 128021 "ArchitetturaGlobale"
40 //class diagram settings
41 draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype yes show_parameter_dir no show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
42 //collaboration diagram settings
43 show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default
44 //object diagram settings
45 write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
46 //sequence diagram settings
47 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
48 //state diagram settings
49 package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
50 show_activities default region_horizontally default drawing_language default
52 //activity diagram settings
53 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
54 show_infonote default drawing_language default
55 classdiagram 128021 "Global"
56 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
60 classdiagram 128393 "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 129072 "MainWindow"
245 public explicit_return_type ""
247 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
249 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
257 operation 128175 "loadGame"
258 public explicit_return_type "bool"
260 param in name "fileName" type class_ref 128440 // QString
261 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
263 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
271 operation 128047 "saveGame"
272 public explicit_return_type "bool"
274 param in name "fileName" type class_ref 128440 // QString
275 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
277 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
285 classrelation 128917 // <directional composition>
287 a role_name "" multiplicity "0..1" protected
288 classrelation_ref 128917 // <directional composition>
289 b parent class_ref 128789 // ChatWidget
292 classrelation 129045 // <directional composition>
294 a role_name "" multiplicity "0..1" protected
295 classrelation_ref 129045 // <directional composition>
296 b parent class_ref 128661 // RenderWidget
299 classrelation 128440 // <directional composition>
301 a role_name "" multiplicity "0..1" protected
302 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
304 classrelation_ref 128440 // <directional composition>
305 b parent class_ref 130069 // Network
308 classrelation 128568 // <directional composition>
310 a role_name "" protected
311 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
313 classrelation_ref 128568 // <directional composition>
314 b parent class_ref 129941 // AI
317 classrelation 128264 // <directional composition>
319 a role_name "" protected
320 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
322 classrelation_ref 128264 // <directional composition>
323 b parent class_ref 130453 // SettingsManager
326 classrelation 128262 // <directional composition>
328 a role_name "" protected
329 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
331 classrelation_ref 128262 // <directional composition>
332 b parent class_ref 130325 // GameLoop
335 operation 128392 "turn"
337 public explicit_return_type "void"
339 param in name "playerId" explicit_type "int"
340 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
342 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
350 operation 128361 "drawMove"
352 public explicit_return_type "void"
354 param in name "move" type class_ref 129301 // Move
355 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
357 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
363 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
366 operation 128060 "undoMoves"
368 public explicit_return_type "void"
370 param in name "index" explicit_type "QModelIndex"
371 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
373 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
379 comment "disattiva la possibilità da parte dell'utente di eseguire mosse
380 resetta su render e game matrix le caselle indicate nella lista index+1..n
381 invoca setLastRound(index-2...index) su game matrix
382 setta su GameLoop il turno con setTurn(index+1.id())
383 toglie gli elementi index+1..n dalla history
384 invoca notifyMove(Point_null)
388 operation 128700 "showPastGameStatus"
390 public explicit_return_type "void"
392 param in name "index" explicit_type "QModelIndex"
393 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
395 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
401 comment "vedi pesablock, è il gestore dell'evento history::clicked"
404 classrelation 130744 // <directional composition>
406 a role_name "" protected
407 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
409 classrelation_ref 130744 // <directional composition>
410 b parent class_ref 129848 // HistoryModel
413 classrelation 129533 // <directional composition>
415 a role_name "" multiplicity "0..1" protected
416 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
418 classrelation_ref 129533 // <directional composition>
419 b parent class_ref 129720 // Suggester
422 classrelation 128316 // <directional composition>
424 a role_name "" multiplicity "0..1" protected
425 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
427 classrelation_ref 128316 // <directional composition>
428 b parent class_ref 128381 // TimerWidget
431 classrelation 128572 // <directional composition>
433 a role_name "" protected
434 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
436 classrelation_ref 128572 // <directional composition>
437 b parent class_ref 129021 // PlayersWidget
440 classrelation 128700 // <directional composition>
442 a role_name "" protected
443 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
445 classrelation_ref 128700 // <directional composition>
446 b parent class_ref 128893 // QTableView
449 classrelation 128054 // <unidirectional association>
451 a role_name "" multiplicity "0..3" private
452 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
454 classrelation_ref 128054 // <unidirectional association>
455 b parent class_ref 129976 // PlayerInfo
458 operation 129206 "newStandAloneGame"
460 public explicit_return_type "void"
462 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
464 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
472 operation 128081 "connectToServer"
474 public explicit_return_type "void"
476 param in name "ip" type class_ref 128440 // QString
477 param in name "port" type class_ref 128440 // QString
478 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
480 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
488 operation 128721 "newOnlineGame"
490 public explicit_return_type "void"
492 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
494 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
502 operation 128849 "newServerGame"
504 public explicit_return_type "void"
506 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
508 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
516 operation 128020 "playerWin"
518 public explicit_return_type "void"
520 param in name "playerId" explicit_type "int"
521 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
523 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
531 operation 128276 "playersDraw"
533 public explicit_return_type "void"
535 param in name "playersIds" explicit_type "QList<int>"
536 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
538 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
546 operation 130360 "forceMove"
548 protected explicit_return_type "void"
550 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
552 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
558 comment "connesso allo slot GameLoop::forceMove()"
561 classrelation 128113 // <unidirectional association>
563 a role_name "" protected
564 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
566 classrelation_ref 128113 // <unidirectional association>
567 b parent class_ref 128467 // StandAloneDialog
570 classrelation 128241 // <unidirectional association>
572 a role_name "" protected
573 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
575 classrelation_ref 128241 // <unidirectional association>
576 b parent class_ref 128081 // OnlineDialog
579 classrelation 128369 // <unidirectional association>
581 a role_name "" protected
582 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
584 classrelation_ref 128369 // <unidirectional association>
585 b parent class_ref 128723 // ServerSettingsDialog
589 class 128661 "RenderWidget"
591 cpp_decl "${comment}${template}class ${name}${inherit} {
598 explicit_switch_type ""
600 associated_diagram classdiagram_ref 128021 // Global
601 classrelation 128277 // <generalisation>
602 relation 128277 ---|>
604 classrelation_ref 128277 // <generalisation>
605 b parent class_ref 128533 // QWidget
608 attribute 128060 "DefaultCubeColor"
609 class_attribute const_attribute public type class_ref 128253 // QColor
610 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
617 attribute 128107 "_renderArea"
618 private type class_ref 128099 // CubeRenderArea
619 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
626 operation 128105 "RenderWidget"
627 public explicit_return_type ""
629 param in name "parent" explicit_type "QWidget*"
630 param in name "dim" explicit_type "int"
631 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
633 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
641 operation 129385 "acceptMove"
642 public explicit_return_type "void"
644 param in name "value" explicit_type "bool"
645 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
647 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
655 operation 128824 "drawMove"
656 public explicit_return_type "bool"
658 param in name "point" type class_ref 129173 // Point
659 param in name "color" type class_ref 128253 // QColor
660 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
662 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
668 comment "true se la mossa è valida altrimenti false
669 chiama il metodo statico di GameMatrix per sapere se la mossa è valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
672 operation 128828 "uncheckedDraw"
673 public explicit_return_type "void"
675 param in name "pointList" explicit_type "QList<Point>"
676 param in name "colorList" explicit_type "QList<QColor>"
678 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
680 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
686 comment "se colorList==0 allora usa defaultCubeColor"
689 operation 128099 "setAntiAliasing"
690 public explicit_return_type "void"
692 param in name "value" explicit_type "int"
693 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
695 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
701 comment "controlla l'accumulation buffer e setta l'antialiasing"
704 operation 131000 "highlightPoint"
706 public explicit_return_type "void"
708 param in name "point" type class_ref 129173 // Point
709 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
711 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
717 comment "chiama la selectCube di CubeRenderArea"
720 classrelation 128099 // <directional composition>
722 a role_name "" multiplicity "0..1" protected
723 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
725 classrelation_ref 128099 // <directional composition>
726 b parent class_ref 128099 // CubeRenderArea
730 class 128789 "ChatWidget"
736 explicit_switch_type ""
738 operation 128944 "ChatWidget"
739 public explicit_return_type ""
741 param in name "parent" explicit_type "QWidget*"
742 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
744 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
752 operation 128235 "displayText"
754 public explicit_return_type "void"
756 param in name "text" type class_ref 128440 // QString
757 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
759 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
767 operation 128211 "returnEntered"
769 private explicit_return_type "void"
771 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
773 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
781 operation 128107 "textEntered"
783 protected explicit_return_type "void"
785 param in name "text" type class_ref 128440 // QString
786 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
788 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
796 classrelation 128122 // <generalisation>
797 relation 128122 ---|>
799 cpp default "${type}"
800 classrelation_ref 128122 // <generalisation>
801 b parent class_ref 128533 // QWidget
805 class 129045 "Player"
806 abstract visibility package
811 explicit_switch_type ""
813 operation 128617 "Player"
814 public explicit_return_type ""
816 param in name "id" explicit_type "int"
817 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
819 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
827 attribute 128168 "_id"
828 const_attribute private explicit_type "int"
829 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
836 operation 128040 "id"
837 const public explicit_return_type "int"
839 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
841 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
849 operation 128184 "move"
850 public return_type class_ref 129301 // Move
852 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
859 operation 129155 "doMove"
860 abstract cpp_virtual protected return_type class_ref 129173 // Point
862 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
876 explicit_switch_type ""
878 attribute 128184 "_x"
879 private explicit_type "int"
880 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
887 attribute 128312 "_y"
888 private explicit_type "int"
889 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
896 attribute 128440 "_z"
897 private explicit_type "int"
898 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
905 operation 128875 "Point"
906 public explicit_return_type ""
908 param in name "x" explicit_type "int"
909 param in name "y" explicit_type "int"
910 param in name "z" explicit_type "int"
911 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
913 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
921 operation 128378 "isValid"
922 const public explicit_return_type "bool"
924 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
926 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
932 comment "return true sse il Point this è minore della dimensione di GameMatrix."
935 operation 129282 "isNull"
936 public explicit_return_type "bool"
938 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
940 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
946 comment "return true iff this == (-1, -1, -1)
957 explicit_switch_type ""
959 classrelation 129173 // <directional composition>
961 a role_name "" protected
962 classrelation_ref 129173 // <directional composition>
963 b parent class_ref 129173 // Point
966 attribute 128405 "_playerId"
967 private explicit_type "int"
974 attribute 128533 "_coord"
975 private type class_ref 129173 // Point
982 operation 129641 "Move"
983 public explicit_return_type ""
985 param in name "id" explicit_type "int"
986 param in name "p" type class_ref 129173 // Point
987 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
989 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
997 operation 128250 "isValid"
998 const public explicit_return_type "bool"
1000 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1002 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1008 comment "return GameMatrix::check(this._coord);"
1012 class 129557 "GameMatrix"
1018 explicit_switch_type ""
1020 comment "istanziata da MainWindow e passata poi a GameLoop"
1021 attribute 128042 "EmptyPoint"
1022 class_attribute const_attribute public explicit_type "int"
1024 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1031 attribute 128084 "_instance"
1032 class_attribute private explicit_type "GameMatrix*"
1033 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1040 attribute 128873 "_lastRound"
1041 private explicit_type "QList<Point>"
1042 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1047 comment "/buffer delle ultime mosse da rivedere"
1050 attribute 129129 "_d1"
1051 private explicit_type "int"
1052 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1059 attribute 129257 "_d2"
1060 private explicit_type "int"
1061 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1068 attribute 128148 "_freeCounter"
1069 private explicit_type "int"
1070 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1077 operation 130104 "GameMatrix"
1078 private explicit_return_type ""
1080 param in name "d1" explicit_type "int"
1081 param in name "d2" explicit_type "int"
1082 param in name "numPlayers" explicit_type "int"
1083 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1085 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1093 operation 129166 "create"
1094 class_operation public explicit_return_type "GameMatrix*"
1096 param in name "d1" explicit_type "int"
1097 param in name "d2" explicit_type "int"
1098 param in name "numPlayers" explicit_type "int"
1099 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1101 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1109 operation 129294 "destroy"
1110 class_operation public explicit_return_type "void"
1112 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1114 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1122 operation 129620 "instance"
1123 class_operation public explicit_return_type "GameMatrix*"
1125 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1127 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1135 operation 129513 "add"
1136 public explicit_return_type "bool"
1138 param in name "move" type class_ref 129301 // Move
1139 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1141 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1147 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1150 operation 128554 "clear"
1151 public explicit_return_type "void"
1153 param in name "point" type class_ref 129173 // Point
1154 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1156 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1164 operation 129748 "check"
1165 class_operation public explicit_return_type "bool"
1167 param in name "point" type class_ref 129173 // Point
1168 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1170 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1178 operation 130952 "elementAt"
1179 public explicit_return_type "int"
1181 param in name "point" type class_ref 129173 // Point
1182 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1184 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1192 operation 131080 "elementAt"
1193 public explicit_return_type "int"
1195 param in name "x" explicit_type "int"
1196 param in name "y" explicit_type "int"
1197 param in name "z" explicit_type "int"
1198 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1200 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1208 operation 128404 "isFull"
1209 const public explicit_return_type "bool"
1211 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1213 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1221 operation 130232 "numberOfPlayers"
1222 public explicit_return_type "int"
1224 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1226 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1232 comment "lastRound.size()"
1235 operation 128188 "setLastRound"
1236 public explicit_return_type "void"
1238 param in name "round" explicit_type "QList<Point>"
1239 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1241 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1249 attribute 128083 "_matrix"
1250 private explicit_type "int*"
1251 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1258 operation 128011 "extractCC"
1259 private explicit_return_type "void"
1261 param in name "p" type class_ref 129173 // Point
1262 param in name "id" explicit_type "int"
1263 param inout name "set" explicit_type "QSet<Point>"
1264 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1266 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1275 class 129813 "QWaitCondition"
1281 explicit_switch_type ""
1283 operation 130025 "wait"
1284 public explicit_return_type "bool"
1286 param in name "lock" type class_ref 130837 // QMutex
1287 param in name "timeout" explicit_type "unsigned long"
1288 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1290 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1298 operation 130153 "wakeOne"
1299 public explicit_return_type "void"
1301 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1303 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1313 abstract visibility package
1318 explicit_switch_type ""
1320 attribute 128296 "_playerId"
1321 const_attribute private explicit_type "int"
1322 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1329 operation 128084 "AI"
1330 public explicit_return_type ""
1332 param in name "id" explicit_type "int"
1339 operation 128078 "~AI"
1340 cpp_virtual public explicit_return_type ""
1342 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1344 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1352 operation 128212 "move"
1353 abstract cpp_virtual public return_type class_ref 129173 // Point
1355 param in name "level" explicit_type "int"
1362 operation 129976 "forceMove"
1363 abstract cpp_virtual public explicit_return_type "void"
1365 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1372 operation 130819 "movesUndone"
1373 abstract cpp_virtual public explicit_return_type "void"
1375 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1382 operation 130691 "playerId"
1383 public explicit_return_type "int"
1385 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1387 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1396 class 130069 "Network"
1397 abstract visibility package
1402 explicit_switch_type ""
1404 operation 129980 "Network"
1405 public explicit_return_type ""
1407 param in name "gui" explicit_type "QWidget*"
1408 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1410 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1418 operation 129395 "~Network"
1419 cpp_virtual public explicit_return_type ""
1421 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1423 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1431 operation 128122 "requestMove"
1432 abstract cpp_virtual public return_type class_ref 129173 // Point
1434 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1441 attribute 129340 "_gui"
1442 private explicit_type "QWidget*"
1443 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1450 operation 129168 "setupChat"
1451 abstract cpp_virtual public explicit_return_type "void"
1453 param in name "widget" explicit_type "ChatWidget*"
1454 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1462 class 130197 "QThread"
1463 abstract visibility package
1468 explicit_switch_type ""
1470 operation 128319 "start"
1471 public explicit_return_type "void"
1473 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1475 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1483 operation 128393 "run"
1484 abstract cpp_virtual protected explicit_return_type "void"
1486 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1494 class 130325 "GameLoop"
1500 explicit_switch_type ""
1502 comment "quando attende una mossa da RemotePlayer o HumanPlayer va in wait, quando invece tocca ad AIPlayer deve essere questo Thread che esegue il calcolo. NON deve andare in wait."
1503 classrelation 130069 // <realization>
1504 relation 130069 -_-|>
1506 classrelation_ref 130069 // <realization>
1507 b parent class_ref 130197 // QThread
1510 attribute 129592 "_currentPlayer"
1511 private explicit_type "Player*"
1512 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1517 comment "mantenuto consistente per poter effettuare la forceMove()"
1520 attribute 128264 "_players"
1521 private explicit_type "QList<Player*>"
1522 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1529 attribute 128101 "_resetLoop"
1530 private explicit_type "bool"
1531 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1538 attribute 128020 "_winStatus"
1539 private explicit_type "QList<bool>"
1540 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1545 comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1548 operation 128054 "GameLoop"
1549 public explicit_return_type ""
1551 param in name "players" explicit_type "QList<Player>"
1552 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1554 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1562 operation 128316 "setTurn"
1563 public explicit_return_type "void"
1565 param in name "id" explicit_type "int"
1566 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1568 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1576 operation 129781 "onLoadSetTurn"
1577 public explicit_return_type "void"
1579 param in name "plyUndone" explicit_type "int"
1580 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1582 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1590 operation 130488 "forceMove"
1592 public explicit_return_type "void"
1594 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1596 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1604 operation 128520 "run"
1605 protected explicit_return_type "void"
1607 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1609 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1617 operation 128233 "moved"
1619 protected explicit_return_type "void"
1621 param in name "move" type class_ref 129301 // Move
1622 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1624 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1632 operation 128264 "turn"
1634 protected explicit_return_type "void"
1636 param in name "playerId" explicit_type "int"
1637 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1644 operation 128148 "win"
1646 protected explicit_return_type "void"
1648 param in name "playerId" explicit_type "int"
1649 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1651 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1659 operation 128532 "draw"
1661 protected explicit_return_type "void"
1663 param in name "playersIds" explicit_type "QList<int>"
1664 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1666 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1674 classrelation 128042 // <directional composition>
1675 relation 128042 *-->
1676 a role_name "" multiplicity "2..3" protected
1677 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1679 classrelation_ref 128042 // <directional composition>
1680 b parent class_ref 129045 // Player
1683 classrelation 129980 // <unidirectional association>
1684 relation 129980 --->
1685 a role_name "" protected
1686 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1688 classrelation_ref 129980 // <unidirectional association>
1689 b parent class_ref 129557 // GameMatrix
1693 class 130709 "SyncSharedCondition"
1699 explicit_switch_type ""
1701 attribute 128063 "_instance"
1702 class_attribute private explicit_type "SyncSharedCondition*"
1703 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1710 attribute 128105 "_point"
1711 private type class_ref 129173 // Point
1712 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1719 attribute 129557 "_waitCond"
1720 private type class_ref 129813 // QWaitCondition
1727 operation 128191 "SyncSharedCondition"
1728 private explicit_return_type ""
1730 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1732 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1740 operation 128063 "instance"
1741 class_operation public explicit_return_type "SyncSharedCondition*"
1743 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1745 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1753 operation 129129 "waitForMove"
1754 public return_type class_ref 129173 // Point
1756 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1758 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1766 operation 129257 "notifyMove"
1767 public explicit_return_type "void"
1769 param in name "p" type class_ref 129173 // Point
1770 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1772 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1780 classrelation 128105 // <generalisation>
1781 relation 128105 ---|>
1783 cpp default "${type}"
1784 classrelation_ref 128105 // <generalisation>
1785 b parent class_ref 130837 // QMutex
1788 classrelation 128168 // <directional composition>
1789 relation 128168 *-->
1790 a role_name "" protected
1791 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1793 classrelation_ref 128168 // <directional composition>
1794 b parent class_ref 129813 // QWaitCondition
1798 class 130837 "QMutex"
1804 explicit_switch_type ""
1806 operation 129769 "lock"
1807 public explicit_return_type "void"
1809 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1811 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1819 operation 129897 "unlock"
1820 public explicit_return_type "void"
1822 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1824 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1833 class 128056 "HumanPlayer"
1835 cpp_decl "${comment}${template}class ${name}${inherit} {
1842 explicit_switch_type ""
1844 operation 128745 "HumanPlayer"
1845 public explicit_return_type ""
1847 param in name "id" explicit_type "int"
1848 param in name "render" explicit_type "RenderWidget*"
1849 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1851 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1859 operation 129283 "doMove"
1860 cpp_virtual protected return_type class_ref 129173 // Point
1862 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1864 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1872 attribute 128233 "_render"
1873 private explicit_type "RenderWidget*"
1874 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1881 classrelation 128361 // <realization>
1882 relation 128361 -_-|>
1884 cpp default "${type}"
1885 classrelation_ref 128361 // <realization>
1886 b parent class_ref 129045 // Player
1890 class 128184 "RemotePlayer"
1892 cpp_decl "${comment}${template}class ${name}${inherit} {
1899 explicit_switch_type ""
1901 operation 128873 "RemotePlayer"
1902 public explicit_return_type ""
1904 param in name "id" explicit_type "int"
1905 param in name "net" explicit_type "Network*"
1906 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1908 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1916 operation 129411 "doMove"
1917 cpp_virtual protected return_type class_ref 129173 // Point
1919 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1921 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1929 attribute 128361 "_net"
1930 private explicit_type "Network*"
1931 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1938 classrelation 128489 // <realization>
1939 relation 128489 -_-|>
1941 cpp default "${type}"
1942 classrelation_ref 128489 // <realization>
1943 b parent class_ref 129045 // Player
1947 class 128312 "AIPlayer"
1949 cpp_decl "${comment}${template}class ${name}${inherit} {
1956 explicit_switch_type ""
1958 classrelation 128617 // <realization>
1959 relation 128617 -_-|>
1961 cpp default "${type}"
1962 classrelation_ref 128617 // <realization>
1963 b parent class_ref 129045 // Player
1966 classrelation 128216 // <directional composition>
1967 relation 128216 *-->
1968 a role_name "" protected
1969 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1971 classrelation_ref 128216 // <directional composition>
1972 b parent class_ref 129941 // AI
1975 attribute 128386 "_DefaultSkill"
1976 class_attribute const_attribute private explicit_type "int"
1977 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1984 attribute 128258 "_skill"
1985 private explicit_type "int"
1986 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1993 attribute 128216 "_ai"
1994 private type class_ref 129941 // AI
1995 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2002 operation 129001 "AIPlayer"
2003 public explicit_return_type ""
2005 param in name "id" explicit_type "int"
2006 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2008 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2014 comment "inizializza skill con la costante di classe DefaultSkill"
2017 operation 129539 "doMove"
2018 cpp_virtual protected return_type class_ref 129173 // Point
2020 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2022 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2030 operation 129410 "forceMove"
2031 public explicit_return_type "void"
2033 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2035 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2043 operation 128002 "skill"
2044 const public explicit_return_type "int"
2046 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2048 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2056 operation 128130 "setSkill"
2057 public explicit_return_type "void"
2059 param in name "skill" explicit_type "int"
2060 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2062 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2070 operation 130704 "undoMove"
2072 public explicit_return_type "void"
2074 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2076 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2085 class 129720 "Suggester"
2087 cpp_decl "${comment}${template}class ${name}${inherit} {
2094 explicit_switch_type ""
2096 classrelation 130616 // <realization>
2097 relation 130616 -_-|>
2099 cpp default "${type}"
2100 classrelation_ref 130616 // <realization>
2101 b parent class_ref 130197 // QThread
2104 attribute 128130 "_SuggestedMoveLevel"
2105 class_attribute const_attribute private explicit_type "int"
2106 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2113 attribute 128088 "_ai"
2114 private type class_ref 129941 // AI
2115 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2122 operation 130744 "Suggester"
2123 public explicit_return_type ""
2125 param in name "id" explicit_type "int"
2126 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2128 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2136 operation 128010 "~Suggester"
2137 public explicit_return_type ""
2139 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2141 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2149 operation 128056 "suggestMove"
2150 public return_type class_ref 129173 // Point
2152 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2154 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2162 operation 130616 "run"
2163 protected explicit_return_type "void"
2165 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2167 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2175 operation 130872 "suggestedMoveReady"
2177 protected explicit_return_type "void"
2179 param in name "point" type class_ref 129173 // Point
2180 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2182 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2190 classrelation 128088 // <directional composition>
2191 relation 128088 *-->
2192 a role_name "" protected
2193 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2195 classrelation_ref 128088 // <directional composition>
2196 b parent class_ref 129941 // AI
2200 class 129848 "HistoryModel"
2202 cpp_decl "${comment}${template}class ${name}${inherit} {
2209 explicit_switch_type ""
2211 classrelation 128637 // <realization>
2212 relation 128637 -_-|>
2214 cpp default "${type}"
2215 classrelation_ref 128637 // <realization>
2216 b parent class_ref 128509 // QAbstractTableModel
2219 attribute 129269 "_actual"
2220 private explicit_type "QModelIndex"
2221 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2228 attribute 130104 "_history"
2229 private explicit_type "QList<Move>"
2230 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2237 operation 129269 "HistoryModel"
2238 public explicit_return_type ""
2240 param in name "parent" explicit_type "QObject*"
2241 param in name "info" explicit_type "QList<PlayerInfo>*"
2242 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2244 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2252 operation 128765 "columnCount"
2253 const cpp_virtual public explicit_return_type "int"
2255 param in name "parent" explicit_type "QModelIndex"
2256 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2263 operation 128637 "rowCount"
2264 const cpp_virtual public explicit_return_type "int"
2266 param in name "parent" explicit_type "QModelIndex"
2267 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2274 operation 128509 "data"
2275 const cpp_virtual public explicit_return_type "QVariant"
2277 param in name "index" explicit_type "QModelIndex"
2278 param in name "role" explicit_type "int"
2279 defaultvalue "Qt::DisplayRole"
2280 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2287 operation 129021 "headerData"
2288 const cpp_virtual public explicit_return_type "QVariant"
2290 param in name "section" explicit_type "int"
2291 param in name "orientation" explicit_type "Qt::Orientation"
2292 param in name "role" explicit_type "int"
2293 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2295 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2303 operation 128893 "flags"
2304 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2306 param in name "index" explicit_type "QModelIndex"
2307 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2309 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2317 operation 129259 "insertRows"
2318 cpp_virtual public explicit_return_type "bool"
2320 param in name "row" explicit_type "int"
2321 param in name "count" explicit_type "int"
2322 param in name "parent" explicit_type "QModelIndex"
2323 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2325 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2333 operation 129387 "removeRows"
2334 cpp_virtual public explicit_return_type "bool"
2336 param in name "row" explicit_type "int"
2337 param in name "count" explicit_type "int"
2338 param in name "parent" explicit_type "QModelIndex"
2339 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2341 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2349 operation 131128 "append"
2350 public explicit_return_type "void"
2352 param in name "move" type class_ref 129301 // Move
2353 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2355 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2363 operation 129442 "moveList"
2364 const public explicit_return_type "QList<Move>"
2366 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2368 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2376 operation 129653 "remove"
2377 public explicit_return_type "void"
2379 param in name "count" explicit_type "int"
2380 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2382 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2390 attribute 128048 "_info"
2391 private explicit_type "QList<PlayerInfo>*"
2392 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2400 class 129976 "PlayerInfo"
2402 cpp_decl "${comment}${template}class ${name}${inherit} {
2409 explicit_switch_type ""
2411 attribute 130360 "_name"
2412 private type class_ref 128440 // QString
2413 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2420 attribute 130488 "_color"
2421 private type class_ref 128253 // QColor
2422 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2429 attribute 130616 "_type"
2430 private type class_ref 128440 // QString
2431 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2438 operation 128730 "PlayerInfo"
2439 public explicit_return_type ""
2441 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2443 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2449 comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2452 operation 129131 "PlayerInfo"
2453 public explicit_return_type ""
2455 param in name "name" type class_ref 128440 // QString
2456 param in name "color" type class_ref 128253 // QColor
2457 param in name "type" type class_ref 128440 // QString
2458 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2460 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2468 operation 128346 "name"
2469 const public return_type class_ref 128440 // QString
2471 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2473 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2481 operation 128474 "color"
2482 const public return_type class_ref 128253 // QColor
2484 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2486 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2494 operation 128602 "type"
2495 const public return_type class_ref 128440 // QString
2497 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2499 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2508 class 128125 "QTimer"
2510 cpp_decl "${comment}${template}class ${name}${inherit} {
2517 explicit_switch_type ""
2519 operation 128253 "start"
2521 public explicit_return_type "void"
2523 param in name "msec" explicit_type "int"
2524 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2526 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2534 operation 128381 "stop"
2536 public explicit_return_type "void"
2538 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2540 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2548 operation 128125 "timeout"
2550 protected explicit_return_type "void"
2552 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2554 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2563 class 128253 "QColor"
2565 cpp_decl "${comment}${template}class ${name}${inherit} {
2572 explicit_switch_type ""
2576 class 128381 "TimerWidget"
2578 cpp_decl "${comment}${template}class ${name}${inherit} {
2585 explicit_switch_type ""
2587 attribute 128125 "_timer"
2588 private type class_ref 128125 // QTimer
2589 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2596 classrelation 128381 // <directional composition>
2597 relation 128381 *-->
2598 a role_name "" protected
2599 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2601 classrelation_ref 128381 // <directional composition>
2602 b parent class_ref 128125 // QTimer
2605 classrelation 128509 // <generalisation>
2606 relation 128509 ---|>
2608 cpp default "${type}"
2609 classrelation_ref 128509 // <generalisation>
2610 b parent class_ref 128533 // QWidget
2613 operation 128816 "TimerWidget"
2614 public explicit_return_type ""
2616 param in name "parent" explicit_type "QWidget*"
2617 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2619 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2628 class 128509 "QAbstractTableModel"
2629 abstract visibility package
2630 cpp_decl "${comment}${template}class ${name}${inherit} {
2637 explicit_switch_type ""
2641 class 128893 "QTableView"
2643 cpp_decl "${comment}${template}class ${name}${inherit} {
2650 explicit_switch_type ""
2652 classrelation 128444 // <generalisation>
2653 relation 128444 ---|>
2655 cpp default "${type}"
2656 classrelation_ref 128444 // <generalisation>
2657 b parent class_ref 128533 // QWidget
2660 classrelation 128191 // <dependency>
2661 relation 128191 -_->
2663 cpp default "#include in source"
2664 classrelation_ref 128191 // <dependency>
2665 b parent class_ref 129848 // HistoryModel
2668 operation 129397 "clicked"
2670 protected explicit_return_type "void"
2672 param in name "index" explicit_type "QModelIndex"
2673 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2675 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2683 operation 129525 "doubleClicked"
2685 protected explicit_return_type "void"
2687 param in name "index" explicit_type "QModelIndex"
2688 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2690 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2699 class 129021 "PlayersWidget"
2701 cpp_decl "${comment}${template}class ${name}${inherit} {
2708 explicit_switch_type ""
2710 comment "rappresenta turno, colore, tipo, nome dei players"
2711 operation 129149 "PlayersWidget"
2712 public explicit_return_type ""
2714 param in name "parent" explicit_type "QWidget*"
2715 param in name "info" explicit_type "QList<PlayerInfo>"
2716 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2718 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2726 classrelation 128828 // <generalisation>
2727 relation 128828 ---|>
2729 cpp default "${type}"
2730 classrelation_ref 128828 // <generalisation>
2731 b parent class_ref 128533 // QWidget
2734 operation 128083 "turnChanged"
2736 public explicit_return_type "void"
2738 param in name "playerid" explicit_type "int"
2739 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2741 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2750 class 128227 "SoQtRenderArea"
2752 cpp_decl "${comment}${template}class ${name}${inherit} {
2759 explicit_switch_type ""
2763 class 128099 "CubeRenderArea"
2765 cpp_decl "${comment}${template}class ${name}${inherit} {
2772 explicit_switch_type ""
2774 class 128739 "Direction"
2775 visibility protected stereotype "enum"
2776 cpp_decl "${comment}${template}class ${name}${inherit} {
2783 explicit_switch_type ""
2785 attribute 129635 "UP"
2786 public explicit_type ""
2793 attribute 129763 "DOWN"
2794 public explicit_type ""
2801 attribute 129891 "LEFT"
2802 public explicit_type ""
2809 attribute 130019 "RIGHT"
2810 public explicit_type ""
2817 attribute 130147 "IN"
2818 public explicit_type ""
2825 attribute 130275 "OUT"
2826 public explicit_type ""
2834 class 128355 "Orientation"
2835 visibility protected stereotype "enum"
2836 cpp_decl "${comment}${template}class ${name}${inherit} {
2843 explicit_switch_type ""
2845 attribute 128483 "X_POSITIVE"
2846 public explicit_type ""
2847 cpp_decl " ${name}${value},${comment}"
2853 attribute 128739 "X_NEGATIVE"
2854 public explicit_type ""
2861 attribute 128867 "Y_POSITIVE"
2862 public explicit_type ""
2869 attribute 128995 "Y_NEGATIVE"
2870 public explicit_type ""
2877 attribute 129123 "Z_POSITIVE"
2878 public explicit_type ""
2885 attribute 129251 "Z_NEGATIVE"
2886 public explicit_type ""
2893 attribute 128111 "NO_ORIENTATION"
2894 protected explicit_type ""
2902 classrelation 128227 // <generalisation>
2903 relation 128227 ---|>
2905 cpp default "${type}"
2906 classrelation_ref 128227 // <generalisation>
2907 b parent class_ref 128227 // SoQtRenderArea
2910 classrelation 128458 // <composition>
2911 relation 128330 *---
2912 a role_name "" multiplicity "0..1" private
2913 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2915 classrelation_ref 128458 // <composition>
2916 b role_name "" private
2917 classrelation_ref 129269 // <composition>
2920 attribute 128586 "_scene"
2921 private type class_ref 128867 // SceneGraph
2922 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2929 attribute 128099 "_acceptMove"
2930 private explicit_type "bool"
2931 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2938 attribute 128355 "_numCubes"
2939 private explicit_type "int"
2940 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2947 attribute 129994 "_isExploded"
2948 private explicit_type "bool"
2949 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2956 attribute 128227 "_isRotating"
2957 private explicit_type "bool"
2958 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2965 attribute 130122 "_hasPreviousPick"
2966 private explicit_type "bool"
2967 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2972 comment "utilizzato per gestire gli eventi del mouse..il primo click è da ignorare perchè da coordinate sballate"
2975 attribute 130250 "_lastXPick"
2976 private explicit_type "float"
2977 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2982 comment "coordinate x dell ultimo click"
2985 attribute 130378 "_lastYPick"
2986 private explicit_type "float"
2987 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2994 attribute 129379 "_frontside"
2995 private type class_ref 128355 // Orientation
2996 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3003 attribute 129507 "_upside"
3004 private type class_ref 128355 // Orientation
3005 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3012 operation 128611 "CubeRenderArea"
3013 public explicit_return_type ""
3015 param in name "parent" explicit_type "QWidget*"
3016 param in name "dim" explicit_type "int"
3017 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3019 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3025 comment "costruttore: costruisce SoQtRenderArea passando il parent. setta num_cubes con il valore dim, costruisce SceneGraph e poi chiama una funzione che gli ritorna il parametro _root , che imposta come grafo con una funzione di SoQtRenderArea"
3028 operation 128227 "drawMove"
3029 public explicit_return_type "void"
3031 param in name "p" type class_ref 129173 // Point
3032 param in name "c" explicit_type "SbColor"
3033 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3035 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3043 operation 129738 "doMove"
3044 public explicit_return_type "void"
3046 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3048 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3054 comment "se _acceptMove è vero, allora estrae il point dal cubo selezionato e, se non è gia di un altro giocatore, prende il lock su SyncSharedCondition(singleton quindi metodo statico per avere il puntatore), chiama la drawMove col colore del giocatore,setta acceptmove a false, poi chiama la notifyMove su SyncSharedCondition e rilascia il lock."
3057 operation 128739 "getOrientation"
3058 public return_type class_ref 128355 // Orientation
3060 param in name "dir" type class_ref 128739 // Direction
3061 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3063 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3069 comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
3072 operation 128355 "selectCube"
3073 public explicit_return_type "void"
3075 param in name "p" type class_ref 129173 // Point
3076 param in name "c" explicit_type "SbColor"
3077 defaultvalue "255,0,0"
3078 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3080 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3086 comment "usata dal suggeritore della mossa e dall'event dispatcher.
3087 il valore di default del parametro c, è il colore usato per la selezione nel caso generale.
3088 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
3091 attribute 130506 "_projection"
3092 private explicit_type "SbSphereSheetProjector"
3093 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3098 comment "usato per la telecamera. guardare documentazione"
3101 operation 128586 "rotateCamera"
3102 public explicit_return_type "void"
3104 param in name "newX" explicit_type "int"
3105 param in name "newY" explicit_type "int"
3106 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3108 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3114 comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
3117 operation 128714 "zoomCamera"
3118 public explicit_return_type "void"
3120 param in name "delta" explicit_type "int"
3121 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3123 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3129 comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
3132 operation 128202 "eventDispatcher"
3133 class_operation public explicit_return_type "SbBool"
3135 param in name "userdata" explicit_type "void*"
3136 param in name "eventCB" explicit_type "QEvent*"
3137 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3139 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3145 comment "il dispatcher degli eventi..li raccoglie e chiama le funzioni adeguate. Gestisce tutti gli eventi tranne la selezione di una casella, che viene gestita direttamente da altre due funzioni di callback
3147 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
3148 per chiamare la applyImplosion() passare il parametro TRUE
3150 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
3151 invocare la applyImplosion() con parametro uguale a FALSE"
3154 operation 128330 "cubeSelected"
3155 class_operation public explicit_return_type "void"
3157 param in name "userdata" explicit_type "void*"
3158 param in name "path" explicit_type "SoPath*"
3159 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3161 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3167 comment "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro è la CubeRenderArea"
3170 operation 128458 "cubeDeselected"
3171 class_operation public explicit_return_type "void"
3173 param in name "userdata" explicit_type "void*"
3174 param in name "path" explicit_type "SoPath*"
3175 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3177 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3183 comment "deseleziona la casella ( cioè mette a null _selectedCube). data è il CubeRenderArea"
3186 attribute 128091 "_highlightAction"
3187 private explicit_type "SoLineHighlightRenderAction"
3188 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3195 attribute 128039 "_mutex"
3196 private type class_ref 130837 // QMutex
3197 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3205 class 128867 "SceneGraph"
3207 cpp_decl "${comment}${template}class ${name}${inherit} {
3214 explicit_switch_type ""
3216 attribute 128458 "_renderArea"
3217 private type class_ref 128099 // CubeRenderArea
3218 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3225 attribute 128032 "_dim"
3226 private explicit_type "int"
3227 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3234 operation 128842 "SceneGraph"
3235 public explicit_return_type ""
3237 param in name "ra" explicit_type "CubeRenderArea*"
3238 param in name "dim" explicit_type "int"
3239 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3241 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3247 comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3250 attribute 128074 "_root"
3251 private explicit_type "SoSeparator"
3252 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3257 comment "il nodo radice del grafo: i suoi fogli saranno la camera la luce e _selector, che conterrà i due sogroup contenenti le caselle di gioco"
3260 attribute 128202 "_camera"
3261 private explicit_type "SoCamera"
3262 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3269 attribute 128330 "_light"
3270 private explicit_type "SoLight"
3271 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3278 attribute 128714 "_selector"
3279 private explicit_type "SoSelection"
3280 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3287 attribute 128842 "_fixedCubes"
3288 private explicit_type "SoGroup"
3289 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3294 comment "i cubi che non sono esplosi"
3297 attribute 128970 "_movedCubes"
3298 private explicit_type "SoBaseList"
3299 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3304 comment "i cubi esplosi"
3307 attribute 129098 "_shape"
3308 private explicit_type "SoShape"
3309 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3314 comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3317 attribute 129354 "_movers"
3318 private explicit_type "SoBaseList"
3319 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3324 comment "lista di traslazioni, una per ogni livello esploso"
3327 attribute 129482 "_interpolators"
3328 private explicit_type "SoBaseList"
3329 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3334 comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3337 attribute 129610 "_timers"
3338 private explicit_type "SoBaseList"
3339 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3344 comment "lista di timer"
3347 attribute 129738 "_explodeSensor"
3348 private explicit_type "SoOneShotSensor"
3349 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3354 comment "classe che schedula la explode e la implode.
3355 Come callback avra' la explodeCubeCB di CubeRenderArea"
3358 attribute 129866 "_graphMatrix"
3359 private explicit_type "SoSeparator*"
3360 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3365 comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3368 operation 128970 "applyRotationToCamera"
3369 public explicit_return_type "void"
3371 param in name "rot" explicit_type "SbRotation"
3372 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3374 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3380 comment "applica la rotazione rot alla telecamera"
3383 operation 129098 "applyTranslationToCamera"
3384 public explicit_return_type "void"
3386 param in name "delta" explicit_type "int"
3387 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3389 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3395 comment "applica una traslazione alla telecamera. Usata per lo zoom"
3398 operation 129226 "applyExplosionToCube"
3399 public explicit_return_type "void"
3401 param in name "desired" type class_ref 128355 // Orientation
3402 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3404 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3410 comment "se desired NON è uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3411 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3412 setto il campo _directionOfExplosion
3414 -chiamo n volte la explodeLevel()
3419 operation 129354 "applyImplosionToCube"
3420 public explicit_return_type "void"
3422 param in name "all" explicit_type "bool"
3423 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3425 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3431 comment "apllica l'implosione.
3432 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3436 operation 128074 "root"
3437 public explicit_return_type "SoSeparator*"
3439 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3441 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3449 operation 129482 "explodeLevel"
3450 private explicit_return_type "void"
3452 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3454 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3460 comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3461 Confronta le dimensioni degli array con _explodedLevels:
3462 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3463 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3464 INCREMENTARE _explodedLevels in ogni caso"
3467 operation 129610 "implodeLevel"
3468 private explicit_return_type "void"
3470 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3472 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3478 comment "funzione ausiliaria. Implode l ultimo livello esploso
3479 invertire le posizioni del mover e attivare il timer
3480 DECREMENTARE _explodedLevels"
3483 attribute 128239 "_selectedCube"
3484 private explicit_type "SoSeparator"
3485 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3492 attribute 128367 "_directionOfExplosion"
3493 private type class_ref 128355 // Orientation
3494 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3501 attribute 128495 "_explodedLevels"
3502 private explicit_type "int"
3503 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3510 classrelation 129269 // <composition>
3511 relation_ref 128330 // <composition>
3515 class 128008 "QSettings"
3517 cpp_decl "${comment}${template}class ${name}${inherit} {
3524 explicit_switch_type ""
3528 class 128426 "AbstractSettings"
3529 abstract visibility package
3530 cpp_decl "${comment}${template}class ${name}${inherit} {
3537 explicit_switch_type ""
3539 operation 128776 "language"
3540 abstract const cpp_virtual public return_type class_ref 128440 // QString
3542 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3549 operation 128090 "dockState"
3550 abstract const cpp_virtual public explicit_return_type "QByteArray"
3552 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3559 operation 129416 "geometry"
3560 abstract const cpp_virtual public explicit_return_type "QByteArray"
3562 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3569 operation 128444 "defaultCubeColor"
3570 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3572 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3579 operation 128619 "backgroundColor"
3580 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3582 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3589 operation 129544 "setLanguage"
3590 abstract cpp_virtual public explicit_return_type "void"
3592 param in name "lang" type class_ref 128440 // QString
3593 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3600 operation 128218 "setDockState"
3601 abstract const cpp_virtual public explicit_return_type "void"
3603 param in name "state" explicit_type "QByteArray"
3604 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3611 operation 129800 "setGeometry"
3612 abstract cpp_virtual public explicit_return_type "void"
3614 param in name "geom" explicit_type "QByteArray"
3615 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3622 operation 128572 "setDefaultCubeColor"
3623 abstract cpp_virtual public explicit_return_type "void"
3625 param in name "color" type class_ref 128253 // QColor
3626 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3633 operation 128747 "setBackgroundColor"
3634 abstract cpp_virtual public explicit_return_type "void"
3636 param in name "color" type class_ref 128253 // QColor
3637 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3645 class 130453 "SettingsManager"
3646 abstract visibility package
3647 cpp_decl "${comment}${template}class ${name}${inherit} {
3654 explicit_switch_type ""
3656 operation 128904 "playersInfo"
3657 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3659 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3666 operation 129032 "difficulty1"
3667 abstract const cpp_virtual public explicit_return_type "int"
3669 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3676 operation 129160 "difficulty2"
3677 abstract const cpp_virtual public explicit_return_type "int"
3679 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3686 operation 129672 "setPlayersInfo"
3687 abstract cpp_virtual public explicit_return_type "void"
3689 param in name "info" explicit_type "QList<PlayerInfo>"
3690 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3697 operation 128009 "setDifficulty1"
3698 abstract cpp_virtual public explicit_return_type "void"
3700 param in name "d1" explicit_type "int"
3701 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3708 operation 128137 "setDifficulty2"
3709 abstract cpp_virtual public explicit_return_type "void"
3711 param in name "d2" explicit_type "int"
3712 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3719 classrelation 129450 // <generalisation>
3720 relation 129450 ---|>
3722 cpp default "${type}"
3723 classrelation_ref 129450 // <generalisation>
3724 b parent class_ref 128426 // AbstractSettings
3728 class 128042 "LocalSettings"
3730 cpp_decl "${comment}${template}class ${name}${inherit} {
3737 explicit_switch_type ""
3739 classrelation 129578 // <generalisation>
3740 relation 129578 ---|>
3742 cpp default "${type}"
3743 classrelation_ref 129578 // <generalisation>
3744 b parent class_ref 128298 // GUISettings
3747 classrelation 129962 // <realization>
3748 relation 129962 -_-|>
3750 cpp default "${type}"
3751 classrelation_ref 129962 // <realization>
3752 b parent class_ref 130453 // SettingsManager
3756 class 128170 "ServerSettings"
3758 cpp_decl "${comment}${template}class ${name}${inherit} {
3765 explicit_switch_type ""
3767 operation 129186 "serverPort"
3768 const public explicit_return_type "quint16"
3770 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3772 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3780 operation 128170 "timerDuration"
3781 const public explicit_return_type "int"
3783 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3785 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3793 operation 128051 "myColor"
3794 public return_type class_ref 128253 // QColor
3796 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3798 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3806 operation 129314 "setServerPort"
3807 public explicit_return_type "void"
3809 param in name "port" explicit_type "quint16"
3810 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3812 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3820 operation 128298 "setTimerDuration"
3821 public explicit_return_type "void"
3823 param in name "msec" explicit_type "int"
3824 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3826 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3834 classrelation 129706 // <generalisation>
3835 relation 129706 ---|>
3837 cpp default "${type}"
3838 classrelation_ref 129706 // <generalisation>
3839 b parent class_ref 128298 // GUISettings
3842 classrelation 129834 // <realization>
3843 relation 129834 -_-|>
3845 cpp default "${type}"
3846 classrelation_ref 129834 // <realization>
3847 b parent class_ref 130453 // SettingsManager
3850 operation 128179 "setMyColor"
3851 public explicit_return_type "void"
3853 param in name "color" type class_ref 128253 // QColor
3854 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3856 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3865 class 128298 "GUISettings"
3867 cpp_decl "${comment}${template}class ${name}${inherit} {
3874 explicit_switch_type ""
3876 classrelation 129194 // <realization>
3877 relation 129194 -_-|>
3879 cpp default "${type}"
3880 classrelation_ref 129194 // <realization>
3881 b parent class_ref 128426 // AbstractSettings
3884 classrelation 129322 // <generalisation>
3885 relation 129322 ---|>
3886 stereotype "protected"
3888 cpp default "${type}"
3889 classrelation_ref 129322 // <generalisation>
3890 b parent class_ref 128008 // QSettings
3894 class 129345 "GameClient"
3896 cpp_decl "${comment}${template}class ${name}${inherit} {
3903 explicit_switch_type ""
3905 classrelation 129345 // <realization>
3906 relation 129345 -_-|>
3908 cpp default "${type}"
3909 classrelation_ref 129345 // <realization>
3910 b parent class_ref 130069 // Network
3913 classrelation 129168 // <directional composition>
3914 relation 129168 *-->
3915 a role_name "" protected
3916 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3918 classrelation_ref 129168 // <directional composition>
3919 b parent class_ref 129168 // ClientSocket
3922 attribute 129267 "_localPlayer"
3923 private explicit_type "int"
3924 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3931 attribute 129296 "_server"
3932 private type class_ref 129168 // ClientSocket
3933 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3940 operation 129296 "GameClient"
3941 public explicit_return_type ""
3943 param in name "gui" explicit_type "QWidget*"
3944 param in name "serverAddress" type class_ref 128440 // QString
3945 param in name "serverPort" explicit_type "quint16"
3946 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3948 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3956 operation 129561 "~GameClient"
3957 cpp_virtual public explicit_return_type ""
3959 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3961 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3969 operation 129424 "requestMove"
3970 cpp_virtual public return_type class_ref 129173 // Point
3972 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3979 operation 129552 "setupChat"
3980 cpp_virtual public explicit_return_type "void"
3982 param in name "widget" explicit_type "ChatWidget*"
3983 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3985 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3993 operation 129267 "setLocalPlayer"
3995 private explicit_return_type "void"
3997 param in name "id" explicit_type "int"
3998 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4000 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4009 class 129217 "GameServer"
4010 visibility protected
4011 cpp_decl "${comment}${template}class ${name}${inherit} {
4018 explicit_switch_type ""
4020 classrelation 129217 // <realization>
4021 relation 129217 -_-|>
4023 cpp default "${type}"
4024 classrelation_ref 129217 // <realization>
4025 b parent class_ref 130069 // Network
4028 classrelation 129296 // <directional composition>
4029 relation 129296 *-->
4030 a role_name "" multiplicity "*" protected
4031 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4033 classrelation_ref 129296 // <directional composition>
4034 b parent class_ref 129296 // ServerSocket
4037 classrelation 129424 // <directional composition>
4038 relation 129424 *-->
4039 a role_name "" protected
4040 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4042 classrelation_ref 129424 // <directional composition>
4043 b parent class_ref 129212 // QTcpServer
4046 operation 129936 "GameServer"
4047 public explicit_return_type ""
4049 param in name "gui" explicit_type "QWidget*"
4050 param in name "history" explicit_type "HistoryModel*"
4051 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4053 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4061 operation 129433 "~GameServer"
4062 cpp_virtual public explicit_return_type ""
4064 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4066 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4074 operation 129680 "requestMove"
4075 cpp_virtual public return_type class_ref 129173 // Point
4077 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4084 operation 129808 "setupChat"
4085 cpp_virtual public explicit_return_type "void"
4087 param in name "widget" explicit_type "ChatWidget*"
4088 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4090 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4098 operation 130064 "handleIncomingConnection"
4100 private explicit_return_type "void"
4102 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4104 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4112 operation 132431 "handleJoinRequest"
4114 private explicit_return_type "void"
4116 param in name "mode" type class_ref 128440 // QString
4117 param in name "name" type class_ref 128440 // QString
4118 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4120 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4128 operation 128024 "setTurn"
4130 private explicit_return_type "void"
4132 param in name "playerId" explicit_type "int"
4133 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4135 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4143 attribute 129424 "_listener"
4144 private type class_ref 129212 // QTcpServer
4145 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4152 attribute 129552 "_pendingConnections"
4153 private explicit_type "QLinkedList<ServerSocket>"
4154 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4161 attribute 129680 "_remotePlayers"
4162 private explicit_type "QList<ServerSocket>"
4163 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4170 attribute 129808 "_spectators"
4171 private explicit_type "QList<ServerSocket>"
4172 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4179 attribute 130064 "_gameInProgress"
4180 private explicit_type "bool"
4181 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4188 attribute 129936 "_history"
4189 private explicit_type "HistoryModel*"
4190 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4197 attribute 129199 "_names"
4198 private explicit_type "QStringList"
4199 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4206 attribute 130492 "_numberOfPlayers"
4207 private explicit_type "int"
4208 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4215 attribute 128024 "_turn"
4216 private explicit_type "int"
4217 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4224 attribute 129395 "_settings"
4225 private type class_ref 128170 // ServerSettings
4226 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4234 class 129231 "StreamSocket"
4236 cpp_decl "${comment}${template}class ${name}${inherit} {
4243 explicit_switch_type ""
4245 class 129359 "ProtocolState"
4246 visibility protected stereotype "enum"
4247 cpp_decl "${comment}enum ${name} {
4251 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
4255 php_decl "${comment}final ${visibility}class ${name} {
4258 idl_decl "${comment}enum ${name} {
4261 explicit_switch_type ""
4263 attribute 129743 "Unconnected"
4264 public type class_ref 129359 // ProtocolState
4265 cpp_decl " ${name}${value},${comment}"
4271 attribute 129871 "Listening"
4272 public type class_ref 129359 // ProtocolState
4273 cpp_decl " ${name}${value},${comment}"
4279 attribute 129999 "Connecting"
4280 public type class_ref 129359 // ProtocolState
4281 cpp_decl " ${name}${value},${comment}"
4287 attribute 130127 "Connected"
4288 public type class_ref 129359 // ProtocolState
4289 cpp_decl " ${name}${value},${comment}"
4295 attribute 130255 "OpeningStream"
4296 public type class_ref 129359 // ProtocolState
4297 cpp_decl " ${name}${value},${comment}"
4303 attribute 130383 "FullyOpened"
4304 public type class_ref 129359 // ProtocolState
4305 cpp_decl " ${name}${value},${comment}"
4311 attribute 130511 "Idle"
4312 public type class_ref 129359 // ProtocolState
4313 cpp_decl " ${name}${value},${comment}"
4319 attribute 130639 "AwaitingJoinRequest"
4320 public type class_ref 129359 // ProtocolState
4321 cpp_decl " ${name}${value},${comment}"
4327 attribute 130767 "AwaitingJoinAnswer"
4328 public type class_ref 129359 // ProtocolState
4329 cpp_decl " ${name}${value},${comment}"
4335 attribute 130895 "AwaitingPlayers"
4336 public type class_ref 129359 // ProtocolState
4337 cpp_decl " ${name}${value},${comment}"
4343 attribute 131023 "AwaitingGameStart"
4344 public type class_ref 129359 // ProtocolState
4345 cpp_decl " ${name}${value},${comment}"
4351 attribute 131151 "Playing"
4352 public type class_ref 129359 // ProtocolState
4353 cpp_decl " ${name}${value},${comment}"
4359 attribute 131279 "AwaitingMove"
4360 public type class_ref 129359 // ProtocolState
4361 cpp_decl " ${name}${value},${comment}"
4367 attribute 131407 "Closing"
4368 public type class_ref 129359 // ProtocolState
4369 cpp_decl " ${name}${value},${comment}"
4375 attribute 131535 "Closed"
4376 public type class_ref 129359 // ProtocolState
4377 cpp_decl " ${name}${value},${comment}"
4384 classrelation 129487 // <generalisation>
4385 relation 129487 ---|>
4386 stereotype "protected"
4388 cpp default "${type}"
4389 classrelation_ref 129487 // <generalisation>
4390 b parent class_ref 129601 // QXmlStreamWriter
4393 classrelation 129615 // <generalisation>
4394 relation 129615 ---|>
4395 stereotype "protected"
4397 cpp default "${type}"
4398 classrelation_ref 129615 // <generalisation>
4399 b parent class_ref 129473 // QXmlStreamReader
4402 classrelation 129743 // <directional composition>
4403 relation 129743 *-->
4404 a role_name "" protected
4405 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4407 classrelation_ref 129743 // <directional composition>
4408 b parent class_ref 129340 // QTcpSocket
4411 attribute 129231 "_supportedProtocolVersion"
4412 class_attribute const_attribute protected type class_ref 128440 // QString
4413 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4420 attribute 129359 "_socket"
4421 protected type class_ref 129340 // QTcpSocket
4422 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4429 attribute 129487 "_buffer"
4430 private explicit_type "QLinkedList<Move>"
4431 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4438 attribute 129615 "_state"
4439 private explicit_type "ProtocolState"
4440 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4447 operation 129231 "StreamSocket"
4448 protected explicit_return_type ""
4450 param in name "socket" type class_ref 129340 // QTcpSocket
4451 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4453 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4461 operation 129177 "~StreamSocket"
4462 public explicit_return_type ""
4464 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4466 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4474 operation 129305 "state"
4475 const public explicit_return_type "ProtocolState"
4477 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4479 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4487 operation 129359 "changeState"
4488 protected explicit_return_type "void"
4490 param in name "state" explicit_type "ProtocolState"
4491 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4493 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4501 operation 129487 "sendChatMessage"
4503 public explicit_return_type "void"
4505 param in name "msg" type class_ref 128440 // QString
4506 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4508 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4516 operation 129615 "sendMove"
4518 public explicit_return_type "void"
4520 param in name "move" type class_ref 129301 // Move
4521 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4523 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4531 operation 129743 "openStream"
4533 protected explicit_return_type "void"
4535 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4537 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4545 operation 129871 "closeStream"
4547 protected explicit_return_type "void"
4549 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4551 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4559 operation 129999 "handleError"
4561 protected explicit_return_type "void"
4563 param in name "error" explicit_type "QAbstractSocket::SocketError"
4564 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4566 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4574 operation 130127 "parseData"
4576 protected explicit_return_type "void"
4578 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4580 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4588 operation 130255 "playerJoined"
4590 protected explicit_return_type "void"
4592 param in name "id" explicit_type "int"
4593 param in name "name" type class_ref 128440 // QString
4594 param in name "type" type class_ref 128440 // QString
4595 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4597 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4605 operation 130383 "playerLeft"
4607 protected explicit_return_type "void"
4609 param in name "id" explicit_type "int"
4610 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4612 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4620 operation 130511 "receivedChatMessage"
4622 protected explicit_return_type "void"
4624 param in name "msg" type class_ref 128440 // QString
4625 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4627 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4635 operation 130639 "receivedMove"
4637 protected explicit_return_type "void"
4639 param in name "move" type class_ref 129301 // Move
4640 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4642 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4650 operation 130767 "startGame"
4652 protected explicit_return_type "void"
4654 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4656 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4664 classrelation 129187 // <unidirectional association>
4665 relation 129187 --->
4666 a role_name "" protected
4667 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4669 classrelation_ref 129187 // <unidirectional association>
4670 b multiplicity "*" parent class_ref 129359 // ProtocolState
4674 class 129168 "ClientSocket"
4676 cpp_decl "${comment}${template}class ${name}${inherit} {
4683 explicit_switch_type ""
4685 classrelation 129359 // <generalisation>
4686 relation 129359 ---|>
4688 cpp default "${type}"
4689 classrelation_ref 129359 // <generalisation>
4690 b parent class_ref 129231 // StreamSocket
4693 operation 129315 "ClientSocket"
4694 public explicit_return_type ""
4696 param in name "socket" type class_ref 129340 // QTcpSocket
4697 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4699 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4707 operation 132047 "joinGame"
4709 public explicit_return_type "void"
4711 param in name "mode" type class_ref 128440 // QString
4712 param in name "name" type class_ref 128440 // QString
4713 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4715 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4723 operation 132175 "cancelJoin"
4725 public explicit_return_type "void"
4727 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4729 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4737 operation 132303 "parseData"
4739 protected explicit_return_type "void"
4741 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4743 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4751 operation 132559 "joinAccepted"
4753 protected explicit_return_type "void"
4755 param in name "id" explicit_type "int"
4756 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4758 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4766 operation 132687 "joinRefused"
4768 protected explicit_return_type "void"
4770 param in name "cause" explicit_type "int"
4771 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4773 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4781 operation 132815 "receivedGameSettings"
4783 protected explicit_return_type "void"
4785 param in name "d1" explicit_type "int"
4786 param in name "d2" explicit_type "int"
4787 param in name "timer" explicit_type "int"
4788 param in name "playing" explicit_type "bool"
4789 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4791 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4799 operation 132943 "receivedHistory"
4801 protected explicit_return_type "void"
4803 param in name "history" explicit_type "QList<Move>"
4804 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4806 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4815 class 129296 "ServerSocket"
4817 cpp_decl "${comment}${template}class ${name}${inherit} {
4824 explicit_switch_type ""
4826 classrelation 129231 // <generalisation>
4827 relation 129231 ---|>
4829 cpp default "${type}"
4830 classrelation_ref 129231 // <generalisation>
4831 b parent class_ref 129231 // StreamSocket
4834 operation 129187 "ServerSocket"
4835 public explicit_return_type ""
4837 param in name "socket" type class_ref 129340 // QTcpSocket
4838 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4840 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4848 operation 130895 "acceptJoin"
4849 public explicit_return_type "void"
4851 param in name "id" explicit_type "int"
4852 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4854 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4862 operation 131023 "refuseJoin"
4863 public explicit_return_type "void"
4865 param in name "cause" explicit_type "int"
4866 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4868 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4876 operation 131151 "sendGameSettings"
4878 public explicit_return_type "void"
4880 param in name "d1" explicit_type "int"
4881 param in name "d2" explicit_type "int"
4882 param in name "timer" explicit_type "int"
4883 param in name "playing" explicit_type "bool"
4884 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4886 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4894 operation 131279 "sendHistory"
4896 public explicit_return_type "void"
4898 param in name "history" explicit_type "QList<Move>"
4899 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4901 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4909 operation 131407 "sendPlayerJoined"
4911 public explicit_return_type "void"
4913 param in name "id" explicit_type "int"
4914 param in name "name" type class_ref 128440 // QString
4915 param in name "type" type class_ref 128440 // QString
4916 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4918 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4926 operation 131535 "sendPlayerLeft"
4928 public explicit_return_type "void"
4930 param in name "id" explicit_type "int"
4931 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4933 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4941 operation 131663 "sendStartGame"
4943 public explicit_return_type "void"
4945 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4947 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4955 operation 131791 "parseData"
4957 protected explicit_return_type "void"
4959 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4961 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4969 operation 131919 "joinRequested"
4971 protected explicit_return_type "void"
4973 param in name "mode" type class_ref 128440 // QString
4974 param in name "name" type class_ref 128440 // QString
4975 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4977 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4986 class 129340 "QTcpSocket"
4988 cpp_decl "${comment}${template}class ${name}${inherit} {
4995 explicit_switch_type ""
4997 operation 130448 "connected"
4999 protected explicit_return_type "void"
5001 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5003 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5011 operation 130576 "error"
5013 protected explicit_return_type "void"
5015 param in name "socketError" explicit_type "QAbstractSocket::SocketError"
5016 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5018 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5026 operation 130320 "readyRead"
5028 protected explicit_return_type "void"
5030 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5032 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5041 class 129212 "QTcpServer"
5043 cpp_decl "${comment}${template}class ${name}${inherit} {
5050 explicit_switch_type ""
5052 operation 130192 "newConnection"
5054 protected explicit_return_type "void"
5056 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5058 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5067 class 129473 "QXmlStreamReader"
5069 cpp_decl "${comment}${template}class ${name}${inherit} {
5076 explicit_switch_type ""
5080 class 129601 "QXmlStreamWriter"
5082 cpp_decl "${comment}${template}class ${name}${inherit} {
5089 explicit_switch_type ""
5093 class 128003 "ThreatSearchAI"
5095 cpp_decl "${comment}${template}class ${name}${inherit} {
5102 explicit_switch_type ""
5104 classrelation 128003 // <realization>
5105 relation 128003 -_-|>
5107 cpp default "${type}"
5108 classrelation_ref 128003 // <realization>
5109 b parent class_ref 129941 // AI
5112 operation 131203 "ThreatSearchAI"
5113 public explicit_return_type ""
5115 param in name "id" explicit_type "int"
5116 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5118 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5126 operation 128091 "~ThreatSerachAI"
5127 public explicit_return_type ""
5129 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5131 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5139 attribute 128003 "_d1"
5140 protected explicit_type "int"
5141 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5148 attribute 128131 "_d2"
5149 protected explicit_type "int"
5150 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5157 attribute 128259 "_threat"
5158 protected type class_ref 128131 // Threat
5159 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5166 attribute 128387 "_mat"
5167 protected type class_ref 129557 // GameMatrix
5168 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5175 operation 131331 "init"
5176 public explicit_return_type "void"
5178 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5180 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5188 operation 130947 "move"
5189 cpp_virtual public return_type class_ref 129173 // Point
5191 param in name "level" explicit_type "int"
5198 operation 131075 "forceMove"
5199 cpp_virtual public explicit_return_type "void"
5201 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5208 operation 131843 "movesUndone"
5209 cpp_virtual public explicit_return_type "void"
5211 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5213 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5221 operation 131587 "createThreat"
5222 protected explicit_return_type "Threat*"
5224 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5226 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5234 operation 131459 "defenseHook"
5235 protected return_type class_ref 129173 // Point
5237 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5239 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5247 operation 131715 "defense"
5248 private return_type class_ref 129173 // Point
5250 param in name "level" explicit_type "int"
5251 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5253 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5261 classrelation 128387 // <composition>
5262 relation 128387 *---
5263 a role_name "" multiplicity "0..1" protected
5264 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5266 classrelation_ref 128387 // <composition>
5267 b role_name "" protected
5268 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5270 classrelation_ref 128515 // <composition>
5274 class 128131 "Threat"
5276 cpp_decl "${comment}${template}class ${name}${inherit} {
5283 explicit_switch_type ""
5285 class 128643 "Direction"
5286 visibility public stereotype "enum"
5287 cpp_decl "${comment}enum ${name} {
5291 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5295 php_decl "${comment}final ${visibility}class ${name} {
5298 idl_decl "${comment}enum ${name} {
5301 explicit_switch_type ""
5303 attribute 130179 "DIR_X"
5304 public type class_ref 128643 // Direction
5305 cpp_decl " ${name}${value},${comment}"
5311 attribute 130307 "DIR_Y"
5312 public type class_ref 128643 // Direction
5313 cpp_decl " ${name}${value},${comment}"
5319 attribute 130563 "DIR_Z"
5320 public type class_ref 128643 // Direction
5321 cpp_decl " ${name}${value},${comment}"
5330 cpp_decl "${comment}${template}class ${name}${inherit} {
5337 explicit_switch_type ""
5339 attribute 129539 "value"
5340 public explicit_type "int"
5341 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5348 attribute 129667 "point"
5349 public type class_ref 129173 // Point
5350 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5357 attribute 129795 "dir"
5358 public type class_ref 128739 // Direction
5359 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5366 attribute 129923 "par"
5367 public explicit_type "Node**"
5368 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5375 attribute 130051 "next"
5376 public explicit_type "Node*"
5377 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5384 classrelation 128643 // <unidirectional association>
5385 relation 128515 --->
5386 a role_name "" protected
5387 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5389 classrelation_ref 128643 // <unidirectional association>
5390 b multiplicity "*" parent class_ref 128643 // Direction
5393 operation 133635 "Node"
5394 public explicit_return_type ""
5396 param in name "val" explicit_type "int"
5397 param in name "p" type class_ref 129173 // Point
5398 param in name "dir" type class_ref 128739 // Direction
5399 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5401 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5409 operation 133507 "~Node"
5410 public explicit_return_type ""
5412 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5414 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5422 classrelation 129461 // <directional composition>
5423 relation 129333 *-->
5424 a role_name "" multiplicity "0..1" protected
5425 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5427 classrelation_ref 129461 // <directional composition>
5428 b parent class_ref 128515 // Node
5432 attribute 128515 "_ai"
5433 protected explicit_type "ThreatSearchAI*"
5434 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5441 attribute 128643 "_mat"
5442 protected explicit_type "GameMatrix*"
5443 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5450 attribute 128771 "_d1"
5451 protected explicit_type "int"
5452 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5459 attribute 128899 "_d2"
5460 protected explicit_type "int"
5461 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5468 attribute 129027 "_x"
5469 private explicit_type "QMap<Point,Node*>"
5470 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5477 attribute 129155 "_y"
5478 private explicit_type "QMap<Point,Node*>"
5479 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5486 attribute 129283 "_z"
5487 private explicit_type "QMap<Point,Node*>"
5488 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5495 attribute 129411 "_priority"
5496 private explicit_type "Node**"
5497 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5504 operation 132355 "Threat"
5505 public explicit_return_type ""
5507 param in name "ai" explicit_type "ThreatSearchAI*"
5508 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5510 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5518 operation 128219 "~Threat"
5519 public explicit_return_type ""
5521 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5523 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5531 operation 132483 "insert"
5532 public explicit_return_type "void"
5534 param in name "point" type class_ref 129173 // Point
5535 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5537 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5545 classrelation 128515 // <composition>
5546 relation_ref 128387 // <composition>
5549 operation 132611 "scanFromMatrix"
5550 public explicit_return_type "void"
5552 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5554 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5562 operation 132739 "insertHook"
5563 protected explicit_return_type "void"
5565 param in name "p" type class_ref 129173 // Point
5566 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5568 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5576 operation 132867 "scanFromMatrixHook"
5577 protected explicit_return_type "void"
5579 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5581 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5589 operation 132995 "removeFromPriority"
5590 private explicit_return_type "void"
5592 param in name "it" explicit_type "Node*"
5593 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5595 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5603 operation 133123 "insertInPriority"
5604 private explicit_return_type "void"
5606 param in name "it" explicit_type "Node*"
5607 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5609 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5617 operation 133251 "evalInsert"
5618 private explicit_return_type "void"
5620 param in name "p" type class_ref 129173 // Point
5621 param in name "index" explicit_type "int"
5622 param in name "dir" type class_ref 128739 // Direction
5623 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5625 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5633 operation 133379 "evalPriority"
5634 private explicit_return_type "int"
5636 param in name "p" type class_ref 129173 // Point
5637 param in name "dir" type class_ref 128739 // Direction
5638 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5640 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5648 classrelation 128899 // <directional composition>
5649 relation 128771 *-->
5650 a role_name "" multiplicity "*" protected
5651 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5653 classrelation_ref 128899 // <directional composition>
5654 b parent class_ref 128515 // Node
5658 class 128387 "CCThreat"
5660 cpp_decl "${comment}${template}class ${name}${inherit} {
5667 explicit_switch_type ""
5669 attribute 130691 "_opponentCC"
5670 private explicit_type "QVector<QList<ConnectedComponent>>"
5671 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5678 operation 133763 "CCThreat"
5679 public explicit_return_type ""
5681 param in name "ai" explicit_type "CCThreatSearchAI*"
5682 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5684 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5692 classrelation 128771 // <generalisation>
5693 relation 128643 ---|>
5695 cpp default "${type}"
5696 classrelation_ref 128771 // <generalisation>
5697 b parent class_ref 128131 // Threat
5700 operation 133891 "insertHook"
5701 protected explicit_return_type "void"
5703 param in name "p" type class_ref 129173 // Point
5704 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5706 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5714 operation 134019 "scanFromMatrixHook"
5715 protected explicit_return_type "void"
5717 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5719 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5727 operation 134147 "find"
5728 private explicit_return_type "int"
5730 param in name "id" explicit_type "int"
5731 param in name "p" type class_ref 129173 // Point
5732 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5734 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5742 operation 134275 "explore"
5743 private explicit_return_type "void"
5745 param in name "p" type class_ref 129173 // Point
5746 param in name "id" explicit_type "int"
5747 param inout name "set" explicit_type "QSet<Point>"
5748 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5750 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5758 operation 134403 "merge"
5759 private explicit_return_type "void"
5761 param in name "p1" type class_ref 129173 // Point
5762 param in name "p2" type class_ref 129173 // Point
5763 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5765 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5773 class 128771 "ConnectedComponent"
5775 cpp_decl "${comment}${template}class ${name}${inherit} {
5782 explicit_switch_type ""
5784 operation 134531 "ConnectedComponent"
5785 public explicit_return_type ""
5787 param in name "items" explicit_type "QSet<Point>"
5788 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5790 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5798 operation 134659 "ConnectedComponent"
5799 public explicit_return_type ""
5801 param in name "p" type class_ref 129173 // Point
5802 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5804 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5812 attribute 130819 "nodes"
5813 public explicit_type "QSet<Point>"
5814 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5821 attribute 130947 "min_x"
5822 public explicit_type "int"
5823 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5830 attribute 131075 "min_y"
5831 public explicit_type "int"
5832 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5839 attribute 131203 "min_z"
5840 public explicit_type "int"
5841 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5848 attribute 131331 "max_x"
5849 public explicit_type "int"
5850 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5857 attribute 131459 "max_y"
5858 public explicit_type "int"
5859 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5866 attribute 131587 "max_z"
5867 public explicit_type "int"
5868 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5876 classrelation 129027 // <directional composition>
5877 relation 128899 *-->
5878 a role_name "" multiplicity "*" protected
5879 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5881 classrelation_ref 129027 // <directional composition>
5882 b parent class_ref 128771 // ConnectedComponent
5886 class 128259 "CCThreatSearchAI"
5888 cpp_decl "${comment}${template}class ${name}${inherit} {
5895 explicit_switch_type ""
5897 classrelation 128259 // <generalisation>
5898 relation 128259 ---|>
5900 cpp default "${type}"
5901 classrelation_ref 128259 // <generalisation>
5902 b parent class_ref 128003 // ThreatSearchAI
5905 operation 132227 "CCThreatSearchAI"
5906 public explicit_return_type ""
5908 param in name "id" explicit_type "int"
5909 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5911 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5919 operation 132099 "createThreat"
5920 protected explicit_return_type "Threat*"
5922 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5924 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5932 operation 131971 "defenseHook"
5933 protected return_type class_ref 129173 // Point
5935 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5937 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5946 class 128467 "StandAloneDialog"
5948 cpp_decl "${comment}${template}class ${name}${inherit} {
5955 explicit_switch_type ""
5957 operation 128688 "StandAloneDialog"
5958 public explicit_return_type ""
5960 param in name "parent" explicit_type "QWidget*"
5961 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5963 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5971 operation 128467 "accept"
5973 cpp_virtual public explicit_return_type "void"
5975 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5977 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5985 operation 128048 "colorSlot"
5987 private explicit_return_type "void"
5989 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5991 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5999 operation 128339 "playersChanged"
6001 private explicit_return_type "void"
6003 param in name "number" explicit_type "int"
6004 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6006 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6015 class 128081 "OnlineDialog"
6017 cpp_decl "${comment}${template}class ${name}${inherit} {
6024 explicit_switch_type ""
6026 operation 128560 "OnlineDialog"
6027 public explicit_return_type ""
6029 param in name "parent" explicit_type "QWidget*"
6030 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
6032 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6040 operation 128432 "join"
6042 public explicit_return_type "void"
6044 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6046 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6054 operation 128465 "addPlayer"
6056 public explicit_return_type "void"
6058 param in name "id" explicit_type "int"
6059 param in name "name" type class_ref 128440 // QString
6060 param in name "type" type class_ref 128440 // QString
6061 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6063 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6071 operation 128113 "removePlayer"
6073 public explicit_return_type "void"
6075 param in name "id" explicit_type "int"
6076 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6078 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6086 operation 128593 "receiveSettings"
6088 public explicit_return_type "void"
6090 param in name "d1" explicit_type "int"
6091 param in name "d2" explicit_type "int"
6092 param in name "timer" explicit_type "int"
6093 param in name "playing" explicit_type "bool"
6094 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6096 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6104 operation 128304 "colorSlot"
6106 private explicit_return_type "void"
6108 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6110 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6118 operation 128209 "connectToServer"
6120 private explicit_return_type "void"
6122 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6124 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6133 class 128723 "ServerSettingsDialog"
6135 cpp_decl "${comment}${template}class ${name}${inherit} {
6142 explicit_switch_type ""
6144 operation 128851 "ServerSettingsDialog"
6145 public explicit_return_type ""
6147 param in name "parent" explicit_type "QWidget*"
6148 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
6150 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6158 operation 128723 "accept"
6160 cpp_virtual public explicit_return_type "void"
6162 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6164 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6172 operation 128176 "colorSlot"
6174 private explicit_return_type "void"
6176 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6178 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6186 operation 128595 "playersChanged"
6188 private explicit_return_type "void"
6190 param in name "number" explicit_type "int"
6191 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6193 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6202 class 128440 "QString"
6204 cpp_decl "${comment}${template}class ${name}${inherit} {
6211 explicit_switch_type ""
6215 class 129199 "QStringList"
6217 cpp_decl "${comment}${template}class ${name}${inherit} {
6224 explicit_switch_type ""
6228 class 128182 "QList"
6231 formal name "T" type "typename" explicit_default_value ""
6233 cpp_decl "${comment}${template}class ${name}${inherit} {
6240 explicit_switch_type ""
6244 class 128122 "QLinkedList"
6247 formal name "T" type "typename" explicit_default_value ""
6249 cpp_decl "${comment}${template}class ${name}${inherit} {
6256 explicit_switch_type ""
6263 formal name "K" type "typename" explicit_default_value ""
6265 formal name "T" type "typename" explicit_default_value ""
6267 cpp_decl "${comment}${template}class ${name}${inherit} {
6274 explicit_switch_type ""
6278 class 129327 "QVector"
6281 formal name "T" type "typename" explicit_default_value ""
6283 cpp_decl "${comment}${template}class ${name}${inherit} {
6290 explicit_switch_type ""
6294 sequencediagram 128054 "InitSequence"
6295 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
6299 sequencediagram 128148 "GameLoop::run"
6300 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6301 overlapping_bars size A3
6304 sequencediagram 128213 "HumanPlayer::doMove"
6305 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6306 overlapping_bars size A3
6309 sequencediagram 129168 "RemotePlayer::doMove"
6310 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6311 overlapping_bars size A3
6314 sequencediagram 128024 "AIPlayer::doMove"
6315 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6316 overlapping_bars size A3
6319 activity 128011 "GameMatrix::add"
6320 activitydiagram 128011 "add"
6321 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
6322 show_infonote default drawing_language default
6326 parameter 128011 "move" explicit_type ""
6329 flow 128011 "<flow>"
6330 on pin_ref 128011 // m
6334 activitynode 128011 initial ""
6335 flow 128139 "<flow>"
6336 on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
6340 activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
6342 pin 128011 "m" explicit_type ""
6347 flow 128267 "<flow>"
6348 on expansionnode_ref 128011 // dir
6352 expansionregion 128011 ""
6354 expansionnode 128011 "dir"
6356 unordered is_control
6357 flow 128395 "<flow>"
6358 on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
6362 activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
6364 flow 129419 "<flow>"
6365 on activitynode_ref 128395 // merge
6369 activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
6371 pin 128139 "d" explicit_type ""
6374 flow 130955 "<flow>"
6375 on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
6380 activityaction 128395 "i = i + 1"
6382 flow 129675 "<flow>"
6383 on activitynode_ref 128395 // merge
6387 activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
6389 flow 129163 "<flow>"
6390 on activitynode_ref 128267 // decision
6394 activitynode 128267 decision ""
6395 flow 129291 "<flow>"
6396 on activityaction_ref 128395 // activity action i = i + 1
6397 uml_guard "elementAt(k) == m.playerId()"
6400 flow 130571 "<flow>"
6401 on activityaction_ref 128779 // activity action i = 0, start = start + 1
6405 flow 130699 "<flow>"
6406 on activitynode_ref 128779 // flow_final
6407 uml_guard "elementAt(k) == -2"
6411 activitynode 128395 merge ""
6412 flow 129248 "<flow>"
6413 on activitynode_ref 129248 // decision
6417 activitynode 128523 decision ""
6418 flow 129803 "<flow>"
6419 on activityaction_ref 128523 // activity action costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i
6423 flow 129632 "<flow>"
6424 on activitynode_ref 128779 // flow_final
6425 uml_guard "start > m.point().d()"
6429 expansionnode 128139 ""
6431 unordered is_control
6432 flow 131595 "<flow>"
6433 on activitynode_ref 129035 // decision
6437 activitynode 129248 decision ""
6438 flow 129376 "<flow>"
6439 on activitynode_ref 128523 // decision
6443 flow 129760 "<flow>"
6444 on activitynode_ref 129291 // merge
6450 parameter 128139 "win" explicit_type ""
6451 unordered is_control
6455 activityaction 128651 "win = true"
6457 flow 130187 "<flow>"
6458 on activitynode_ref 128651 // merge
6462 activitynode 128651 merge ""
6463 flow 130315 "<flow>"
6464 on parameter_ref 128139 // win
6468 activityaction 128779 "i = 0, start = start + 1"
6470 flow 130827 "<flow>"
6471 on activitynode_ref 128395 // merge
6475 activitynode 128779 flow_final ""
6478 activityaction 128907 "win = false"
6480 flow 131211 "<flow>"
6481 on activitynode_ref 128651 // merge
6485 activitynode 128907 merge ""
6486 flow 131339 "<flow>"
6487 on activityaction_ref 128907 // activity action win = false
6491 activityaction 129035 "set = {}, extractCC(point, id, set)"
6493 flow 131979 "<flow>"
6494 on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
6498 activitynode 129035 decision ""
6499 flow 131723 "<flow>"
6500 on activitynode_ref 128907 // merge
6504 flow 131851 "<flow>"
6505 on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
6506 uml_guard "_d2 == 3"
6510 activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
6512 pin 128267 "estremi" explicit_type ""
6513 multiplicity "3" unordered
6515 flow 132107 "<flow>"
6516 on activitynode_ref 129163 // decision
6521 activitynode 129163 decision ""
6522 flow 132491 "<flow>"
6523 on activitynode_ref 129291 // merge
6524 uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
6527 flow 132619 "<flow>"
6528 on activitynode_ref 128907 // merge
6533 activitynode 129291 merge ""
6534 flow 132235 "<flow>"
6535 on activityaction_ref 128651 // activity action win = true
6541 package_ref 128002 // GUI
6543 package_ref 128130 // Network
6545 package_ref 128258 // Core
6547 package_ref 128386 // AI