4 modified_by 117 "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 128175 "loadGame"
245 public explicit_return_type "bool"
247 param in name "fileName" type class_ref 128440 // QString
248 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
250 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
258 operation 128047 "saveGame"
259 public explicit_return_type "bool"
261 param in name "fileName" type class_ref 128440 // QString
262 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
264 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
272 classrelation 128917 // <directional composition>
274 a role_name "" multiplicity "0..1" protected
275 classrelation_ref 128917 // <directional composition>
276 b parent class_ref 128789 // ChatWidget
279 classrelation 129045 // <directional composition>
281 a role_name "" multiplicity "0..1" protected
282 classrelation_ref 129045 // <directional composition>
283 b parent class_ref 128661 // RenderWidget
286 classrelation 128440 // <directional composition>
288 a role_name "" multiplicity "0..1" protected
289 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
291 classrelation_ref 128440 // <directional composition>
292 b parent class_ref 130069 // Network
295 classrelation 128568 // <directional composition>
297 a role_name "" protected
298 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
300 classrelation_ref 128568 // <directional composition>
301 b parent class_ref 129941 // AI
304 classrelation 128264 // <directional composition>
306 a role_name "" protected
307 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
309 classrelation_ref 128264 // <directional composition>
310 b parent class_ref 130453 // SettingsManager
313 classrelation 128262 // <directional composition>
315 a role_name "" protected
316 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
318 classrelation_ref 128262 // <directional composition>
319 b parent class_ref 130325 // GameLoop
322 operation 128392 "turn"
324 public explicit_return_type "void"
326 param in name "playerId" explicit_type "int"
327 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
329 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
337 operation 128361 "drawMove"
339 public explicit_return_type "void"
341 param in name "move" type class_ref 129301 // Move
342 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
344 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
350 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
353 operation 128060 "undoMoves"
355 public explicit_return_type "void"
357 param in name "index" explicit_type "QModelIndex"
358 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
360 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
366 comment "disattiva la possibilità da parte dell'utente di eseguire mosse
367 resetta su render e game matrix le caselle indicate nella lista index+1..n
368 invoca setLastRound(index-2...index) su game matrix
369 setta su GameLoop il turno con setTurn(index+1.id())
370 toglie gli elementi index+1..n dalla history
371 invoca notifyMove(Point_null)
375 operation 128700 "showPastGameStatus"
377 public explicit_return_type "void"
379 param in name "index" explicit_type "QModelIndex"
380 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
382 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
388 comment "vedi pesablock, è il gestore dell'evento history::clicked"
391 classrelation 130744 // <directional composition>
393 a role_name "" protected
394 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
396 classrelation_ref 130744 // <directional composition>
397 b parent class_ref 129848 // HistoryModel
400 classrelation 129533 // <directional composition>
402 a role_name "" multiplicity "0..1" protected
403 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
405 classrelation_ref 129533 // <directional composition>
406 b parent class_ref 129720 // Suggester
409 classrelation 128316 // <directional composition>
411 a role_name "" multiplicity "0..1" protected
412 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
414 classrelation_ref 128316 // <directional composition>
415 b parent class_ref 128381 // TimerWidget
418 classrelation 128572 // <directional composition>
420 a role_name "" protected
421 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
423 classrelation_ref 128572 // <directional composition>
424 b parent class_ref 129021 // PlayersWidget
427 classrelation 128700 // <directional composition>
429 a role_name "" protected
430 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
432 classrelation_ref 128700 // <directional composition>
433 b parent class_ref 128893 // QTableView
436 classrelation 128054 // <unidirectional association>
438 a role_name "" multiplicity "0..3" private
439 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
441 classrelation_ref 128054 // <unidirectional association>
442 b parent class_ref 129976 // PlayerInfo
445 operation 129206 "newStandAloneGame"
447 public explicit_return_type "void"
449 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
451 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
459 operation 128081 "connectToServer"
461 public explicit_return_type "void"
463 param in name "ip" type class_ref 128440 // QString
464 param in name "port" type class_ref 128440 // QString
465 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
467 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
475 operation 128721 "newOnlineGame"
477 public explicit_return_type "void"
479 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
481 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
489 operation 128849 "newServerGame"
491 public explicit_return_type "void"
493 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
495 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
503 operation 128020 "playerWin"
505 public explicit_return_type "void"
507 param in name "playerId" explicit_type "int"
508 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
510 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
518 operation 128276 "playersDraw"
520 public explicit_return_type "void"
522 param in name "playersIds" explicit_type "QList<int>"
523 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
525 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
533 operation 130360 "forceMove"
535 protected explicit_return_type "void"
537 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
539 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
545 comment "connesso allo slot GameLoop::forceMove()"
548 classrelation 128113 // <unidirectional association>
550 a role_name "" protected
551 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
553 classrelation_ref 128113 // <unidirectional association>
554 b parent class_ref 128467 // StandAloneDialog
557 classrelation 128241 // <unidirectional association>
559 a role_name "" protected
560 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
562 classrelation_ref 128241 // <unidirectional association>
563 b parent class_ref 128081 // OnlineDialog
566 classrelation 128369 // <unidirectional association>
568 a role_name "" protected
569 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
571 classrelation_ref 128369 // <unidirectional association>
572 b parent class_ref 128723 // ServSetDialog
576 class 128661 "RenderWidget"
578 cpp_decl "${comment}${template}class ${name}${inherit} {
585 explicit_switch_type ""
587 associated_diagram classdiagram_ref 128021 // Global
588 classrelation 128277 // <generalisation>
589 relation 128277 ---|>
591 classrelation_ref 128277 // <generalisation>
592 b parent class_ref 128533 // QWidget
595 attribute 128060 "DefaultCubeColor"
596 class_attribute const_attribute public type class_ref 128253 // QColor
597 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
604 attribute 128107 "_renderArea"
605 private type class_ref 128099 // CubeRenderArea
606 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
613 operation 128105 "RenderWidget"
614 public explicit_return_type ""
616 param in name "dim" explicit_type "int"
617 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
619 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
627 operation 129385 "acceptMove"
628 public explicit_return_type "void"
630 param in name "value" explicit_type "bool"
631 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
633 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
641 operation 128824 "drawMove"
642 public explicit_return_type "bool"
644 param in name "point" type class_ref 129173 // Point
645 param in name "color" type class_ref 128253 // QColor
646 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
648 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
654 comment "true se la mossa è valida altrimenti false
655 chiama il metodo statico di GameMatrix per sapere se la mossa è valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
658 operation 128828 "uncheckedDraw"
659 public explicit_return_type "void"
661 param in name "pointList" explicit_type "QList<Point>"
662 param in name "colorList" explicit_type "QList<QColor>"
664 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
666 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
672 comment "se colorList==0 allora usa defaultCubeColor"
675 operation 128099 "setAntiAliasing"
676 public explicit_return_type "void"
678 param in name "value" explicit_type "int"
679 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
681 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
687 comment "controlla l'accumulation buffer e setta l'antialiasing"
690 operation 131000 "highlightPoint"
692 public explicit_return_type "void"
694 param in name "point" type class_ref 129173 // Point
695 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
697 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
703 comment "chiama la selectCube di CubeRenderArea"
706 classrelation 128099 // <directional composition>
708 a role_name "" multiplicity "0..1" protected
709 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
711 classrelation_ref 128099 // <directional composition>
712 b parent class_ref 128099 // CubeRenderArea
716 class 128789 "ChatWidget"
722 explicit_switch_type ""
724 operation 128235 "displayText"
726 public explicit_return_type "void"
728 param in name "text" type class_ref 128440 // QString
729 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
731 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
739 operation 128211 "return"
741 public explicit_return_type "void"
743 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
745 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
753 operation 128107 "textEntered"
755 protected explicit_return_type "void"
757 param in name "text" type class_ref 128440 // QString
758 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
760 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
768 classrelation 128122 // <generalisation>
769 relation 128122 ---|>
771 cpp default "${type}"
772 classrelation_ref 128122 // <generalisation>
773 b parent class_ref 128533 // QWidget
777 class 129045 "Player"
778 abstract visibility package
783 explicit_switch_type ""
785 operation 128617 "Player"
786 public explicit_return_type ""
788 param in name "id" explicit_type "int"
789 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
791 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
799 attribute 128168 "_id"
800 const_attribute private explicit_type "int"
801 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
808 operation 128040 "id"
809 const public explicit_return_type "int"
811 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
813 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
821 operation 128184 "move"
822 public return_type class_ref 129301 // Move
824 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
831 operation 129155 "doMove"
832 abstract cpp_virtual protected return_type class_ref 129173 // Point
834 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
848 explicit_switch_type ""
850 attribute 128184 "_x"
851 private explicit_type "int"
852 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
859 attribute 128312 "_y"
860 private explicit_type "int"
861 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
868 attribute 128440 "_z"
869 private explicit_type "int"
870 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
877 operation 128875 "Point"
878 public explicit_return_type ""
880 param in name "x" explicit_type "int"
881 param in name "y" explicit_type "int"
882 param in name "z" explicit_type "int"
883 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
885 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
893 operation 128378 "isValid"
894 const public explicit_return_type "bool"
896 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
898 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
904 comment "return true sse il Point this è minore della dimensione di GameMatrix."
907 operation 129282 "isNull"
908 public explicit_return_type "bool"
910 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
912 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
918 comment "return true iff this == (-1, -1, -1)
929 explicit_switch_type ""
931 classrelation 129173 // <directional composition>
933 a role_name "" protected
934 classrelation_ref 129173 // <directional composition>
935 b parent class_ref 129173 // Point
938 attribute 128405 "_playerId"
939 private explicit_type "int"
946 attribute 128533 "_coord"
947 private type class_ref 129173 // Point
954 operation 129641 "Move"
955 public explicit_return_type ""
957 param in name "id" explicit_type "int"
958 param in name "p" type class_ref 129173 // Point
959 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
961 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
969 operation 128250 "isValid"
970 const public explicit_return_type "bool"
972 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
974 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
980 comment "return GameMatrix::check(this._coord);"
984 class 129557 "GameMatrix"
990 explicit_switch_type ""
992 comment "istanziata da MainWindow e passata poi a GameLoop"
993 attribute 128042 "EmptyPoint"
994 class_attribute const_attribute public explicit_type "int"
996 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1003 attribute 128084 "_instance"
1004 class_attribute private explicit_type "GameMatrix*"
1005 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1012 attribute 128873 "_lastRound"
1013 private explicit_type "QList<Point>"
1014 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1019 comment "/buffer delle ultime mosse da rivedere"
1022 attribute 129129 "_d1"
1023 private explicit_type "int"
1024 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1031 attribute 129257 "_d2"
1032 private explicit_type "int"
1033 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1040 attribute 128148 "_freeCounter"
1041 private explicit_type "int"
1042 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1049 operation 130104 "GameMatrix"
1050 private explicit_return_type ""
1052 param in name "d1" explicit_type "int"
1053 param in name "d2" explicit_type "int"
1054 param in name "numPlayers" explicit_type "int"
1055 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1057 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1065 operation 129166 "create"
1066 class_operation public explicit_return_type "GameMatrix*"
1068 param in name "d1" explicit_type "int"
1069 param in name "d2" explicit_type "int"
1070 param in name "numPlayers" explicit_type "int"
1071 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1073 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1081 operation 129294 "destroy"
1082 class_operation public explicit_return_type "void"
1084 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1086 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1094 operation 129620 "instance"
1095 class_operation public explicit_return_type "GameMatrix*"
1097 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1099 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1107 operation 129513 "add"
1108 public explicit_return_type "bool"
1110 param in name "move" type class_ref 129301 // Move
1111 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1113 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1119 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1122 operation 128554 "clear"
1123 public explicit_return_type "void"
1125 param in name "point" type class_ref 129173 // Point
1126 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1128 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1136 operation 129748 "check"
1137 class_operation public explicit_return_type "bool"
1139 param in name "point" type class_ref 129173 // Point
1140 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1142 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1150 operation 130952 "elementAt"
1151 public explicit_return_type "int"
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 131080 "elementAt"
1165 public explicit_return_type "int"
1167 param in name "x" explicit_type "int"
1168 param in name "y" explicit_type "int"
1169 param in name "z" explicit_type "int"
1170 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1172 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1180 operation 128404 "isFull"
1181 const public explicit_return_type "bool"
1183 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1185 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1193 operation 130232 "numberOfPlayers"
1194 public explicit_return_type "int"
1196 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1198 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1204 comment "lastRound.size()"
1207 operation 128188 "setLastRound"
1208 public explicit_return_type "void"
1210 param in name "round" explicit_type "QList<Point>"
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 attribute 128083 "_matrix"
1222 private explicit_type "int*"
1223 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1230 operation 128011 "extractCC"
1231 private explicit_return_type "void"
1233 param in name "p" type class_ref 129173 // Point
1234 param in name "id" explicit_type "int"
1235 param inout name "set" explicit_type "QSet<Point>"
1236 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1238 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1247 class 129813 "QWaitCondition"
1253 explicit_switch_type ""
1255 operation 130025 "wait"
1256 public explicit_return_type "bool"
1258 param in name "lock" type class_ref 130837 // QMutex
1259 param in name "timeout" explicit_type "unsigned long"
1260 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1262 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1270 operation 130153 "wakeOne"
1271 public explicit_return_type "void"
1273 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1275 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1285 abstract visibility package
1290 explicit_switch_type ""
1292 attribute 128296 "_playerId"
1293 const_attribute private explicit_type "int"
1294 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1301 operation 128084 "AI"
1302 public explicit_return_type ""
1304 param in name "id" explicit_type "int"
1311 operation 128078 "~AI"
1312 cpp_virtual public explicit_return_type ""
1314 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1316 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1324 operation 128212 "move"
1325 abstract cpp_virtual public return_type class_ref 129173 // Point
1327 param in name "level" explicit_type "int"
1334 operation 129976 "forceMove"
1335 abstract cpp_virtual public explicit_return_type "void"
1337 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1344 operation 130819 "movesUndone"
1345 abstract cpp_virtual public explicit_return_type "void"
1347 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1354 operation 130691 "playerId"
1355 public explicit_return_type "int"
1357 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1359 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1368 class 130069 "Network"
1369 abstract visibility package
1374 explicit_switch_type ""
1376 operation 129980 "Network"
1377 public explicit_return_type ""
1379 param in name "gui" explicit_type "QWidget*"
1380 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1382 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1390 operation 129395 "~Network"
1391 cpp_virtual public explicit_return_type ""
1393 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1395 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1403 operation 128122 "requestMove"
1404 abstract cpp_virtual public return_type class_ref 129173 // Point
1406 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1413 attribute 129340 "_gui"
1414 private explicit_type "QWidget*"
1415 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1422 operation 129168 "setupChat"
1423 abstract cpp_virtual public explicit_return_type "void"
1425 param in name "widget" explicit_type "ChatWidget*"
1426 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1434 class 130197 "QThread"
1435 abstract visibility package
1440 explicit_switch_type ""
1442 operation 128319 "start"
1443 public explicit_return_type "void"
1445 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1447 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1455 operation 128393 "run"
1456 abstract cpp_virtual protected explicit_return_type "void"
1458 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1466 class 130325 "GameLoop"
1472 explicit_switch_type ""
1474 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."
1475 classrelation 130069 // <realization>
1476 relation 130069 -_-|>
1478 classrelation_ref 130069 // <realization>
1479 b parent class_ref 130197 // QThread
1482 attribute 129592 "_currentPlayer"
1483 private explicit_type "Player*"
1484 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1489 comment "mantenuto consistente per poter effettuare la forceMove()"
1492 attribute 128264 "_players"
1493 private explicit_type "QList<Player*>"
1494 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1501 attribute 128101 "_resetLoop"
1502 private explicit_type "bool"
1503 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1510 attribute 128020 "_winStatus"
1511 private explicit_type "QList<bool>"
1512 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1517 comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1520 operation 128054 "GameLoop"
1521 public explicit_return_type ""
1523 param in name "players" explicit_type "QList<Player>"
1524 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1526 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1534 operation 128316 "setTurn"
1535 public explicit_return_type "void"
1537 param in name "id" explicit_type "int"
1538 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1540 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1548 operation 129781 "onLoadSetTurn"
1549 public explicit_return_type "void"
1551 param in name "plyUndone" explicit_type "int"
1552 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1554 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1562 operation 130488 "forceMove"
1564 public explicit_return_type "void"
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 128520 "run"
1577 protected explicit_return_type "void"
1579 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1581 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1589 operation 128233 "moved"
1591 protected explicit_return_type "void"
1593 param in name "move" type class_ref 129301 // Move
1594 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1596 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1604 operation 128264 "turn"
1606 protected explicit_return_type "void"
1608 param in name "playerId" explicit_type "int"
1609 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1616 operation 128148 "win"
1618 protected explicit_return_type "void"
1620 param in name "playerId" explicit_type "int"
1621 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1623 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1631 operation 128532 "draw"
1633 protected explicit_return_type "void"
1635 param in name "playersIds" explicit_type "QList<int>"
1636 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1638 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1646 classrelation 128042 // <directional composition>
1647 relation 128042 *-->
1648 a role_name "" multiplicity "2..3" protected
1649 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1651 classrelation_ref 128042 // <directional composition>
1652 b parent class_ref 129045 // Player
1655 classrelation 129980 // <unidirectional association>
1656 relation 129980 --->
1657 a role_name "" protected
1658 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1660 classrelation_ref 129980 // <unidirectional association>
1661 b parent class_ref 129557 // GameMatrix
1665 class 130709 "SyncSharedCondition"
1671 explicit_switch_type ""
1673 attribute 128063 "_instance"
1674 class_attribute private explicit_type "SyncSharedCondition*"
1675 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1682 attribute 128105 "_point"
1683 private type class_ref 129173 // Point
1684 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1691 attribute 129557 "_waitCond"
1692 private type class_ref 129813 // QWaitCondition
1699 operation 128191 "SyncSharedCondition"
1700 private explicit_return_type ""
1702 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1704 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1712 operation 128063 "instance"
1713 class_operation public explicit_return_type "SyncSharedCondition*"
1715 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1717 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1725 operation 129129 "waitForMove"
1726 public return_type class_ref 129173 // Point
1728 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1730 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1738 operation 129257 "notifyMove"
1739 public explicit_return_type "void"
1741 param in name "p" type class_ref 129173 // Point
1742 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1744 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1752 classrelation 128105 // <generalisation>
1753 relation 128105 ---|>
1755 cpp default "${type}"
1756 classrelation_ref 128105 // <generalisation>
1757 b parent class_ref 130837 // QMutex
1760 classrelation 128168 // <directional composition>
1761 relation 128168 *-->
1762 a role_name "" protected
1763 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1765 classrelation_ref 128168 // <directional composition>
1766 b parent class_ref 129813 // QWaitCondition
1770 class 130837 "QMutex"
1776 explicit_switch_type ""
1778 operation 129769 "lock"
1779 public explicit_return_type "void"
1781 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1783 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1791 operation 129897 "unlock"
1792 public explicit_return_type "void"
1794 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1796 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1805 class 128056 "HumanPlayer"
1807 cpp_decl "${comment}${template}class ${name}${inherit} {
1814 explicit_switch_type ""
1816 operation 128745 "HumanPlayer"
1817 public explicit_return_type ""
1819 param in name "id" explicit_type "int"
1820 param in name "render" explicit_type "RenderWidget*"
1821 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1823 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1831 operation 129283 "doMove"
1832 cpp_virtual protected return_type class_ref 129173 // Point
1834 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1836 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1844 attribute 128233 "_render"
1845 private explicit_type "RenderWidget*"
1846 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1853 classrelation 128361 // <realization>
1854 relation 128361 -_-|>
1856 cpp default "${type}"
1857 classrelation_ref 128361 // <realization>
1858 b parent class_ref 129045 // Player
1862 class 128184 "RemotePlayer"
1864 cpp_decl "${comment}${template}class ${name}${inherit} {
1871 explicit_switch_type ""
1873 operation 128873 "RemotePlayer"
1874 public explicit_return_type ""
1876 param in name "id" explicit_type "int"
1877 param in name "net" explicit_type "Network*"
1878 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1880 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1888 operation 129411 "doMove"
1889 cpp_virtual protected return_type class_ref 129173 // Point
1891 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1893 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1901 attribute 128361 "_net"
1902 private explicit_type "Network*"
1903 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1910 classrelation 128489 // <realization>
1911 relation 128489 -_-|>
1913 cpp default "${type}"
1914 classrelation_ref 128489 // <realization>
1915 b parent class_ref 129045 // Player
1919 class 128312 "AIPlayer"
1921 cpp_decl "${comment}${template}class ${name}${inherit} {
1928 explicit_switch_type ""
1930 classrelation 128617 // <realization>
1931 relation 128617 -_-|>
1933 cpp default "${type}"
1934 classrelation_ref 128617 // <realization>
1935 b parent class_ref 129045 // Player
1938 classrelation 128216 // <directional composition>
1939 relation 128216 *-->
1940 a role_name "" protected
1941 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1943 classrelation_ref 128216 // <directional composition>
1944 b parent class_ref 129941 // AI
1947 attribute 128386 "_DefaultSkill"
1948 class_attribute const_attribute private explicit_type "int"
1949 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1956 attribute 128258 "_skill"
1957 private explicit_type "int"
1958 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1965 attribute 128216 "_ai"
1966 private type class_ref 129941 // AI
1967 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1974 operation 129001 "AIPlayer"
1975 public explicit_return_type ""
1977 param in name "id" explicit_type "int"
1978 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1980 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1986 comment "inizializza skill con la costante di classe DefaultSkill"
1989 operation 129539 "doMove"
1990 cpp_virtual protected return_type class_ref 129173 // Point
1992 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1994 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2002 operation 129410 "forceMove"
2003 public explicit_return_type "void"
2005 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2007 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2015 operation 128002 "skill"
2016 const public explicit_return_type "int"
2018 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2020 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2028 operation 128130 "setSkill"
2029 public explicit_return_type "void"
2031 param in name "skill" explicit_type "int"
2032 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2034 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2042 operation 130704 "undoMove"
2044 public explicit_return_type "void"
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}{
2057 class 129720 "Suggester"
2059 cpp_decl "${comment}${template}class ${name}${inherit} {
2066 explicit_switch_type ""
2068 classrelation 130616 // <realization>
2069 relation 130616 -_-|>
2071 cpp default "${type}"
2072 classrelation_ref 130616 // <realization>
2073 b parent class_ref 130197 // QThread
2076 attribute 128130 "_SuggestedMoveLevel"
2077 class_attribute const_attribute private explicit_type "int"
2078 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2085 attribute 128088 "_ai"
2086 private type class_ref 129941 // AI
2087 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2094 operation 130744 "Suggester"
2095 public explicit_return_type ""
2097 param in name "id" explicit_type "int"
2098 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2100 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2108 operation 128010 "~Suggester"
2109 public explicit_return_type ""
2111 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2113 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2121 operation 128056 "suggestMove"
2122 public return_type class_ref 129173 // Point
2124 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2126 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2134 operation 130616 "run"
2135 protected explicit_return_type "void"
2137 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2139 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2147 operation 130872 "suggestedMoveReady"
2149 protected explicit_return_type "void"
2151 param in name "point" 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 classrelation 128088 // <directional composition>
2163 relation 128088 *-->
2164 a role_name "" protected
2165 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2167 classrelation_ref 128088 // <directional composition>
2168 b parent class_ref 129941 // AI
2172 class 129848 "HistoryModel"
2174 cpp_decl "${comment}${template}class ${name}${inherit} {
2181 explicit_switch_type ""
2183 classrelation 128637 // <realization>
2184 relation 128637 -_-|>
2186 cpp default "${type}"
2187 classrelation_ref 128637 // <realization>
2188 b parent class_ref 128509 // QAbstractTableModel
2191 attribute 129269 "_actual"
2192 private explicit_type "QModelIndex"
2193 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2200 attribute 130104 "_history"
2201 private explicit_type "QList<Move>"
2202 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2209 operation 129269 "HistoryModel"
2210 public explicit_return_type ""
2212 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2214 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2222 operation 128765 "columnCount"
2223 const cpp_virtual public explicit_return_type "int"
2225 param in name "parent" explicit_type "QModelIndex"
2226 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2233 operation 128637 "rowCount"
2234 const cpp_virtual public explicit_return_type "int"
2236 param in name "parent" explicit_type "QModelIndex"
2237 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2244 operation 128509 "data"
2245 const cpp_virtual public explicit_return_type "QVariant"
2247 param in name "index" explicit_type "QModelIndex"
2248 param in name "role" explicit_type "int"
2249 defaultvalue "Qt::DisplayRole"
2250 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2257 operation 129021 "headerData"
2258 const cpp_virtual public explicit_return_type "QVariant"
2260 param in name "section" explicit_type "int"
2261 param in name "orientation" explicit_type "Qt::Orientation"
2262 param in name "role" explicit_type "int"
2263 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2265 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2273 operation 128893 "flags"
2274 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2276 param in name "index" explicit_type "QModelIndex"
2277 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2279 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2287 operation 129259 "insertRows"
2288 cpp_virtual public explicit_return_type "bool"
2290 param in name "row" explicit_type "int"
2291 param in name "count" explicit_type "int"
2292 param in name "parent" explicit_type "QModelIndex"
2293 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2295 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2303 operation 129387 "removeRows"
2304 cpp_virtual public explicit_return_type "bool"
2306 param in name "row" explicit_type "int"
2307 param in name "count" explicit_type "int"
2308 param in name "parent" explicit_type "QModelIndex"
2309 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2311 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2319 operation 131128 "append"
2320 public explicit_return_type "void"
2322 param in name "move" type class_ref 129301 // Move
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 129442 "moveList"
2334 const public explicit_return_type "QList<Move>"
2336 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2338 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2346 operation 129653 "remove"
2347 public explicit_return_type "void"
2349 param in name "num" explicit_type "int"
2350 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2352 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2361 class 129976 "PlayerInfo"
2363 cpp_decl "${comment}${template}class ${name}${inherit} {
2370 explicit_switch_type ""
2372 attribute 130360 "_name"
2373 private type class_ref 128440 // QString
2374 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2381 attribute 130488 "_color"
2382 private type class_ref 128253 // QColor
2383 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2390 attribute 130616 "_type"
2391 private type class_ref 128440 // QString
2392 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2399 operation 128730 "PlayerInfo"
2400 public explicit_return_type ""
2402 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2404 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2410 comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2413 operation 129131 "PlayerInfo"
2414 public explicit_return_type ""
2416 param in name "name" type class_ref 128440 // QString
2417 param in name "color" type class_ref 128253 // QColor
2418 param in name "type" type class_ref 128440 // QString
2419 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2421 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2429 operation 128346 "name"
2430 const public return_type class_ref 128440 // QString
2432 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2434 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2442 operation 128474 "color"
2443 const public return_type class_ref 128253 // QColor
2445 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2447 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2455 operation 128602 "type"
2456 const public return_type class_ref 128440 // QString
2458 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2460 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2469 class 128125 "QTimer"
2471 cpp_decl "${comment}${template}class ${name}${inherit} {
2478 explicit_switch_type ""
2480 operation 128253 "start"
2482 public explicit_return_type "void"
2484 param in name "msec" explicit_type "int"
2485 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2487 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2495 operation 128381 "stop"
2497 public explicit_return_type "void"
2499 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2501 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2509 operation 128125 "timeout"
2511 protected explicit_return_type "void"
2513 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2515 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2524 class 128253 "QColor"
2526 cpp_decl "${comment}${template}class ${name}${inherit} {
2533 explicit_switch_type ""
2537 class 128381 "TimerWidget"
2539 cpp_decl "${comment}${template}class ${name}${inherit} {
2546 explicit_switch_type ""
2548 attribute 128125 "_timer"
2549 private type class_ref 128125 // QTimer
2550 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2557 classrelation 128381 // <directional composition>
2558 relation 128381 *-->
2559 a role_name "" protected
2560 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2562 classrelation_ref 128381 // <directional composition>
2563 b parent class_ref 128125 // QTimer
2566 classrelation 128509 // <generalisation>
2567 relation 128509 ---|>
2569 cpp default "${type}"
2570 classrelation_ref 128509 // <generalisation>
2571 b parent class_ref 128533 // QWidget
2575 class 128509 "QAbstractTableModel"
2576 abstract visibility package
2577 cpp_decl "${comment}${template}class ${name}${inherit} {
2584 explicit_switch_type ""
2588 class 128893 "QTableView"
2590 cpp_decl "${comment}${template}class ${name}${inherit} {
2597 explicit_switch_type ""
2599 classrelation 128444 // <generalisation>
2600 relation 128444 ---|>
2602 cpp default "${type}"
2603 classrelation_ref 128444 // <generalisation>
2604 b parent class_ref 128533 // QWidget
2607 classrelation 128191 // <dependency>
2608 relation 128191 -_->
2610 cpp default "#include in source"
2611 classrelation_ref 128191 // <dependency>
2612 b parent class_ref 129848 // HistoryModel
2615 operation 129397 "clicked"
2617 protected explicit_return_type "void"
2619 param in name "index" explicit_type "QModelIndex"
2620 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2622 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2630 operation 129525 "doubleClicked"
2632 protected explicit_return_type "void"
2634 param in name "index" explicit_type "QModelIndex"
2635 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2637 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2646 class 129021 "PlayersWidget"
2648 cpp_decl "${comment}${template}class ${name}${inherit} {
2655 explicit_switch_type ""
2657 comment "rappresenta turno, colore, tipo, nome dei players"
2658 operation 129149 "PlayersWidget"
2659 public explicit_return_type ""
2661 param in name "info" explicit_type "QList<PlayerInfo>"
2662 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2664 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2670 comment "crea un QLabel per ogni player con \"freccia turno\", colore, tipo, nome."
2673 classrelation 128828 // <generalisation>
2674 relation 128828 ---|>
2676 cpp default "${type}"
2677 classrelation_ref 128828 // <generalisation>
2678 b parent class_ref 128533 // QWidget
2681 operation 128083 "turnChanged"
2683 public explicit_return_type "void"
2685 param in name "playerid" explicit_type "int"
2686 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2688 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2697 class 128227 "SoQtRenderArea"
2699 cpp_decl "${comment}${template}class ${name}${inherit} {
2706 explicit_switch_type ""
2710 class 128099 "CubeRenderArea"
2712 cpp_decl "${comment}${template}class ${name}${inherit} {
2719 explicit_switch_type ""
2721 class 128739 "Direction"
2722 visibility protected stereotype "enum"
2723 cpp_decl "${comment}${template}class ${name}${inherit} {
2730 explicit_switch_type ""
2732 attribute 129635 "UP"
2733 public explicit_type ""
2740 attribute 129763 "DOWN"
2741 public explicit_type ""
2748 attribute 129891 "LEFT"
2749 public explicit_type ""
2756 attribute 130019 "RIGHT"
2757 public explicit_type ""
2764 attribute 130147 "IN"
2765 public explicit_type ""
2772 attribute 130275 "OUT"
2773 public explicit_type ""
2781 class 128355 "Orientation"
2782 visibility protected stereotype "enum"
2783 cpp_decl "${comment}${template}class ${name}${inherit} {
2790 explicit_switch_type ""
2792 attribute 128483 "X_POSITIVE"
2793 public explicit_type ""
2794 cpp_decl " ${name}${value},${comment}"
2800 attribute 128739 "X_NEGATIVE"
2801 public explicit_type ""
2808 attribute 128867 "Y_POSITIVE"
2809 public explicit_type ""
2816 attribute 128995 "Y_NEGATIVE"
2817 public explicit_type ""
2824 attribute 129123 "Z_POSITIVE"
2825 public explicit_type ""
2832 attribute 129251 "Z_NEGATIVE"
2833 public explicit_type ""
2840 attribute 128111 "NO_ORIENTATION"
2841 protected explicit_type ""
2849 classrelation 128227 // <generalisation>
2850 relation 128227 ---|>
2852 cpp default "${type}"
2853 classrelation_ref 128227 // <generalisation>
2854 b parent class_ref 128227 // SoQtRenderArea
2857 classrelation 128458 // <composition>
2858 relation 128330 *---
2859 a role_name "" multiplicity "0..1" private
2860 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2862 classrelation_ref 128458 // <composition>
2863 b role_name "" private
2864 classrelation_ref 129269 // <composition>
2867 attribute 128586 "_scene"
2868 private type class_ref 128867 // SceneGraph
2869 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2876 attribute 128099 "_acceptMove"
2877 private explicit_type "bool"
2878 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2885 attribute 128355 "_numCubes"
2886 private explicit_type "int"
2887 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2894 attribute 129994 "_isExploded"
2895 private explicit_type "sbBool"
2896 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2903 attribute 128227 "_isRotating"
2904 private explicit_type "sbBool"
2905 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2912 attribute 129379 "_frontSide"
2913 private type class_ref 128355 // Orientation
2914 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2921 attribute 129507 "_upSide"
2922 private type class_ref 128355 // Orientation
2923 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2930 operation 128611 "CubeRenderArea"
2931 public explicit_return_type ""
2933 param in name "parent" explicit_type "QWidget*"
2934 param in name "dim" explicit_type "int"
2935 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2937 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2943 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"
2946 operation 128227 "drawMove"
2947 public explicit_return_type "void"
2949 param in name "p" type class_ref 129173 // Point
2950 param in name "c" explicit_type "sbColor"
2951 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2953 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2961 operation 129738 "doMove"
2962 public explicit_return_type "void"
2964 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2966 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2972 comment "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."
2975 operation 128739 "getOrientation"
2976 public return_type class_ref 128355 // Orientation
2978 param in name "dir" type class_ref 128739 // Direction
2979 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2981 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2987 comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
2990 operation 128355 "selectCube"
2991 public explicit_return_type "void"
2993 param in name "p" type class_ref 129173 // Point
2994 param in name "c" explicit_type "sbColor"
2995 defaultvalue "255,0,0"
2996 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2998 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3004 comment "usata dal suggeritore della mossa e dall'event dispatcher.
3005 il valore di default del parametro c, è il colore usato per la selezione nel caso generale.
3006 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
3009 attribute 130122 "_hasPreviousPick"
3010 private explicit_type "bool"
3011 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3016 comment "utilizzato per gestire gli eventi del mouse..il primo click è da ignorare perchè da coordinate sballate"
3019 attribute 130250 "_lastXPick"
3020 private explicit_type "float"
3021 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3026 comment "coordinate x dell ultimo click"
3029 attribute 130378 "_lastYPick"
3030 private explicit_type "float"
3031 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3038 attribute 130506 "_projection"
3039 private explicit_type "sbSphereSheetProjector"
3040 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3045 comment "usato per la telecamera. guardare documentazione"
3048 operation 128586 "rotateCamera"
3049 public explicit_return_type "void"
3051 param in name "newX" explicit_type "float"
3052 param in name "newY" explicit_type "float"
3053 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3055 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3061 comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
3064 operation 128714 "zoomCamera"
3065 public explicit_return_type "void"
3067 param in name "delta" explicit_type "int"
3068 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3070 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3076 comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
3079 operation 128202 "eventDispatcher"
3080 class_operation public explicit_return_type "void"
3082 param in name "userdata" explicit_type "void*"
3083 param in name "eventCB" explicit_type "QEvent*"
3084 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3086 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3092 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
3094 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
3095 per chiamare la applyImplosion() passare il parametro TRUE
3097 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
3098 invocare la applyImplosion() con parametro uguale a FALSE"
3101 operation 128330 "cubeSelected"
3102 class_operation public explicit_return_type "void"
3104 param in name "data" explicit_type "void*"
3105 param in name "path" explicit_type "SoPath*"
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 "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro è la CubeRenderArea"
3117 operation 128458 "cubeDeselected"
3118 class_operation public explicit_return_type "void"
3120 param in name "data" explicit_type "void*"
3121 param in name "path" explicit_type "SoPath*"
3122 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3124 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3130 comment "deseleziona la casella ( cioè mette a null _selectedCube). data è il CubeRenderArea"
3133 attribute 128091 "_highlightAction"
3134 private explicit_type "SoLineHighlightRenderAction*"
3135 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3142 attribute 128039 "_mutex"
3143 private type class_ref 130837 // QMutex
3144 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3152 class 128867 "SceneGraph"
3154 cpp_decl "${comment}${template}class ${name}${inherit} {
3161 explicit_switch_type ""
3163 attribute 128458 "_renderArea"
3164 private type class_ref 128099 // CubeRenderArea
3165 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3172 operation 128842 "SceneGraph"
3173 public explicit_return_type ""
3175 param in name "ra" explicit_type "CubeRenderArea*"
3176 param in name "dim" explicit_type "int"
3177 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3179 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3185 comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3188 attribute 128074 "_root"
3189 private explicit_type "SoSeparator"
3190 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3195 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"
3198 attribute 128202 "_camera"
3199 private explicit_type "SoCamera"
3200 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3207 attribute 128330 "_light"
3208 private explicit_type "SoLight"
3209 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3216 attribute 128714 "_selector"
3217 private explicit_type "SoSelection"
3218 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3225 attribute 128842 "_fixedCubes"
3226 private explicit_type "SoGroup"
3227 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3232 comment "i cubi che non sono esplosi"
3235 attribute 128970 "_movedCubes"
3236 private explicit_type "QLinkedList<SoGroup*>"
3237 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3242 comment "i cubi esplosi"
3245 attribute 129098 "_shape"
3246 private explicit_type "SoShape"
3247 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3252 comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3255 attribute 129354 "_mover"
3256 private explicit_type "SbList<SoTranslation>"
3257 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3262 comment "lista di traslazioni, una per ogni livello esploso"
3265 attribute 129482 "_interpolator"
3266 private explicit_type "SbList<SoInterpolateVec3f>"
3267 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3272 comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3275 attribute 129610 "_timer"
3276 private explicit_type "SbList<SoOneShot>"
3277 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3282 comment "lista di timer"
3285 attribute 129738 "_explodeSensor"
3286 private explicit_type "SoOneShotSensor"
3287 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3292 comment "classe che schedula la explode e la implode.
3293 Come callback avra' la explodeCubeCB di CubeRenderArea"
3296 attribute 129866 "_graphMatrix"
3297 private explicit_type "SoSeparator*"
3298 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3303 comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3306 operation 128970 "applyRotationToCamera"
3307 public explicit_return_type "void"
3309 param in name "rot" explicit_type "SbRotation*"
3310 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3312 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3318 comment "applica la rotazione rot alla telecamera"
3321 operation 129098 "applyTranslationToCamera"
3322 public explicit_return_type "void"
3324 param in name "delta" explicit_type "int"
3325 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3327 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3333 comment "applica una traslazione alla telecamera. Usata per lo zoom"
3336 operation 129226 "applyExplosionToCube"
3337 public explicit_return_type "void"
3339 param in name "desired" type class_ref 128355 // Orientation
3340 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3342 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3348 comment "se desired NON è uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3349 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3350 setto il campo _directionOfExplosion
3352 -chiamo n volte la explodeLevel()
3357 operation 129354 "applyImplosionToCube"
3358 public explicit_return_type "void"
3360 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3362 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3368 comment "apllica l'implosione.
3369 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3373 operation 128074 "getRoot"
3374 public explicit_return_type "SoSeparator*"
3376 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3378 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3386 operation 129482 "explodeLevel"
3387 private explicit_return_type "void"
3389 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3391 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3397 comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3398 Confronta le dimensioni degli array con _explodedLevels:
3399 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3400 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3401 INCREMENTARE _explodedLevels in ogni caso"
3404 operation 129610 "implodeLevel"
3405 private explicit_return_type "void"
3407 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3409 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3415 comment "funzione ausiliaria. Implode l ultimo livello esploso
3416 invertire le posizioni del mover e attivare il timer
3417 DECREMENTARE _explodedLevels"
3420 attribute 128239 "_selectedCube"
3421 private explicit_type "SoSeparator"
3422 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3429 attribute 128367 "_directionOfExplosion"
3430 private type class_ref 128355 // Orientation
3431 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3438 attribute 128495 "_explodedLevels"
3439 private explicit_type "int"
3440 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3447 classrelation 129269 // <composition>
3448 relation_ref 128330 // <composition>
3452 class 128008 "QSettings"
3454 cpp_decl "${comment}${template}class ${name}${inherit} {
3461 explicit_switch_type ""
3465 class 128426 "AbstractSettings"
3466 abstract visibility package
3467 cpp_decl "${comment}${template}class ${name}${inherit} {
3474 explicit_switch_type ""
3476 operation 128776 "language"
3477 abstract const cpp_virtual public return_type class_ref 128440 // QString
3479 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3486 operation 128090 "dockState"
3487 abstract const cpp_virtual public explicit_return_type "QByteArray"
3489 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3496 operation 129416 "geometry"
3497 abstract const cpp_virtual public explicit_return_type "QByteArray"
3499 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3506 operation 128444 "defaultCubeColor"
3507 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3509 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3516 operation 128619 "backgroundColor"
3517 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3519 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3526 operation 129544 "setLanguage"
3527 abstract cpp_virtual public explicit_return_type "void"
3529 param in name "lang" type class_ref 128440 // QString
3530 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3537 operation 128218 "setDockState"
3538 abstract const cpp_virtual public explicit_return_type "void"
3540 param in name "state" explicit_type "QByteArray"
3541 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3548 operation 129800 "setGeometry"
3549 abstract cpp_virtual public explicit_return_type "void"
3551 param in name "geom" explicit_type "QByteArray"
3552 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3559 operation 128572 "setDefaultCubeColor"
3560 abstract cpp_virtual public explicit_return_type "void"
3562 param in name "color" type class_ref 128253 // QColor
3563 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3570 operation 128747 "setBackgroundColor"
3571 abstract cpp_virtual public explicit_return_type "void"
3573 param in name "color" type class_ref 128253 // QColor
3574 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3582 class 130453 "SettingsManager"
3583 abstract visibility package
3584 cpp_decl "${comment}${template}class ${name}${inherit} {
3591 explicit_switch_type ""
3593 operation 128904 "playersInfo"
3594 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3596 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3603 operation 129032 "difficulty1"
3604 abstract const cpp_virtual public explicit_return_type "int"
3606 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3613 operation 129160 "difficulty2"
3614 abstract const cpp_virtual public explicit_return_type "int"
3616 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3623 operation 129672 "setPlayersInfo"
3624 abstract cpp_virtual public explicit_return_type "void"
3626 param in name "info" explicit_type "QList<PlayerInfo>"
3627 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3634 operation 128009 "setDifficulty1"
3635 abstract cpp_virtual public explicit_return_type "void"
3637 param in name "d1" explicit_type "int"
3638 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3645 operation 128137 "setDifficulty2"
3646 abstract cpp_virtual public explicit_return_type "void"
3648 param in name "d2" explicit_type "int"
3649 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3656 classrelation 129450 // <generalisation>
3657 relation 129450 ---|>
3659 cpp default "${type}"
3660 classrelation_ref 129450 // <generalisation>
3661 b parent class_ref 128426 // AbstractSettings
3665 class 128042 "LocalSettings"
3667 cpp_decl "${comment}${template}class ${name}${inherit} {
3674 explicit_switch_type ""
3676 classrelation 129578 // <generalisation>
3677 relation 129578 ---|>
3679 cpp default "${type}"
3680 classrelation_ref 129578 // <generalisation>
3681 b parent class_ref 128298 // GUISettings
3684 classrelation 129962 // <realization>
3685 relation 129962 -_-|>
3687 cpp default "${type}"
3688 classrelation_ref 129962 // <realization>
3689 b parent class_ref 130453 // SettingsManager
3693 class 128170 "ServerSettings"
3695 cpp_decl "${comment}${template}class ${name}${inherit} {
3702 explicit_switch_type ""
3704 operation 129186 "serverPort"
3705 const public explicit_return_type "quint16"
3707 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3709 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3717 operation 128170 "timerDuration"
3718 const public explicit_return_type "int"
3720 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3722 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3730 operation 128051 "myColor"
3731 public return_type class_ref 128253 // QColor
3733 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3735 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3743 operation 129314 "setServerPort"
3744 public explicit_return_type "void"
3746 param in name "port" explicit_type "quint16"
3747 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3749 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3757 operation 128298 "setTimerDuration"
3758 public explicit_return_type "void"
3760 param in name "msec" explicit_type "int"
3761 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3763 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3771 classrelation 129706 // <generalisation>
3772 relation 129706 ---|>
3774 cpp default "${type}"
3775 classrelation_ref 129706 // <generalisation>
3776 b parent class_ref 128298 // GUISettings
3779 classrelation 129834 // <realization>
3780 relation 129834 -_-|>
3782 cpp default "${type}"
3783 classrelation_ref 129834 // <realization>
3784 b parent class_ref 130453 // SettingsManager
3787 operation 128179 "setMyColor"
3788 public explicit_return_type "void"
3790 param in name "color" type class_ref 128253 // QColor
3791 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3793 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3802 class 128298 "GUISettings"
3804 cpp_decl "${comment}${template}class ${name}${inherit} {
3811 explicit_switch_type ""
3813 classrelation 129194 // <realization>
3814 relation 129194 -_-|>
3816 cpp default "${type}"
3817 classrelation_ref 129194 // <realization>
3818 b parent class_ref 128426 // AbstractSettings
3821 classrelation 129322 // <generalisation>
3822 relation 129322 ---|>
3823 stereotype "protected"
3825 cpp default "${type}"
3826 classrelation_ref 129322 // <generalisation>
3827 b parent class_ref 128008 // QSettings
3831 class 129345 "GameClient"
3833 cpp_decl "${comment}${template}class ${name}${inherit} {
3840 explicit_switch_type ""
3842 classrelation 129345 // <realization>
3843 relation 129345 -_-|>
3845 cpp default "${type}"
3846 classrelation_ref 129345 // <realization>
3847 b parent class_ref 130069 // Network
3850 classrelation 129168 // <directional composition>
3851 relation 129168 *-->
3852 a role_name "" protected
3853 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3855 classrelation_ref 129168 // <directional composition>
3856 b parent class_ref 129168 // ClientSocket
3859 attribute 129267 "_localPlayer"
3860 private explicit_type "int"
3861 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3868 attribute 129296 "_server"
3869 private type class_ref 129168 // ClientSocket
3870 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3877 operation 129296 "GameClient"
3878 public explicit_return_type ""
3880 param in name "gui" explicit_type "QWidget*"
3881 param in name "serverAddress" type class_ref 128440 // QString
3882 param in name "serverPort" explicit_type "quint16"
3883 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3885 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3893 operation 129561 "~GameClient"
3894 cpp_virtual public explicit_return_type ""
3896 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3898 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3906 operation 129424 "requestMove"
3907 cpp_virtual public return_type class_ref 129173 // Point
3909 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3916 operation 129552 "setupChat"
3917 cpp_virtual public explicit_return_type "void"
3919 param in name "widget" explicit_type "ChatWidget*"
3920 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3922 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3930 operation 129267 "setLocalPlayer"
3932 private explicit_return_type "void"
3934 param in name "id" explicit_type "int"
3935 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3937 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3946 class 129217 "GameServer"
3947 visibility protected
3948 cpp_decl "${comment}${template}class ${name}${inherit} {
3955 explicit_switch_type ""
3957 classrelation 129217 // <realization>
3958 relation 129217 -_-|>
3960 cpp default "${type}"
3961 classrelation_ref 129217 // <realization>
3962 b parent class_ref 130069 // Network
3965 classrelation 129296 // <directional composition>
3966 relation 129296 *-->
3967 a role_name "" multiplicity "*" protected
3968 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3970 classrelation_ref 129296 // <directional composition>
3971 b parent class_ref 129296 // ServerSocket
3974 classrelation 129424 // <directional composition>
3975 relation 129424 *-->
3976 a role_name "" protected
3977 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3979 classrelation_ref 129424 // <directional composition>
3980 b parent class_ref 129212 // QTcpServer
3983 operation 129936 "GameServer"
3984 public explicit_return_type ""
3986 param in name "gui" explicit_type "QWidget*"
3987 param in name "history" explicit_type "HistoryModel*"
3988 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3990 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3998 operation 129433 "~GameServer"
3999 cpp_virtual public explicit_return_type ""
4001 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4003 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4011 operation 129680 "requestMove"
4012 cpp_virtual public return_type class_ref 129173 // Point
4014 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4021 operation 129808 "setupChat"
4022 cpp_virtual public explicit_return_type "void"
4024 param in name "widget" explicit_type "ChatWidget*"
4025 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4027 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4035 operation 130064 "handleIncomingConnection"
4037 private explicit_return_type "void"
4039 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4041 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4049 operation 132431 "handleJoinRequest"
4051 private explicit_return_type "void"
4053 param in name "mode" type class_ref 128440 // QString
4054 param in name "name" type class_ref 128440 // QString
4055 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4057 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4065 operation 128024 "setTurn"
4067 private explicit_return_type "void"
4069 param in name "playerId" explicit_type "int"
4070 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4072 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4080 attribute 129424 "_listener"
4081 private type class_ref 129212 // QTcpServer
4082 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4089 attribute 129552 "_pendingConnections"
4090 private explicit_type "QLinkedList<ServerSocket>"
4091 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4098 attribute 129680 "_remotePlayers"
4099 private explicit_type "QList<ServerSocket>"
4100 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4107 attribute 129808 "_spectators"
4108 private explicit_type "QList<ServerSocket>"
4109 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4116 attribute 130064 "_gameInProgress"
4117 private explicit_type "bool"
4118 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4125 attribute 129936 "_history"
4126 private explicit_type "HistoryModel*"
4127 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4134 attribute 129199 "_names"
4135 private explicit_type "QStringList"
4136 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4143 attribute 130492 "_numberOfPlayers"
4144 private explicit_type "int"
4145 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4152 attribute 128024 "_turn"
4153 private explicit_type "int"
4154 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4161 attribute 129395 "_settings"
4162 private type class_ref 128170 // ServerSettings
4163 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4171 class 129231 "StreamSocket"
4173 cpp_decl "${comment}${template}class ${name}${inherit} {
4180 explicit_switch_type ""
4182 class 129359 "ProtocolState"
4183 visibility protected stereotype "enum"
4184 cpp_decl "${comment}enum ${name} {
4188 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
4192 php_decl "${comment}final ${visibility}class ${name} {
4195 idl_decl "${comment}enum ${name} {
4198 explicit_switch_type ""
4200 attribute 129743 "Unconnected"
4201 public type class_ref 129359 // ProtocolState
4202 cpp_decl " ${name}${value},${comment}"
4208 attribute 129871 "Listening"
4209 public type class_ref 129359 // ProtocolState
4210 cpp_decl " ${name}${value},${comment}"
4216 attribute 129999 "Connecting"
4217 public type class_ref 129359 // ProtocolState
4218 cpp_decl " ${name}${value},${comment}"
4224 attribute 130127 "Connected"
4225 public type class_ref 129359 // ProtocolState
4226 cpp_decl " ${name}${value},${comment}"
4232 attribute 130255 "OpeningStream"
4233 public type class_ref 129359 // ProtocolState
4234 cpp_decl " ${name}${value},${comment}"
4240 attribute 130383 "FullyOpened"
4241 public type class_ref 129359 // ProtocolState
4242 cpp_decl " ${name}${value},${comment}"
4248 attribute 130511 "Idle"
4249 public type class_ref 129359 // ProtocolState
4250 cpp_decl " ${name}${value},${comment}"
4256 attribute 130639 "AwaitingJoinRequest"
4257 public type class_ref 129359 // ProtocolState
4258 cpp_decl " ${name}${value},${comment}"
4264 attribute 130767 "AwaitingJoinAnswer"
4265 public type class_ref 129359 // ProtocolState
4266 cpp_decl " ${name}${value},${comment}"
4272 attribute 130895 "AwaitingPlayers"
4273 public type class_ref 129359 // ProtocolState
4274 cpp_decl " ${name}${value},${comment}"
4280 attribute 131023 "AwaitingGameStart"
4281 public type class_ref 129359 // ProtocolState
4282 cpp_decl " ${name}${value},${comment}"
4288 attribute 131151 "Playing"
4289 public type class_ref 129359 // ProtocolState
4290 cpp_decl " ${name}${value},${comment}"
4296 attribute 131279 "AwaitingMove"
4297 public type class_ref 129359 // ProtocolState
4298 cpp_decl " ${name}${value},${comment}"
4304 attribute 131407 "Closing"
4305 public type class_ref 129359 // ProtocolState
4306 cpp_decl " ${name}${value},${comment}"
4312 attribute 131535 "Closed"
4313 public type class_ref 129359 // ProtocolState
4314 cpp_decl " ${name}${value},${comment}"
4321 classrelation 129487 // <generalisation>
4322 relation 129487 ---|>
4323 stereotype "protected"
4325 cpp default "${type}"
4326 classrelation_ref 129487 // <generalisation>
4327 b parent class_ref 129601 // QXmlStreamWriter
4330 classrelation 129615 // <generalisation>
4331 relation 129615 ---|>
4332 stereotype "protected"
4334 cpp default "${type}"
4335 classrelation_ref 129615 // <generalisation>
4336 b parent class_ref 129473 // QXmlStreamReader
4339 classrelation 129743 // <directional composition>
4340 relation 129743 *-->
4341 a role_name "" protected
4342 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4344 classrelation_ref 129743 // <directional composition>
4345 b parent class_ref 129340 // QTcpSocket
4348 attribute 129231 "_supportedProtocolVersion"
4349 class_attribute const_attribute protected type class_ref 128440 // QString
4350 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4357 attribute 129359 "_socket"
4358 protected type class_ref 129340 // QTcpSocket
4359 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4366 attribute 129487 "_buffer"
4367 private explicit_type "QLinkedList<Move>"
4368 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4375 attribute 129615 "_state"
4376 private explicit_type "ProtocolState"
4377 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4384 operation 129231 "StreamSocket"
4385 protected explicit_return_type ""
4387 param in name "socket" type class_ref 129340 // QTcpSocket
4388 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4390 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4398 operation 129177 "~StreamSocket"
4399 public explicit_return_type ""
4401 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4403 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4411 operation 129305 "state"
4412 const public explicit_return_type "ProtocolState"
4414 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4416 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4424 operation 129359 "changeState"
4425 protected explicit_return_type "void"
4427 param in name "state" explicit_type "ProtocolState"
4428 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4430 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4438 operation 129487 "sendChatMessage"
4440 public explicit_return_type "void"
4442 param in name "msg" type class_ref 128440 // QString
4443 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4445 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4453 operation 129615 "sendMove"
4455 public explicit_return_type "void"
4457 param in name "move" type class_ref 129301 // Move
4458 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4460 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4468 operation 129743 "openStream"
4470 protected explicit_return_type "void"
4472 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4474 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4482 operation 129871 "closeStream"
4484 protected explicit_return_type "void"
4486 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4488 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4496 operation 129999 "handleError"
4498 protected explicit_return_type "void"
4500 param in name "error" explicit_type "QAbstractSocket::SocketError"
4501 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4503 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4511 operation 130127 "parseData"
4513 protected explicit_return_type "void"
4515 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4517 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4525 operation 130255 "playerJoined"
4527 protected explicit_return_type "void"
4529 param in name "id" explicit_type "int"
4530 param in name "name" type class_ref 128440 // QString
4531 param in name "type" type class_ref 128440 // QString
4532 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4534 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4542 operation 130383 "playerLeft"
4544 protected explicit_return_type "void"
4546 param in name "id" explicit_type "int"
4547 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4549 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4557 operation 130511 "receivedChatMessage"
4559 protected explicit_return_type "void"
4561 param in name "msg" type class_ref 128440 // QString
4562 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4564 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4572 operation 130639 "receivedMove"
4574 protected explicit_return_type "void"
4576 param in name "move" type class_ref 129301 // Move
4577 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4579 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4587 operation 130767 "startGame"
4589 protected explicit_return_type "void"
4591 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4593 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4601 classrelation 129187 // <unidirectional association>
4602 relation 129187 --->
4603 a role_name "" protected
4604 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4606 classrelation_ref 129187 // <unidirectional association>
4607 b multiplicity "*" parent class_ref 129359 // ProtocolState
4611 class 129168 "ClientSocket"
4613 cpp_decl "${comment}${template}class ${name}${inherit} {
4620 explicit_switch_type ""
4622 classrelation 129359 // <generalisation>
4623 relation 129359 ---|>
4625 cpp default "${type}"
4626 classrelation_ref 129359 // <generalisation>
4627 b parent class_ref 129231 // StreamSocket
4630 operation 129315 "ClientSocket"
4631 public explicit_return_type ""
4633 param in name "socket" type class_ref 129340 // QTcpSocket
4634 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4636 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4644 operation 132047 "joinGame"
4646 public explicit_return_type "void"
4648 param in name "mode" type class_ref 128440 // QString
4649 param in name "name" type class_ref 128440 // QString
4650 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4652 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4660 operation 132175 "cancelJoin"
4662 public explicit_return_type "void"
4664 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4666 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4674 operation 132303 "parseData"
4676 protected explicit_return_type "void"
4678 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4680 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4688 operation 132559 "joinAccepted"
4690 protected explicit_return_type "void"
4692 param in name "id" explicit_type "int"
4693 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4695 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4703 operation 132687 "joinRefused"
4705 protected explicit_return_type "void"
4707 param in name "cause" explicit_type "int"
4708 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4710 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4718 operation 132815 "receivedGameSettings"
4720 protected explicit_return_type "void"
4722 param in name "d1" explicit_type "int"
4723 param in name "d2" explicit_type "int"
4724 param in name "timer" explicit_type "int"
4725 param in name "playing" explicit_type "bool"
4726 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4728 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4736 operation 132943 "receivedHistory"
4738 protected explicit_return_type "void"
4740 param in name "history" explicit_type "QList<Move>"
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}{
4752 class 129296 "ServerSocket"
4754 cpp_decl "${comment}${template}class ${name}${inherit} {
4761 explicit_switch_type ""
4763 classrelation 129231 // <generalisation>
4764 relation 129231 ---|>
4766 cpp default "${type}"
4767 classrelation_ref 129231 // <generalisation>
4768 b parent class_ref 129231 // StreamSocket
4771 operation 129187 "ServerSocket"
4772 public explicit_return_type ""
4774 param in name "socket" type class_ref 129340 // QTcpSocket
4775 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4777 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4785 operation 130895 "acceptJoin"
4786 public explicit_return_type "void"
4788 param in name "id" explicit_type "int"
4789 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4791 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4799 operation 131023 "refuseJoin"
4800 public explicit_return_type "void"
4802 param in name "cause" explicit_type "int"
4803 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4805 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4813 operation 131151 "sendGameSettings"
4815 public explicit_return_type "void"
4817 param in name "d1" explicit_type "int"
4818 param in name "d2" explicit_type "int"
4819 param in name "timer" explicit_type "int"
4820 param in name "playing" explicit_type "bool"
4821 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4823 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4831 operation 131279 "sendHistory"
4833 public explicit_return_type "void"
4835 param in name "history" explicit_type "QList<Move>"
4836 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4838 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4846 operation 131407 "sendPlayerJoined"
4848 public explicit_return_type "void"
4850 param in name "id" explicit_type "int"
4851 param in name "name" type class_ref 128440 // QString
4852 param in name "type" type class_ref 128440 // QString
4853 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4855 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4863 operation 131535 "sendPlayerLeft"
4865 public explicit_return_type "void"
4867 param in name "id" explicit_type "int"
4868 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4870 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4878 operation 131663 "sendStartGame"
4880 public explicit_return_type "void"
4882 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4884 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4892 operation 131791 "parseData"
4894 protected explicit_return_type "void"
4896 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4898 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4906 operation 131919 "joinRequested"
4908 protected explicit_return_type "void"
4910 param in name "mode" type class_ref 128440 // QString
4911 param in name "name" type class_ref 128440 // QString
4912 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4914 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4923 class 129340 "QTcpSocket"
4925 cpp_decl "${comment}${template}class ${name}${inherit} {
4932 explicit_switch_type ""
4934 operation 130448 "connected"
4936 protected explicit_return_type "void"
4938 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4940 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4948 operation 130576 "error"
4950 protected explicit_return_type "void"
4952 param in name "socketError" explicit_type "QAbstractSocket::SocketError"
4953 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4955 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4963 operation 130320 "readyRead"
4965 protected explicit_return_type "void"
4967 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4969 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4978 class 129212 "QTcpServer"
4980 cpp_decl "${comment}${template}class ${name}${inherit} {
4987 explicit_switch_type ""
4989 operation 130192 "newConnection"
4991 protected explicit_return_type "void"
4993 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4995 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5004 class 129473 "QXmlStreamReader"
5006 cpp_decl "${comment}${template}class ${name}${inherit} {
5013 explicit_switch_type ""
5017 class 129601 "QXmlStreamWriter"
5019 cpp_decl "${comment}${template}class ${name}${inherit} {
5026 explicit_switch_type ""
5030 class 128003 "ThreatSearchAI"
5032 cpp_decl "${comment}${template}class ${name}${inherit} {
5039 explicit_switch_type ""
5041 classrelation 128003 // <realization>
5042 relation 128003 -_-|>
5044 cpp default "${type}"
5045 classrelation_ref 128003 // <realization>
5046 b parent class_ref 129941 // AI
5049 operation 131203 "ThreatSearchAI"
5050 public explicit_return_type ""
5052 param in name "id" explicit_type "int"
5053 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5055 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5063 operation 128091 "~ThreatSerachAI"
5064 public explicit_return_type ""
5066 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5068 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5076 attribute 128003 "_d1"
5077 protected explicit_type "int"
5078 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5085 attribute 128131 "_d2"
5086 protected explicit_type "int"
5087 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5094 attribute 128259 "_threat"
5095 protected type class_ref 128131 // Threat
5096 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5103 attribute 128387 "_mat"
5104 protected type class_ref 129557 // GameMatrix
5105 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5112 operation 131331 "init"
5113 public explicit_return_type "void"
5115 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5117 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5125 operation 130947 "move"
5126 cpp_virtual public return_type class_ref 129173 // Point
5128 param in name "level" explicit_type "int"
5135 operation 131075 "forceMove"
5136 cpp_virtual public explicit_return_type "void"
5138 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5145 operation 131843 "movesUndone"
5146 cpp_virtual public explicit_return_type "void"
5148 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5150 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5158 operation 131587 "createThreat"
5159 protected explicit_return_type "Threat*"
5161 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5163 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5171 operation 131459 "defenseHook"
5172 protected return_type class_ref 129173 // Point
5174 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5176 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5184 operation 131715 "defense"
5185 private return_type class_ref 129173 // Point
5187 param in name "level" explicit_type "int"
5188 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5190 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5198 classrelation 128387 // <composition>
5199 relation 128387 *---
5200 a role_name "" multiplicity "0..1" protected
5201 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5203 classrelation_ref 128387 // <composition>
5204 b role_name "" protected
5205 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5207 classrelation_ref 128515 // <composition>
5211 class 128131 "Threat"
5213 cpp_decl "${comment}${template}class ${name}${inherit} {
5220 explicit_switch_type ""
5222 class 128643 "Direction"
5223 visibility public stereotype "enum"
5224 cpp_decl "${comment}enum ${name} {
5228 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5232 php_decl "${comment}final ${visibility}class ${name} {
5235 idl_decl "${comment}enum ${name} {
5238 explicit_switch_type ""
5240 attribute 130179 "DIR_X"
5241 public type class_ref 128643 // Direction
5242 cpp_decl " ${name}${value},${comment}"
5248 attribute 130307 "DIR_Y"
5249 public type class_ref 128643 // Direction
5250 cpp_decl " ${name}${value},${comment}"
5256 attribute 130563 "DIR_Z"
5257 public type class_ref 128643 // Direction
5258 cpp_decl " ${name}${value},${comment}"
5267 cpp_decl "${comment}${template}class ${name}${inherit} {
5274 explicit_switch_type ""
5276 attribute 129539 "value"
5277 public explicit_type "int"
5278 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5285 attribute 129667 "point"
5286 public type class_ref 129173 // Point
5287 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5294 attribute 129795 "dir"
5295 public type class_ref 128739 // Direction
5296 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5303 attribute 129923 "par"
5304 public explicit_type "Node**"
5305 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5312 attribute 130051 "next"
5313 public explicit_type "Node*"
5314 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5321 classrelation 128643 // <unidirectional association>
5322 relation 128515 --->
5323 a role_name "" protected
5324 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5326 classrelation_ref 128643 // <unidirectional association>
5327 b multiplicity "*" parent class_ref 128643 // Direction
5330 operation 133635 "Node"
5331 public explicit_return_type ""
5333 param in name "val" explicit_type "int"
5334 param in name "p" type class_ref 129173 // Point
5335 param in name "dir" type class_ref 128739 // Direction
5336 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5338 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5346 operation 133507 "~Node"
5347 public explicit_return_type ""
5349 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5351 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5359 classrelation 129461 // <directional composition>
5360 relation 129333 *-->
5361 a role_name "" multiplicity "0..1" protected
5362 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5364 classrelation_ref 129461 // <directional composition>
5365 b parent class_ref 128515 // Node
5369 attribute 128515 "_ai"
5370 protected explicit_type "ThreatSearchAI*"
5371 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5378 attribute 128643 "_mat"
5379 protected explicit_type "GameMatrix*"
5380 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5387 attribute 128771 "_d1"
5388 protected explicit_type "int"
5389 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5396 attribute 128899 "_d2"
5397 protected explicit_type "int"
5398 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5405 attribute 129027 "_x"
5406 private explicit_type "QMap<Point,Node*>"
5407 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5414 attribute 129155 "_y"
5415 private explicit_type "QMap<Point,Node*>"
5416 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5423 attribute 129283 "_z"
5424 private explicit_type "QMap<Point,Node*>"
5425 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5432 attribute 129411 "_priority"
5433 private explicit_type "Node**"
5434 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5441 operation 132355 "Threat"
5442 public explicit_return_type ""
5444 param in name "ai" explicit_type "ThreatSearchAI*"
5445 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5447 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5455 operation 128219 "~Threat"
5456 public explicit_return_type ""
5458 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5460 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5468 operation 132483 "insert"
5469 public explicit_return_type "void"
5471 param in name "point" type class_ref 129173 // Point
5472 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5474 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5482 classrelation 128515 // <composition>
5483 relation_ref 128387 // <composition>
5486 operation 132611 "scanFromMatrix"
5487 public explicit_return_type "void"
5489 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5491 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5499 operation 132739 "insertHook"
5500 protected explicit_return_type "void"
5502 param in name "p" type class_ref 129173 // Point
5503 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5505 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5513 operation 132867 "scanFromMatrixHook"
5514 protected explicit_return_type "void"
5516 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5518 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5526 operation 132995 "removeFromPriority"
5527 private explicit_return_type "void"
5529 param in name "it" explicit_type "Node*"
5530 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5532 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5540 operation 133123 "insertInPriority"
5541 private explicit_return_type "void"
5543 param in name "it" explicit_type "Node*"
5544 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5546 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5554 operation 133251 "evalInsert"
5555 private explicit_return_type "void"
5557 param in name "p" type class_ref 129173 // Point
5558 param in name "index" explicit_type "int"
5559 param in name "dir" type class_ref 128739 // Direction
5560 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5562 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5570 operation 133379 "evalPriority"
5571 private explicit_return_type "int"
5573 param in name "p" type class_ref 129173 // Point
5574 param in name "dir" type class_ref 128739 // Direction
5575 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5577 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5585 classrelation 128899 // <directional composition>
5586 relation 128771 *-->
5587 a role_name "" multiplicity "*" protected
5588 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5590 classrelation_ref 128899 // <directional composition>
5591 b parent class_ref 128515 // Node
5595 class 128387 "CCThreat"
5597 cpp_decl "${comment}${template}class ${name}${inherit} {
5604 explicit_switch_type ""
5606 attribute 130691 "_opponentCC"
5607 private explicit_type "QVector<QList<ConnectedComponent>>"
5608 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5615 operation 133763 "CCThreat"
5616 public explicit_return_type ""
5618 param in name "ai" explicit_type "CCThreatSearchAI*"
5619 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5621 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5629 classrelation 128771 // <generalisation>
5630 relation 128643 ---|>
5632 cpp default "${type}"
5633 classrelation_ref 128771 // <generalisation>
5634 b parent class_ref 128131 // Threat
5637 operation 133891 "insertHook"
5638 protected explicit_return_type "void"
5640 param in name "p" type class_ref 129173 // Point
5641 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5643 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5651 operation 134019 "scanFromMatrixHook"
5652 protected explicit_return_type "void"
5654 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5656 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5664 operation 134147 "find"
5665 private explicit_return_type "int"
5667 param in name "id" explicit_type "int"
5668 param in name "p" type class_ref 129173 // Point
5669 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5671 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5679 operation 134275 "explore"
5680 private explicit_return_type "void"
5682 param in name "p" type class_ref 129173 // Point
5683 param in name "id" explicit_type "int"
5684 param inout name "set" explicit_type "QSet<Point>"
5685 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5687 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5695 operation 134403 "merge"
5696 private explicit_return_type "void"
5698 param in name "p1" type class_ref 129173 // Point
5699 param in name "p2" type class_ref 129173 // Point
5700 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5702 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5710 class 128771 "ConnectedComponent"
5712 cpp_decl "${comment}${template}class ${name}${inherit} {
5719 explicit_switch_type ""
5721 operation 134531 "ConnectedComponent"
5722 public explicit_return_type ""
5724 param in name "items" explicit_type "QSet<Point>"
5725 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5727 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5735 operation 134659 "ConnectedComponent"
5736 public explicit_return_type ""
5738 param in name "p" type class_ref 129173 // Point
5739 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5741 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5749 attribute 130819 "nodes"
5750 public explicit_type "QSet<Point>"
5751 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5758 attribute 130947 "min_x"
5759 public explicit_type "int"
5760 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5767 attribute 131075 "min_y"
5768 public explicit_type "int"
5769 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5776 attribute 131203 "min_z"
5777 public explicit_type "int"
5778 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5785 attribute 131331 "max_x"
5786 public explicit_type "int"
5787 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5794 attribute 131459 "max_y"
5795 public explicit_type "int"
5796 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5803 attribute 131587 "max_z"
5804 public explicit_type "int"
5805 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5813 classrelation 129027 // <directional composition>
5814 relation 128899 *-->
5815 a role_name "" multiplicity "*" protected
5816 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5818 classrelation_ref 129027 // <directional composition>
5819 b parent class_ref 128771 // ConnectedComponent
5823 class 128259 "CCThreatSearchAI"
5825 cpp_decl "${comment}${template}class ${name}${inherit} {
5832 explicit_switch_type ""
5834 classrelation 128259 // <generalisation>
5835 relation 128259 ---|>
5837 cpp default "${type}"
5838 classrelation_ref 128259 // <generalisation>
5839 b parent class_ref 128003 // ThreatSearchAI
5842 operation 132227 "CCThreatSearchAI"
5843 public explicit_return_type ""
5845 param in name "id" explicit_type "int"
5846 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5848 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5856 operation 132099 "createThreat"
5857 protected explicit_return_type "Threat*"
5859 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5861 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5869 operation 131971 "defenseHook"
5870 protected return_type class_ref 129173 // Point
5872 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5874 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5883 class 128467 "StandAloneDialog"
5885 cpp_decl "${comment}${template}class ${name}${inherit} {
5892 explicit_switch_type ""
5894 operation 128467 "accept"
5896 cpp_virtual private explicit_return_type "void"
5898 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5900 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5908 operation 128339 "playersChanged"
5910 private explicit_return_type "void"
5912 param in name "number" explicit_type "int"
5913 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5915 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5924 class 128081 "OnlineDialog"
5926 cpp_decl "${comment}${template}class ${name}${inherit} {
5933 explicit_switch_type ""
5935 operation 128337 "accept"
5937 cpp_virtual private explicit_return_type "void"
5939 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5941 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5949 operation 128465 "addPlayer"
5951 public explicit_return_type "void"
5953 param in name "id" explicit_type "int"
5954 param in name "name" type class_ref 128440 // QString
5955 param in name "type" type class_ref 128440 // QString
5956 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5958 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5966 operation 128113 "removePlayer"
5968 public explicit_return_type "void"
5970 param in name "id" explicit_type "int"
5971 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5973 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5981 operation 128209 "connectToServer"
5983 public explicit_return_type "void"
5985 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5987 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5995 operation 128593 "receiveSettings"
5997 public explicit_return_type "void"
5999 param in name "d1" explicit_type "int"
6000 param in name "d2" explicit_type "int"
6001 param in name "timer" explicit_type "int"
6002 param in name "playing" explicit_type "bool"
6003 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6005 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6014 class 128723 "ServSetDialog"
6016 cpp_decl "${comment}${template}class ${name}${inherit} {
6023 explicit_switch_type ""
6025 operation 128851 "ServSetDialog"
6026 public explicit_return_type ""
6028 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
6030 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6038 operation 128595 "playersChanged"
6040 private explicit_return_type "void"
6042 param in name "number" explicit_type "int"
6043 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6045 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6053 operation 128723 "accept"
6055 cpp_virtual private explicit_return_type "void"
6057 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6059 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6068 class 128440 "QString"
6070 cpp_decl "${comment}${template}class ${name}${inherit} {
6077 explicit_switch_type ""
6081 class 129199 "QStringList"
6083 cpp_decl "${comment}${template}class ${name}${inherit} {
6090 explicit_switch_type ""
6094 class 128182 "QList"
6097 formal name "T" type "typename" explicit_default_value ""
6099 cpp_decl "${comment}${template}class ${name}${inherit} {
6106 explicit_switch_type ""
6110 class 128122 "QLinkedList"
6113 formal name "T" type "typename" explicit_default_value ""
6115 cpp_decl "${comment}${template}class ${name}${inherit} {
6122 explicit_switch_type ""
6129 formal name "K" type "typename" explicit_default_value ""
6131 formal name "T" type "typename" explicit_default_value ""
6133 cpp_decl "${comment}${template}class ${name}${inherit} {
6140 explicit_switch_type ""
6144 class 129327 "QVector"
6147 formal name "T" type "typename" explicit_default_value ""
6149 cpp_decl "${comment}${template}class ${name}${inherit} {
6156 explicit_switch_type ""
6160 sequencediagram 128054 "InitSequence"
6161 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
6165 sequencediagram 128148 "GameLoop::run"
6166 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6167 overlapping_bars size A3
6170 sequencediagram 128213 "HumanPlayer::doMove"
6171 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6172 overlapping_bars size A3
6175 sequencediagram 129168 "RemotePlayer::doMove"
6176 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6177 overlapping_bars size A3
6180 sequencediagram 128024 "AIPlayer::doMove"
6181 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6182 overlapping_bars size A3
6185 activity 128011 "GameMatrix::add"
6186 activitydiagram 128011 "add"
6187 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
6188 show_infonote default drawing_language default
6192 parameter 128011 "move" explicit_type ""
6195 flow 128011 "<flow>"
6196 on pin_ref 128011 // m
6200 activitynode 128011 initial ""
6201 flow 128139 "<flow>"
6202 on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
6206 activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
6208 pin 128011 "m" explicit_type ""
6213 flow 128267 "<flow>"
6214 on expansionnode_ref 128011 // dir
6218 expansionregion 128011 ""
6220 expansionnode 128011 "dir"
6222 unordered is_control
6223 flow 128395 "<flow>"
6224 on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
6228 activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
6230 flow 129419 "<flow>"
6231 on activitynode_ref 128395 // merge
6235 activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
6237 pin 128139 "d" explicit_type ""
6240 flow 130955 "<flow>"
6241 on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
6246 activityaction 128395 "i = i + 1"
6248 flow 129675 "<flow>"
6249 on activitynode_ref 128395 // merge
6253 activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
6255 flow 129163 "<flow>"
6256 on activitynode_ref 128267 // decision
6260 activitynode 128267 decision ""
6261 flow 129291 "<flow>"
6262 on activityaction_ref 128395 // activity action i = i + 1
6263 uml_guard "elementAt(k) == m.playerId()"
6266 flow 130571 "<flow>"
6267 on activityaction_ref 128779 // activity action i = 0, start = start + 1
6271 flow 130699 "<flow>"
6272 on activitynode_ref 128779 // flow_final
6273 uml_guard "elementAt(k) == -2"
6277 activitynode 128395 merge ""
6278 flow 129248 "<flow>"
6279 on activitynode_ref 129248 // decision
6283 activitynode 128523 decision ""
6284 flow 129803 "<flow>"
6285 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
6289 flow 129632 "<flow>"
6290 on activitynode_ref 128779 // flow_final
6291 uml_guard "start > m.point().d()"
6295 expansionnode 128139 ""
6297 unordered is_control
6298 flow 131595 "<flow>"
6299 on activitynode_ref 129035 // decision
6303 activitynode 129248 decision ""
6304 flow 129376 "<flow>"
6305 on activitynode_ref 128523 // decision
6309 flow 129760 "<flow>"
6310 on activitynode_ref 129291 // merge
6316 parameter 128139 "win" explicit_type ""
6317 unordered is_control
6321 activityaction 128651 "win = true"
6323 flow 130187 "<flow>"
6324 on activitynode_ref 128651 // merge
6328 activitynode 128651 merge ""
6329 flow 130315 "<flow>"
6330 on parameter_ref 128139 // win
6334 activityaction 128779 "i = 0, start = start + 1"
6336 flow 130827 "<flow>"
6337 on activitynode_ref 128395 // merge
6341 activitynode 128779 flow_final ""
6344 activityaction 128907 "win = false"
6346 flow 131211 "<flow>"
6347 on activitynode_ref 128651 // merge
6351 activitynode 128907 merge ""
6352 flow 131339 "<flow>"
6353 on activityaction_ref 128907 // activity action win = false
6357 activityaction 129035 "set = {}, extractCC(point, id, set)"
6359 flow 131979 "<flow>"
6360 on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
6364 activitynode 129035 decision ""
6365 flow 131723 "<flow>"
6366 on activitynode_ref 128907 // merge
6370 flow 131851 "<flow>"
6371 on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
6372 uml_guard "_d2 == 3"
6376 activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
6378 pin 128267 "estremi" explicit_type ""
6379 multiplicity "3" unordered
6381 flow 132107 "<flow>"
6382 on activitynode_ref 129163 // decision
6387 activitynode 129163 decision ""
6388 flow 132491 "<flow>"
6389 on activitynode_ref 129291 // merge
6390 uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
6393 flow 132619 "<flow>"
6394 on activitynode_ref 128907 // merge
6399 activitynode 129291 merge ""
6400 flow 132235 "<flow>"
6401 on activityaction_ref 128651 // activity action win = true
6407 package_ref 128002 // GUI
6409 package_ref 128130 // Network
6411 package_ref 128258 // Core
6413 package_ref 128386 // AI