4 modified_by 103 "daniele"
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 128149 "PlayerDiagram"
61 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
65 classdiagram 128393 "GUIDiagram"
66 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
70 classdiagram 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 class 128277 "SoQtRenderArea"
81 explicit_switch_type ""
85 class 128533 "QWidget"
91 explicit_switch_type ""
95 class 128661 "RenderWidget"
97 cpp_decl "${comment}${template}class ${name}${inherit} {
104 explicit_switch_type ""
106 associated_diagram classdiagram_ref 128021 // Global
107 operation 128105 "RenderWidget"
108 public explicit_return_type ""
110 param in name "dim" explicit_type "int"
111 param in name "lock" type class_ref 130709 // SyncSharedCondition
112 param in name "defaultCubeColor" type class_ref 128253 // QColor
113 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
115 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
123 attribute 128060 "DefaultCubeColor"
124 class_attribute const_attribute private type class_ref 128253 // QColor
125 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
132 classrelation 128277 // <generalisation>
133 relation 128277 ---|>
135 classrelation_ref 128277 // <generalisation>
136 b parent class_ref 128533 // QWidget
139 operation 128824 "drawMove"
140 public explicit_return_type "bool"
142 param in name "p" type class_ref 129173 // Point
143 param in name "c" explicit_type "QColor"
144 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
146 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
152 comment "true se la mossa รจ valida altrimenti false
156 attribute 128006 "scene"
157 private type class_ref 129685 // SceneGraph
158 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
165 classrelation 128006 // <directional composition>
167 a role_name "" protected
168 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
170 classrelation_ref 128006 // <directional composition>
171 b parent class_ref 129685 // SceneGraph
174 attribute 129001 "acceptMove"
175 private explicit_type "bool"
176 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
183 operation 129385 "acceptMove"
184 public explicit_return_type "void"
186 param in name "value" explicit_type "bool"
187 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
189 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
197 operation 128828 "uncheckedDraw"
198 public explicit_return_type "void"
200 param in name "pointList" explicit_type "QList<Point>"
201 param in name "colorList" explicit_type "QList<QColor>"
203 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
205 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
211 comment "se colorList==0 allora usa defaultCubeColor"
214 operation 131000 "highlightSuggested"
216 public explicit_return_type "void"
218 param in name "point" type class_ref 129173 // Point
219 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
221 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
229 classrelation 128107 // <directional composition>
231 a role_name "" protected
232 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
234 classrelation_ref 128107 // <directional composition>
235 b parent class_ref 128277 // SoQtRenderArea
238 attribute 128107 "renderArea"
239 private type class_ref 128277 // SoQtRenderArea
240 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
248 class 128789 "ChatWidget"
254 explicit_switch_type ""
256 classrelation 129208 // <generalisation>
257 relation 129208 ---|>
259 cpp default "${type}"
260 classrelation_ref 129208 // <generalisation>
261 b parent class_ref 128568 // QDockWidget
264 operation 128107 "textEntered"
266 public explicit_return_type "void"
268 param in name "text" type class_ref 128440 // QString
269 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
271 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
279 operation 128235 "displayText"
281 public explicit_return_type "void"
283 param in name "text" type class_ref 128440 // QString
284 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
286 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
295 class 128917 "MainWindow"
301 explicit_switch_type ""
303 attribute 129301 "loop"
304 private type class_ref 130325 // GameLoop
311 attribute 129173 "net"
312 private type class_ref 130069 // Network
319 attribute 128917 "sync"
320 private type class_ref 130709 // SyncSharedCondition
327 attribute 129429 "settings"
328 private type class_ref 130453 // SettingsManager
335 attribute 128040 "playersInfo"
336 private explicit_type "QMap<int,PlayerInfo>"
337 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
344 attribute 128637 "suggester"
345 private type class_ref 129720 // Suggester
346 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
353 attribute 128149 "render"
354 private type class_ref 128661 // RenderWidget
361 attribute 128277 "chat"
362 private type class_ref 128789 // ChatWidget
369 attribute 129848 "timer"
370 private type class_ref 128381 // TimerWidget
371 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
378 operation 128175 "loadGame"
379 public explicit_return_type "bool"
381 param in name "fileName" type class_ref 128440 // QString
382 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
384 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
392 operation 128047 "saveGame"
393 public explicit_return_type "bool"
395 param in name "fileName" type class_ref 128440 // QString
396 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
398 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
406 classrelation 128917 // <directional composition>
408 a role_name "" protected
409 classrelation_ref 128917 // <directional composition>
410 b parent class_ref 128789 // ChatWidget
413 classrelation 129045 // <directional composition>
415 a role_name "" protected
416 classrelation_ref 129045 // <directional composition>
417 b parent class_ref 128661 // RenderWidget
420 classrelation 128019 // <generalisation>
421 relation 128019 ---|>
423 classrelation_ref 128019 // <generalisation>
424 b parent class_ref 128019 // QMainWindow
427 classrelation 128440 // <directional composition>
429 a role_name "" protected
430 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
432 classrelation_ref 128440 // <directional composition>
433 b parent class_ref 130069 // Network
436 classrelation 128568 // <directional composition>
438 a role_name "" protected
439 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
441 classrelation_ref 128568 // <directional composition>
442 b parent class_ref 129941 // AI
445 classrelation 128696 // <directional composition>
447 a role_name "" protected
448 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
450 classrelation_ref 128696 // <directional composition>
451 b parent class_ref 130709 // SyncSharedCondition
454 classrelation 128264 // <directional composition>
456 a role_name "" protected
457 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
459 classrelation_ref 128264 // <directional composition>
460 b parent class_ref 130453 // SettingsManager
463 classrelation 128262 // <directional composition>
465 a role_name "" protected
466 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
468 classrelation_ref 128262 // <directional composition>
469 b parent class_ref 130325 // GameLoop
472 operation 128392 "turn"
474 public explicit_return_type "void"
476 param in name "player" type class_ref 129045 // Player
477 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
479 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
487 operation 128361 "drawMove"
489 public explicit_return_type "void"
491 param in name "move" type class_ref 129301 // Move
492 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
494 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
500 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
503 operation 128060 "undoMoves"
505 public explicit_return_type "void"
507 param in name "index" explicit_type "QModelIndex"
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}{
516 comment "disattiva la possibilitร da parte dell'utente di eseguire mosse
517 resetta su render e game matrix le caselle indicate nella lista index+1..n
518 invoca setLastRound(index-2...index) su game matrix
519 setta su GameLoop il turno con setTurn(index+1.id())
520 toglie gli elementi index+1..n dalla history
521 invoca notifyMove(Point_null)
525 operation 128700 "showPastGameStatus"
527 public explicit_return_type "void"
529 param in name "index" explicit_type "QModelIndex"
530 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
532 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
538 comment "vedi pesablock, รจ il gestore dell'evento history::clicked"
541 operation 130360 "forceMove"
543 public explicit_return_type "void"
545 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
547 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
555 attribute 129976 "history"
556 private type class_ref 129848 // HistoryModel
557 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
564 classrelation 130744 // <directional composition>
566 a role_name "" protected
567 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
569 classrelation_ref 130744 // <directional composition>
570 b parent class_ref 129848 // HistoryModel
573 attribute 130232 "gameMatrix"
574 private type class_ref 129557 // GameMatrix
575 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
582 attribute 128381 "playersWidget"
583 private type class_ref 129021 // PlayersWidget
584 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
591 classrelation 129533 // <directional composition>
593 a role_name "" protected
594 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
596 classrelation_ref 129533 // <directional composition>
597 b parent class_ref 129720 // Suggester
600 classrelation 128316 // <directional composition>
602 a role_name "" protected
603 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
605 classrelation_ref 128316 // <directional composition>
606 b parent class_ref 128381 // TimerWidget
609 classrelation 128572 // <directional composition>
611 a role_name "" protected
612 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
614 classrelation_ref 128572 // <directional composition>
615 b parent class_ref 129021 // PlayersWidget
618 classrelation 128700 // <directional composition>
620 a role_name "" protected
621 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
623 classrelation_ref 128700 // <directional composition>
624 b parent class_ref 128893 // QTableView
627 attribute 128188 "historyView"
628 private type class_ref 128893 // QTableView
629 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
636 operation 129206 "newStandAloneGame"
638 public explicit_return_type "void"
640 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
642 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
650 classrelation 128054 // <unidirectional association>
652 a role_name "" multiplicity "0..3" private
653 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
655 classrelation_ref 128054 // <unidirectional association>
656 b parent class_ref 129976 // PlayerInfo
660 class 129045 "Player"
661 abstract visibility package
666 explicit_switch_type ""
668 operation 128617 "Player"
669 public explicit_return_type ""
671 param in name "id" explicit_type "int"
672 param in name "sync" type class_ref 130709 // SyncSharedCondition
673 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
675 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
683 attribute 128745 "sync"
684 private type class_ref 130709 // SyncSharedCondition
685 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
692 operation 128184 "move"
693 abstract cpp_virtual public return_type class_ref 129301 // Move
695 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
702 attribute 128168 "id"
703 const_attribute private explicit_type "int"
704 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
711 operation 128040 "id"
712 const public explicit_return_type "int"
714 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
716 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
731 explicit_switch_type ""
734 private explicit_type "int"
735 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
743 private explicit_type "int"
744 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
752 private explicit_type "int"
753 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
760 operation 128875 "Point"
761 public explicit_return_type ""
763 param in name "x" explicit_type "int"
764 param in name "y" explicit_type "int"
765 param in name "z" explicit_type "int"
766 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
768 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
783 explicit_switch_type ""
785 attribute 128405 "playerId"
786 private explicit_type "int"
793 attribute 128533 "coord"
794 private type class_ref 129173 // Point
801 classrelation 129173 // <directional composition>
803 a role_name "" protected
804 classrelation_ref 129173 // <directional composition>
805 b parent class_ref 129173 // Point
808 operation 129641 "Move"
809 public explicit_return_type ""
811 param in name "id" explicit_type "int"
812 param in name "coord" type class_ref 129173 // Point
813 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
815 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
824 class 129557 "GameMatrix"
830 explicit_switch_type ""
832 comment "istanziata da MainWindow e passata poi a GameLoop"
833 attribute 128042 "EmptyPoint"
834 class_attribute const_attribute private explicit_type "int"
836 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
843 operation 130104 "GameMatrix"
844 public explicit_return_type ""
846 param in name "dim1" explicit_type "int"
847 param in name "dim2" explicit_type "int"
848 param in name "numPlayers" explicit_type "int"
849 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
851 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
859 attribute 128873 "lastRound"
860 private explicit_type "QList<Point>"
861 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
866 comment "/buffer delle ultime mosse da rivedere"
869 attribute 129129 "dim1"
870 private explicit_type "int"
871 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
878 attribute 129257 "dim2"
879 private explicit_type "int"
880 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
887 operation 129513 "add"
888 public explicit_return_type "bool"
890 param in name "move" type class_ref 129301 // Move
891 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
893 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
899 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
902 operation 130232 "numberOfPlayers"
903 public explicit_return_type "int"
905 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
907 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
913 comment "lastRound.size()"
916 operation 128188 "setLastRound"
917 public explicit_return_type "void"
919 param in name "round" explicit_type "QList<Point>"
920 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
922 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
930 operation 128554 "clear"
931 public explicit_return_type "void"
933 param in name "point" type class_ref 129173 // Point
934 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
936 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
945 class 129685 "SceneGraph"
951 explicit_switch_type ""
955 class 129813 "QWaitCondition"
961 explicit_switch_type ""
963 operation 130025 "wait"
964 public explicit_return_type "bool"
966 param in name "lock" type class_ref 130837 // QMutex
967 param in name "timeout" explicit_type "unsigned long"
968 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
970 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
978 operation 130153 "wakeOne"
979 public explicit_return_type "void"
981 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
983 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
998 explicit_switch_type ""
1000 attribute 128084 "mat"
1001 private type class_ref 129557 // GameMatrix
1008 operation 128084 "AI"
1009 public explicit_return_type ""
1011 param in name "id" explicit_type "int"
1012 param in name "mat" type class_ref 129557 // GameMatrix
1019 operation 128212 "move"
1020 public return_type class_ref 129301 // Move
1022 param in name "level" explicit_type "int"
1027 comment "prima di ritornare la mossa mette a false il bool forceMove"
1030 attribute 128296 "playerId"
1031 const_attribute private explicit_type "int"
1032 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1039 attribute 128424 "forceMove"
1040 private explicit_type "bool"
1041 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1046 comment "default false."
1049 operation 129976 "forceMove"
1050 public explicit_return_type "void"
1052 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1054 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1060 comment "setta a true il bool forceMove"
1064 class 130069 "Network"
1070 explicit_switch_type ""
1072 operation 128340 "sendChatMsg"
1074 public explicit_return_type "void"
1076 param in name "msg" type class_ref 128440 // QString
1077 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1084 operation 128468 "sendMove"
1086 public explicit_return_type "void"
1088 param in name "move" type class_ref 129301 // Move
1089 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1096 attribute 128552 "CurrentPlayer"
1097 private explicit_type "int"
1098 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1103 comment "rappresenta l'ID del player che usa la GUI in una partita online.
1104 puรฒ essere uno solo per partita online quindi va settato una volta che si รจ ricevuta lista edi giocatori e quindi l'id del giocatore locale."
1107 operation 128956 "receivedChatMsg"
1109 public explicit_return_type "void"
1111 param in name "msg" type class_ref 128440 // QString
1112 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1114 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1122 operation 128363 "receivedMove"
1124 public explicit_return_type "void"
1126 param in name "move" type class_ref 129301 // Move
1127 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1129 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1137 operation 128042 "sendGameSettings"
1138 public explicit_return_type "void"
1140 param in name "d1" explicit_type "int"
1141 param in name "d2" explicit_type "int"
1142 param in name "playersType" explicit_type "QStringList"
1143 param in name "timer" explicit_type "int"
1144 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1146 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1154 operation 128426 "sendPlayersInfo"
1155 public explicit_return_type "void"
1157 param in name "info" explicit_type "QList<PlayerInfo>"
1158 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1160 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1169 class 130197 "QThread"
1170 abstract visibility package
1175 explicit_switch_type ""
1177 operation 128393 "run"
1178 abstract cpp_virtual protected explicit_return_type "void"
1180 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1188 class 130325 "GameLoop"
1194 explicit_switch_type ""
1196 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."
1197 operation 128054 "GameLoop"
1198 public explicit_return_type ""
1200 param in name "players" explicit_type "QList<Player>"
1201 param in name "mat" type class_ref 129557 // GameMatrix
1202 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, ${t2} ${p2}, const ${t3} & ${p3}${)}${volatile}${throw};
1204 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1212 operation 128316 "setTurn"
1213 public explicit_return_type "void"
1215 param in name "id" explicit_type "int"
1216 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1218 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1226 classrelation 130069 // <realization>
1227 relation 130069 -_-|>
1229 classrelation_ref 130069 // <realization>
1230 b parent class_ref 130197 // QThread
1233 attribute 128264 "players"
1234 private explicit_type "QList<Player>"
1235 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1242 operation 128520 "run"
1243 protected explicit_return_type "void"
1245 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1247 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1255 attribute 128134 "mat"
1256 private type class_ref 129557 // GameMatrix
1257 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1264 classrelation 128134 // <directional composition>
1265 relation 128134 *-->
1266 a role_name "" protected
1267 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1269 classrelation_ref 128134 // <directional composition>
1270 b parent class_ref 129557 // GameMatrix
1273 operation 128233 "moved"
1275 public explicit_return_type "void"
1277 param in name "move" type class_ref 129301 // Move
1278 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1280 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1288 operation 128264 "turn"
1290 public explicit_return_type "void"
1292 param in name "player" type class_ref 129045 // Player
1293 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1300 attribute 129592 "currentPlayer"
1301 private type class_ref 129045 // Player
1302 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1307 comment "mantenuto consistente per poter effettuare la forceMove()"
1310 operation 130488 "forceMove"
1312 public explicit_return_type "void"
1314 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1316 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1324 classrelation 128042 // <directional composition>
1325 relation 128042 *-->
1326 a role_name "" multiplicity "2..3" protected
1327 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1329 classrelation_ref 128042 // <directional composition>
1330 b parent class_ref 129045 // Player
1334 class 130709 "SyncSharedCondition"
1340 explicit_switch_type ""
1342 attribute 129557 "sync"
1343 private type class_ref 129813 // QWaitCondition
1350 attribute 128105 "point"
1351 private type class_ref 129173 // Point
1352 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1359 operation 129129 "waitForMove"
1360 public return_type class_ref 129173 // Point
1362 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1364 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1372 operation 129257 "notifyMove"
1373 public explicit_return_type "void"
1375 param in name "p" type class_ref 129173 // Point
1376 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1378 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1386 classrelation 128105 // <generalisation>
1387 relation 128105 ---|>
1389 cpp default "${type}"
1390 classrelation_ref 128105 // <generalisation>
1391 b parent class_ref 130837 // QMutex
1394 classrelation 128168 // <directional composition>
1395 relation 128168 *-->
1396 a role_name "" protected
1397 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1399 classrelation_ref 128168 // <directional composition>
1400 b parent class_ref 129813 // QWaitCondition
1404 class 130837 "QMutex"
1410 explicit_switch_type ""
1412 operation 129769 "lock"
1413 public explicit_return_type "void"
1415 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1417 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1425 operation 129897 "unlock"
1426 public explicit_return_type "void"
1428 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1430 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1439 class 128019 "QMainWindow"
1445 explicit_switch_type ""
1449 class 128056 "HumanPlayer"
1451 cpp_decl "${comment}${template}class ${name}${inherit} {
1458 explicit_switch_type ""
1460 operation 128745 "HumanPlayer"
1461 public explicit_return_type ""
1463 param in name "id" explicit_type "int"
1464 param in name "sync" type class_ref 130709 // SyncSharedCondition
1465 param in name "render" type class_ref 128661 // RenderWidget
1466 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1468 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1476 operation 128440 "move"
1477 cpp_virtual public return_type class_ref 129301 // Move
1479 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1481 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1489 attribute 128233 "render"
1490 private type class_ref 128661 // RenderWidget
1491 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1498 classrelation 128361 // <realization>
1499 relation 128361 -_-|>
1501 cpp default "${type}"
1502 classrelation_ref 128361 // <realization>
1503 b parent class_ref 129045 // Player
1507 class 128184 "RemotePlayer"
1509 cpp_decl "${comment}${template}class ${name}${inherit} {
1516 explicit_switch_type ""
1518 operation 128873 "RemotePlayer"
1519 public explicit_return_type ""
1521 param in name "id" explicit_type "int"
1522 param in name "sync" type class_ref 130709 // SyncSharedCondition
1523 param in name "net" type class_ref 130069 // Network
1524 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1526 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1534 operation 128568 "move"
1535 cpp_virtual public return_type class_ref 129301 // Move
1537 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1539 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1547 attribute 128361 "net"
1548 private type class_ref 130069 // Network
1549 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1556 classrelation 128489 // <realization>
1557 relation 128489 -_-|>
1559 cpp default "${type}"
1560 classrelation_ref 128489 // <realization>
1561 b parent class_ref 129045 // Player
1565 class 128312 "AIPlayer"
1567 cpp_decl "${comment}${template}class ${name}${inherit} {
1574 explicit_switch_type ""
1576 operation 129001 "AIPlayer"
1577 public explicit_return_type ""
1579 param in name "id" explicit_type "int"
1580 param in name "sync" type class_ref 130709 // SyncSharedCondition
1581 param in name "mat" type class_ref 129557 // GameMatrix
1582 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1584 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1590 comment "inizializza skill con la costante di classe DefaultSkill"
1593 attribute 128386 "DefaultSkill"
1594 class_attribute const_attribute private explicit_type "int"
1595 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1602 operation 128696 "move"
1603 cpp_virtual public return_type class_ref 129301 // Move
1605 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1607 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1615 classrelation 128617 // <realization>
1616 relation 128617 -_-|>
1618 cpp default "${type}"
1619 classrelation_ref 128617 // <realization>
1620 b parent class_ref 129045 // Player
1623 attribute 128258 "skill"
1624 private explicit_type "int"
1625 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1632 operation 128002 "skill"
1633 const public explicit_return_type "int"
1635 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1637 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1645 operation 128130 "setSkill"
1646 public explicit_return_type "void"
1648 param in name "sk" explicit_type "int"
1649 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1651 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1659 classrelation 130360 // <generalisation>
1660 relation 130360 ---|>
1662 cpp default "${type}"
1663 classrelation_ref 130360 // <generalisation>
1664 b parent class_ref 129941 // AI
1668 class 128440 "QString"
1670 cpp_decl "${comment}${template}class ${name}${inherit} {
1677 explicit_switch_type ""
1681 class 128568 "QDockWidget"
1683 cpp_decl "${comment}${template}class ${name}${inherit} {
1690 explicit_switch_type ""
1692 classrelation 128009 // <generalisation>
1693 relation 128009 ---|>
1695 cpp default "${type}"
1696 classrelation_ref 128009 // <generalisation>
1697 b parent class_ref 128533 // QWidget
1701 class 128008 "QSettings"
1703 cpp_decl "${comment}${template}class ${name}${inherit} {
1710 explicit_switch_type ""
1714 class 129720 "Suggester"
1716 cpp_decl "${comment}${template}class ${name}${inherit} {
1723 explicit_switch_type ""
1725 operation 130744 "Suggester"
1726 public explicit_return_type ""
1728 param in name "id" explicit_type "int"
1729 param in name "mat" type class_ref 129557 // GameMatrix
1730 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
1732 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1740 attribute 128130 "SuggestedMoveLevel"
1741 class_attribute const_attribute private explicit_type "int"
1742 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1749 classrelation 130488 // <generalisation>
1750 relation 130488 ---|>
1751 stereotype "private"
1753 cpp default "${type}"
1754 classrelation_ref 130488 // <generalisation>
1755 b parent class_ref 129941 // AI
1758 classrelation 130616 // <realization>
1759 relation 130616 -_-|>
1761 cpp default "${type}"
1762 classrelation_ref 130616 // <realization>
1763 b parent class_ref 130197 // QThread
1766 operation 130616 "run"
1767 protected explicit_return_type "void"
1769 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1771 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1779 operation 128056 "suggestMove"
1780 public return_type class_ref 129173 // Point
1782 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1784 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1790 comment "prima di ritornare mettea false il bool forceMove"
1793 operation 130872 "suggestedMoveReady"
1795 public explicit_return_type "void"
1797 param in name "point" type class_ref 129173 // Point
1798 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1800 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1808 classrelation 129405 // <directional composition>
1809 relation 129405 *-->
1810 a role_name "" protected
1811 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1813 classrelation_ref 129405 // <directional composition>
1814 b parent class_ref 129720 // Suggester
1818 class 129848 "HistoryModel"
1820 cpp_decl "${comment}${template}class ${name}${inherit} {
1827 explicit_switch_type ""
1829 attribute 130104 "history"
1830 private explicit_type "QList<Move>"
1831 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1838 operation 128765 "columnCount"
1839 const cpp_virtual public explicit_return_type "int"
1841 param in name "parent" explicit_type "QModelIndex"
1842 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1849 operation 128637 "rowCount"
1850 const cpp_virtual public explicit_return_type "int"
1852 param in name "parent" explicit_type "QModelIndex"
1853 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1860 operation 128509 "data"
1861 const cpp_virtual public explicit_return_type "QVariant"
1863 param in name "index" explicit_type "QModelIndex"
1864 param in name "role" explicit_type "int"
1865 defaultvalue "Qt::DisplayRole"
1866 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
1873 operation 128893 "flags"
1874 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
1876 param in name "index" explicit_type "QModelIndex"
1877 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1879 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1887 operation 129021 "headerData"
1888 const cpp_virtual public explicit_return_type "QVariant"
1890 param in name "section" explicit_type "int"
1891 param in name "orientation" explicit_type "Qt::Orientation"
1892 param in name "role" explicit_type "int"
1893 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
1895 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1903 operation 131128 "add"
1904 public explicit_return_type "void"
1906 param in name "move" type class_ref 129301 // Move
1907 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1909 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1917 classrelation 128637 // <realization>
1918 relation 128637 -_-|>
1920 cpp default "${type}"
1921 classrelation_ref 128637 // <realization>
1922 b parent class_ref 128509 // QAbstractTableModel
1925 operation 129259 "insertRows"
1926 cpp_virtual public explicit_return_type "bool"
1928 param in name "row" explicit_type "int"
1929 param in name "count" explicit_type "int"
1930 param in name "parent" explicit_type "QModelIndex"
1931 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1933 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1941 operation 129387 "removeRows"
1942 cpp_virtual public explicit_return_type "bool"
1944 param in name "row" explicit_type "int"
1945 param in name "count" explicit_type "int"
1946 param in name "parent" explicit_type "QModelIndex"
1947 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1949 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1958 class 129976 "PlayerInfo"
1960 cpp_decl "${comment}${template}class ${name}${inherit} {
1967 explicit_switch_type ""
1969 attribute 130360 "name"
1970 private type class_ref 128440 // QString
1971 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1978 attribute 130488 "color"
1979 private explicit_type "QColor"
1980 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1987 attribute 130616 "type"
1988 private type class_ref 128440 // QString
1989 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1996 operation 129131 "PlayerInfo"
1997 public explicit_return_type ""
1999 param in name "name" type class_ref 128440 // QString
2000 param in name "color" type class_ref 128253 // QColor
2001 param in name "type" type class_ref 128440 // QString
2002 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2004 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2013 class 128125 "QTimer"
2015 cpp_decl "${comment}${template}class ${name}${inherit} {
2022 explicit_switch_type ""
2024 operation 128125 "timeout"
2026 public explicit_return_type "void"
2028 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2030 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2038 operation 128253 "start"
2040 public explicit_return_type "void"
2042 param in name "msec" explicit_type "int"
2043 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2045 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2053 operation 128381 "stop"
2055 public explicit_return_type "void"
2057 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2059 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2068 class 128253 "QColor"
2070 cpp_decl "${comment}${template}class ${name}${inherit} {
2077 explicit_switch_type ""
2081 class 128381 "TimerWidget"
2083 cpp_decl "${comment}${template}class ${name}${inherit} {
2090 explicit_switch_type ""
2092 attribute 128125 "timer"
2093 private type class_ref 128125 // QTimer
2094 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2101 classrelation 128381 // <directional composition>
2102 relation 128381 *-->
2103 a role_name "" protected
2104 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2106 classrelation_ref 128381 // <directional composition>
2107 b parent class_ref 128125 // QTimer
2110 classrelation 128509 // <generalisation>
2111 relation 128509 ---|>
2113 cpp default "${type}"
2114 classrelation_ref 128509 // <generalisation>
2115 b parent class_ref 128533 // QWidget
2119 class 128509 "QAbstractTableModel"
2120 abstract visibility package
2121 cpp_decl "${comment}${template}class ${name}${inherit} {
2128 explicit_switch_type ""
2132 class 128893 "QTableView"
2134 cpp_decl "${comment}${template}class ${name}${inherit} {
2141 explicit_switch_type ""
2143 classrelation 128444 // <generalisation>
2144 relation 128444 ---|>
2146 cpp default "${type}"
2147 classrelation_ref 128444 // <generalisation>
2148 b parent class_ref 128533 // QWidget
2152 class 129021 "PlayersWidget"
2154 cpp_decl "${comment}${template}class ${name}${inherit} {
2161 explicit_switch_type ""
2163 comment "rappresenta turno, colore, tipo, nome dei players"
2164 operation 129149 "PlayersWidget"
2165 public explicit_return_type ""
2167 param in name "info" explicit_type "QMap<int,PlayerInfo>"
2168 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2170 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2176 comment "crea un QLabel per ogni player con freccia turno, colore, tipo, nome."
2179 classrelation 128828 // <generalisation>
2180 relation 128828 ---|>
2182 cpp default "${type}"
2183 classrelation_ref 128828 // <generalisation>
2184 b parent class_ref 128533 // QWidget
2188 class 128426 "AbstractSettings"
2189 abstract visibility package
2190 cpp_decl "${comment}${template}class ${name}${inherit} {
2197 explicit_switch_type ""
2199 operation 128776 "language"
2200 abstract const cpp_virtual public return_type class_ref 128440 // QString
2202 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2209 operation 129416 "geometry"
2210 abstract const cpp_virtual public explicit_return_type "QByteArray"
2212 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2219 operation 128444 "defaultCubeColor"
2220 abstract const cpp_virtual public return_type class_ref 128253 // QColor
2222 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2229 operation 128619 "backgroundColor"
2230 abstract const cpp_virtual public return_type class_ref 128253 // QColor
2232 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2239 operation 129544 "setLanguage"
2240 abstract cpp_virtual public explicit_return_type "void"
2242 param in name "lang" type class_ref 128440 // QString
2243 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2250 operation 129800 "setGeometry"
2251 abstract cpp_virtual public explicit_return_type "void"
2253 param in name "geom" explicit_type "QByteArray"
2254 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2261 operation 128572 "setDefaultCubeColor"
2262 abstract cpp_virtual public explicit_return_type "void"
2264 param in name "color" type class_ref 128253 // QColor
2265 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2272 operation 128747 "setBackgroundColor"
2273 abstract cpp_virtual public explicit_return_type "void"
2275 param in name "color" type class_ref 128253 // QColor
2276 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2284 class 130453 "SettingsManager"
2285 abstract visibility package
2286 cpp_decl "${comment}${template}class ${name}${inherit} {
2293 explicit_switch_type ""
2295 operation 128904 "playersInfo"
2296 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
2298 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2305 operation 129032 "difficulty1"
2306 abstract const cpp_virtual public explicit_return_type "int"
2308 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2315 operation 129160 "difficulty2"
2316 abstract const cpp_virtual public explicit_return_type "int"
2318 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2325 operation 129672 "setPlayersInfo"
2326 abstract cpp_virtual public explicit_return_type "void"
2328 param in name "info" explicit_type "QList<PlayerInfo>"
2329 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2336 operation 128009 "setDifficulty1"
2337 abstract cpp_virtual public explicit_return_type "void"
2339 param in name "d1" explicit_type "int"
2340 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
2347 operation 128137 "setDifficulty2"
2348 abstract cpp_virtual public explicit_return_type "void"
2350 param in name "d2" explicit_type "int"
2351 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2358 classrelation 129450 // <generalisation>
2359 relation 129450 ---|>
2361 cpp default "${type}"
2362 classrelation_ref 129450 // <generalisation>
2363 b parent class_ref 128426 // AbstractSettings
2367 class 128042 "LocalSettings"
2369 cpp_decl "${comment}${template}class ${name}${inherit} {
2376 explicit_switch_type ""
2378 classrelation 129578 // <generalisation>
2379 relation 129578 ---|>
2381 cpp default "${type}"
2382 classrelation_ref 129578 // <generalisation>
2383 b parent class_ref 128298 // GUISettings
2386 classrelation 129962 // <realization>
2387 relation 129962 -_-|>
2389 cpp default "${type}"
2390 classrelation_ref 129962 // <realization>
2391 b parent class_ref 130453 // SettingsManager
2395 class 128170 "ServerSettings"
2397 cpp_decl "${comment}${template}class ${name}${inherit} {
2404 explicit_switch_type ""
2406 operation 128170 "timerDuration"
2407 const public explicit_return_type "int"
2409 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2411 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2419 operation 128298 "setTimerDuration"
2420 public explicit_return_type "void"
2422 param in name "msec" explicit_type "int"
2423 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2425 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2433 classrelation 129706 // <generalisation>
2434 relation 129706 ---|>
2436 cpp default "${type}"
2437 classrelation_ref 129706 // <generalisation>
2438 b parent class_ref 128298 // GUISettings
2441 classrelation 129834 // <realization>
2442 relation 129834 -_-|>
2444 cpp default "${type}"
2445 classrelation_ref 129834 // <realization>
2446 b parent class_ref 130453 // SettingsManager
2450 class 128298 "GUISettings"
2452 cpp_decl "${comment}${template}class ${name}${inherit} {
2459 explicit_switch_type ""
2461 classrelation 129194 // <realization>
2462 relation 129194 -_-|>
2464 cpp default "${type}"
2465 classrelation_ref 129194 // <realization>
2466 b parent class_ref 128426 // AbstractSettings
2469 classrelation 129322 // <generalisation>
2470 relation 129322 ---|>
2471 stereotype "protected"
2473 cpp default "${type}"
2474 classrelation_ref 129322 // <generalisation>
2475 b parent class_ref 128008 // QSettings
2479 sequencediagram 128054 "InitSequence"
2480 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
2481 overlapping_bars size A1
2484 activity 128054 "Activity"
2485 activitydiagram 128182 "InitActivity"
2486 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 no shadow default
2487 show_infonote default drawing_language default
2491 activitynode 128054 initial ""
2492 flow 128054 "<flow>"
2493 on activityaction_ref 128054 // activity action Inizializza le componenti fondamentali
2497 activityaction 128054 "Inizializza le componenti fondamentali"
2499 flow 128182 "<flow>"
2500 on activityaction_ref 128182 // activity action Attendi un segnale
2504 activityaction 128182 "Attendi un segnale"
2506 flow 128310 "<flow>"
2507 on activitynode_ref 128182 // decision
2511 activitynode 128182 decision ""
2512 flow 128438 "[segnale di quit]"
2513 on activitynode_ref 128310 // activity_final
2516 flow 128694 "[segnale di nuova partita online mod. client]"
2517 on activityaction_ref 128438 // activity action Inizializza settings client
2520 flow 128822 "[segnale di ospita partita online]"
2521 on activityaction_ref 128566 // activity action Inizializza settings server
2524 flow 129590 "[segnale di nuova partita stand-alone]"
2525 on activityaction_ref 128950 // activity action Inizializza settings stand-alone
2529 activitynode 128310 activity_final ""
2532 activityaction 128310 "Acquisisci opzioni dall'utente"
2536 activityaction 128438 "Inizializza settings client"
2538 flow 129078 "<flow>"
2539 on activityobject_ref 128310 // activity object settings
2543 activityaction 128566 "Inizializza settings server"
2545 flow 129334 "<flow>"
2546 on activityobject_ref 128438 // activity object settings
2550 activityaction 128694 "Acquisisci indirizzo IP del server dall'utente"
2554 activityobject 128310 "settings"
2555 type class_ref 128042 // LocalSettings
2556 unordered is_control
2557 flow 129206 "<flow>"
2558 on activityaction_ref 128694 // activity action Acquisisci indirizzo IP del server dall'utente
2562 activityobject 128438 "settings"
2563 type class_ref 128170 // ServerSettings
2564 unordered is_control
2565 flow 129462 "<flow>"
2566 on activityaction_ref 128822 // activity action Acquisisci impostazioni del server dall'utente
2570 activityaction 128822 "Acquisisci impostazioni del server dall'utente"
2574 activityaction 128950 "Inizializza settings stand-alone"
2576 flow 129718 "<flow>"
2577 on activityobject_ref 128566 // activity object settings
2581 activityobject 128566 "settings"
2582 type class_ref 128042 // LocalSettings
2583 unordered is_control
2584 flow 129846 "<flow>"
2585 on activityaction_ref 128310 // activity action Acquisisci opzioni dall'utente
2593 formal name "K" type "typename" explicit_default_value ""
2595 formal name "T" type "typename" explicit_default_value ""
2597 cpp_decl "${comment}${template}class ${name}${inherit} {
2604 explicit_switch_type ""
2608 class 128182 "QList"
2610 cpp_decl "${comment}${template}class ${name}${inherit} {
2617 explicit_switch_type ""
2622 package_ref 128002 // GUI
2624 package_ref 128130 // Network
2626 package_ref 128258 // Core
2628 package_ref 128386 // AI