4 modified_by 70 "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 "GoMoku3D"
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 classdiagram 128078 "NetworkDiagram"
76 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
80 state 129163 "NetworkProtocol"
82 statediagram 128114 "ClientSide"
83 package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition yes draw_all_relations yes shadow default
84 show_activities yes region_horizontally default drawing_language default
88 statediagram 128206 "ServerSide"
89 package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition yes draw_all_relations yes shadow default
90 show_activities yes region_horizontally default drawing_language default
94 pseudostate 128114 initial
95 transition 128114 "<transition>"
96 on state_ref 128067 // Unconnected
101 state 128067 "Unconnected"
102 transition 128323 "<transition>"
103 on state_ref 128195 // Connecting
104 uml_trigger "connectToHost()"
108 transition 128525 "<transition>"
109 on state_ref 128078 // Listening
110 uml_trigger "listen()"
115 state 128078 "Listening"
116 transition 128926 "<transition>"
117 on state_ref 128158 // Connected
118 uml_trigger "newConnection()"
119 uml_expr "handleIncomingConnection()"
124 state 128195 "Connecting"
125 transition 128370 "<transition>"
126 on state_ref 128114 // Opening Stream
127 uml_trigger "[connected] openStream()"
132 state 128158 "Connected"
133 transition 129453 "<transition>"
134 on state_ref 128114 // Opening Stream
135 uml_trigger "openStream()"
140 state 128114 "Opening Stream"
141 transition 128498 "<transition>"
142 on state_ref 128365 // Closing
143 uml_trigger "received protocol version
145 uml_guard "not supported"
149 transition 128626 "<transition>"
150 on state_ref 128242 // Fully Opened
151 uml_trigger "received protocol version
153 uml_guard "supported"
158 state 128242 "Fully Opened"
159 transition 129522 "<transition>"
160 on state_ref 128754 // Idle
161 uml_trigger "[received <settings>]
162 receivedGameSettings()"
166 transition 129325 "<transition>"
167 on state_ref 129197 // Awaiting Join Request
168 uml_trigger "sendGameSettings()"
174 uml_do_activity "playerJoined()
176 transition 129650 "<transition>"
177 on state_ref 128498 // Awaiting Join Answer
178 uml_trigger "joinGame()"
182 transition 128008 "<transition>"
183 on state_ref 128365 // Closing
189 state 129197 "Awaiting Join Request"
190 uml_do_activity "sendPlayerJoined()
191 do / sendPlayerLeft()
192 join request / [name already used] refuseJoin()"
193 transition 128013 "<transition>"
194 on pseudostate_ref 128013 // junction
195 uml_trigger "join request"
196 uml_expr "acceptJoin()"
200 transition 128070 "<transition>"
201 on state_ref 129197 // Awaiting Join Request
202 uml_trigger "join request"
203 uml_guard "player mode and
204 game already in progress"
210 state 128498 "Awaiting Join Answer"
211 uml_do_activity "playerJoined()
213 transition 129266 "<transition>"
214 on state_ref 128626 // Awaiting Game Start
215 uml_trigger "[received <joinACK>]
220 transition 129778 "<transition>"
221 on state_ref 128754 // Idle
222 uml_trigger "[received <joinNAK>] joinRefused()"
226 transition 129020 "<transition>"
227 on state_ref 128754 // Idle
228 uml_trigger "cancelJoin()"
233 state 128075 "Awaiting Players"
234 uml_do_activity "sendPlayerJoined()
235 do / sendPlayerLeft()"
236 transition 128459 "<transition>"
237 on state_ref 128109 // Playing
238 uml_trigger "all players have joined or
239 game already in progress"
245 transition 129227 "<transition>"
246 on state_ref 129197 // Awaiting Join Request
247 uml_trigger "join cancelled"
248 uml_expr "sendPlayerLeft()"
253 state 128626 "Awaiting Game Start"
254 uml_do_activity "playerJoined()
256 do / receivedHistory()"
257 transition 129394 "<transition>"
258 on state_ref 128109 // Playing
259 uml_trigger "[received <startGame>]
264 transition 128892 "<transition>"
265 on state_ref 128754 // Idle
266 uml_trigger "cancelJoin()"
271 state 128109 "Playing"
272 transition 128237 "<transition>"
273 on state_ref 128237 // Awaiting Move
274 uml_trigger "requestMove()"
278 transition 129005 "<transition>"
279 on state_ref 128365 // Closing
280 uml_trigger "game terminated"
284 transition 128198 "<transition>"
285 on state_ref 128109 // Playing
286 uml_trigger "local player moved"
287 uml_expr "sendMove()"
291 state 128237 "Awaiting Move"
292 transition 129261 "<transition>"
293 on state_ref 128109 // Playing
294 uml_trigger "move received"
295 uml_expr "notifyMove()"
300 state 128365 "Closing"
301 transition 130379 "<transition>"
302 on state_ref 129355 // Closed
303 uml_trigger "closeStream()"
308 state 129355 "Closed"
309 transition 130507 "<transition>"
310 on pseudostate_ref 128334 // final
315 pseudostate 128013 junction
316 transition 128141 "<transition>"
317 on state_ref 128075 // Awaiting Players
321 transition 128269 "<transition>"
322 on state_ref 128075 // Awaiting Players
323 uml_guard "spectator mode and
324 game already in progress"
331 pseudostate 128334 final
335 class 128019 "QMainWindow"
341 explicit_switch_type ""
345 class 128917 "MainWindow"
351 explicit_switch_type ""
353 attribute 129301 "_loop"
354 private type class_ref 130325 // GameLoop
361 attribute 129173 "_net"
362 private type class_ref 130069 // Network
369 attribute 129429 "_settings"
370 private type class_ref 130453 // SettingsManager
377 attribute 128040 "_playersInfo"
378 private explicit_type "QMap<int,PlayerInfo>"
379 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
386 attribute 128637 "_suggester"
387 private type class_ref 129720 // Suggester
388 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
395 attribute 128149 "_render"
396 private type class_ref 128661 // RenderWidget
403 attribute 128277 "_chat"
404 private type class_ref 128789 // ChatWidget
411 attribute 129848 "_timer"
412 private type class_ref 128381 // TimerWidget
413 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
420 operation 128175 "loadGame"
421 public explicit_return_type "bool"
423 param in name "fileName" type class_ref 128440 // QString
424 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
426 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
434 operation 128047 "saveGame"
435 public explicit_return_type "bool"
437 param in name "fileName" type class_ref 128440 // QString
438 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
440 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
448 classrelation 128917 // <directional composition>
450 a role_name "" multiplicity "0..1" protected
451 classrelation_ref 128917 // <directional composition>
452 b parent class_ref 128789 // ChatWidget
455 classrelation 129045 // <directional composition>
457 a role_name "" multiplicity "0..1" protected
458 classrelation_ref 129045 // <directional composition>
459 b parent class_ref 128661 // RenderWidget
462 classrelation 128019 // <generalisation>
463 relation 128019 ---|>
465 classrelation_ref 128019 // <generalisation>
466 b parent class_ref 128019 // QMainWindow
469 classrelation 128440 // <directional composition>
471 a role_name "" multiplicity "0..1" protected
472 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
474 classrelation_ref 128440 // <directional composition>
475 b parent class_ref 130069 // Network
478 classrelation 128568 // <directional composition>
480 a role_name "" protected
481 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
483 classrelation_ref 128568 // <directional composition>
484 b parent class_ref 129941 // AI
487 classrelation 128264 // <directional composition>
489 a role_name "" protected
490 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
492 classrelation_ref 128264 // <directional composition>
493 b parent class_ref 130453 // SettingsManager
496 classrelation 128262 // <directional composition>
498 a role_name "" protected
499 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
501 classrelation_ref 128262 // <directional composition>
502 b parent class_ref 130325 // GameLoop
505 operation 128392 "turn"
507 public explicit_return_type "void"
509 param in name "player" type class_ref 129045 // Player
510 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
512 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
520 operation 128361 "drawMove"
522 public explicit_return_type "void"
524 param in name "move" type class_ref 129301 // Move
525 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
527 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
533 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
536 operation 128060 "undoMoves"
538 public explicit_return_type "void"
540 param in name "index" explicit_type "QModelIndex"
541 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
543 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
549 comment "disattiva la possibilità da parte dell'utente di eseguire mosse
550 resetta su render e game matrix le caselle indicate nella lista index+1..n
551 invoca setLastRound(index-2...index) su game matrix
552 setta su GameLoop il turno con setTurn(index+1.id())
553 toglie gli elementi index+1..n dalla history
554 invoca notifyMove(Point_null)
558 operation 128700 "showPastGameStatus"
560 public explicit_return_type "void"
562 param in name "index" explicit_type "QModelIndex"
563 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
565 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
571 comment "vedi pesablock, è il gestore dell'evento history::clicked"
574 attribute 129976 "_history"
575 private type class_ref 129848 // HistoryModel
576 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
583 classrelation 130744 // <directional composition>
585 a role_name "" protected
586 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
588 classrelation_ref 130744 // <directional composition>
589 b parent class_ref 129848 // HistoryModel
592 attribute 130232 "_gameMatrix"
593 private type class_ref 129557 // GameMatrix
594 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
601 attribute 128381 "_playersWidget"
602 private type class_ref 129021 // PlayersWidget
603 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
610 classrelation 129533 // <directional composition>
612 a role_name "" multiplicity "0..1" protected
613 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
615 classrelation_ref 129533 // <directional composition>
616 b parent class_ref 129720 // Suggester
619 classrelation 128316 // <directional composition>
621 a role_name "" multiplicity "0..1" protected
622 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
624 classrelation_ref 128316 // <directional composition>
625 b parent class_ref 128381 // TimerWidget
628 classrelation 128572 // <directional composition>
630 a role_name "" protected
631 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
633 classrelation_ref 128572 // <directional composition>
634 b parent class_ref 129021 // PlayersWidget
637 classrelation 128700 // <directional composition>
639 a role_name "" protected
640 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
642 classrelation_ref 128700 // <directional composition>
643 b parent class_ref 128893 // QTableView
646 attribute 128188 "_historyView"
647 private type class_ref 128893 // QTableView
648 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
655 operation 129206 "newStandAloneGame"
657 public explicit_return_type "void"
659 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
661 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
669 classrelation 128054 // <unidirectional association>
671 a role_name "" multiplicity "0..3" private
672 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
674 classrelation_ref 128054 // <unidirectional association>
675 b parent class_ref 129976 // PlayerInfo
678 operation 128020 "playerWin"
680 public explicit_return_type "void"
682 param in name "playerId" explicit_type "int"
683 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
685 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
693 operation 128276 "playersDraw"
695 public explicit_return_type "void"
697 param in name "playersIds" explicit_type "QList<int>"
698 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
700 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
708 operation 130360 "forceMove"
710 public explicit_return_type "void"
712 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
714 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
723 class 128661 "RenderWidget"
725 cpp_decl "${comment}${template}class ${name}${inherit} {
732 explicit_switch_type ""
734 associated_diagram classdiagram_ref 128021 // Global
735 operation 128105 "RenderWidget"
736 public explicit_return_type ""
738 param in name "dim" explicit_type "int"
739 param in name "lock" type class_ref 130709 // SyncSharedCondition
740 param in name "defaultCubeColor" type class_ref 128253 // QColor
741 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
743 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
751 attribute 128060 "DefaultCubeColor"
752 class_attribute const_attribute public type class_ref 128253 // QColor
753 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
760 classrelation 128277 // <generalisation>
761 relation 128277 ---|>
763 classrelation_ref 128277 // <generalisation>
764 b parent class_ref 128533 // QWidget
767 operation 128824 "drawMove"
768 public explicit_return_type "bool"
770 param in name "p" type class_ref 129173 // Point
771 param in name "c" explicit_type "QColor"
772 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
774 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
780 comment "true se la mossa è valida altrimenti false
784 attribute 128006 "_scene"
785 private type class_ref 129685 // SceneGraph
786 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
793 classrelation 128006 // <directional composition>
795 a role_name "" protected
796 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
798 classrelation_ref 128006 // <directional composition>
799 b parent class_ref 129685 // SceneGraph
802 attribute 129001 "_acceptMove"
803 private explicit_type "bool"
804 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
811 operation 129385 "acceptMove"
812 public explicit_return_type "void"
814 param in name "value" explicit_type "bool"
815 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
817 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
825 operation 128828 "uncheckedDraw"
826 public explicit_return_type "void"
828 param in name "pointList" explicit_type "QList<Point>"
829 param in name "colorList" explicit_type "QList<QColor>"
831 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
833 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
839 comment "se colorList==0 allora usa defaultCubeColor"
842 operation 131000 "highlightSuggested"
844 public explicit_return_type "void"
846 param in name "point" type class_ref 129173 // Point
847 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
849 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
857 classrelation 128107 // <directional composition>
859 a role_name "" protected
860 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
862 classrelation_ref 128107 // <directional composition>
863 b parent class_ref 128277 // SoQtRenderArea
866 attribute 128107 "_renderArea"
867 private type class_ref 128277 // SoQtRenderArea
868 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
876 class 128789 "ChatWidget"
882 explicit_switch_type ""
884 classrelation 129208 // <generalisation>
885 relation 129208 ---|>
887 cpp default "${type}"
888 classrelation_ref 129208 // <generalisation>
889 b parent class_ref 128568 // QDockWidget
892 operation 128235 "displayText"
894 public explicit_return_type "void"
896 param in name "text" type class_ref 128440 // QString
897 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
899 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
907 operation 128107 "textEntered"
909 public explicit_return_type "void"
911 param in name "text" type class_ref 128440 // QString
912 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
914 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
929 explicit_switch_type ""
931 attribute 128184 "_x"
932 private explicit_type "int"
933 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
940 attribute 128312 "_y"
941 private explicit_type "int"
942 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
949 attribute 128440 "_z"
950 private explicit_type "int"
951 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
958 operation 128875 "Point"
959 public explicit_return_type ""
961 param in name "x" explicit_type "int"
962 param in name "y" explicit_type "int"
963 param in name "z" explicit_type "int"
964 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
966 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
981 explicit_switch_type ""
983 attribute 128405 "_playerId"
984 private explicit_type "int"
991 attribute 128533 "_coord"
992 private type class_ref 129173 // Point
999 classrelation 129173 // <directional composition>
1000 relation 129173 *-->
1001 a role_name "" protected
1002 classrelation_ref 129173 // <directional composition>
1003 b parent class_ref 129173 // Point
1006 operation 129641 "Move"
1007 public explicit_return_type ""
1009 param in name "id" explicit_type "int"
1010 param in name "p" type class_ref 129173 // Point
1011 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1013 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1022 class 129557 "GameMatrix"
1028 explicit_switch_type ""
1030 comment "istanziata da MainWindow e passata poi a GameLoop"
1031 attribute 128042 "EmptyPoint"
1032 class_attribute const_attribute public explicit_type "int"
1034 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1041 attribute 128283 "_instance"
1042 class_attribute private type class_ref 129557 // GameMatrix
1043 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1050 operation 130104 "GameMatrix"
1051 private explicit_return_type ""
1053 param in name "d1" explicit_type "int"
1054 param in name "d2" explicit_type "int"
1055 param in name "numPlayers" explicit_type "int"
1056 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1058 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1066 operation 128085 "create"
1067 class_operation public return_type class_ref 129557 // GameMatrix
1069 param in name "d1" explicit_type "int"
1070 param in name "d2" explicit_type "int"
1071 param in name "numPlayers" explicit_type "int"
1072 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1074 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1082 operation 128411 "destroy"
1083 class_operation public explicit_return_type "void"
1085 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1087 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1095 operation 128283 "instance"
1096 class_operation const public return_type class_ref 129557 // GameMatrix
1098 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1100 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1108 attribute 128873 "_lastRound"
1109 private explicit_type "QList<Point>"
1110 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1115 comment "/buffer delle ultime mosse da rivedere"
1118 attribute 129129 "_d1"
1119 private explicit_type "int"
1120 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1127 attribute 129257 "_d2"
1128 private explicit_type "int"
1129 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1136 operation 129513 "add"
1137 public explicit_return_type "bool"
1139 param in name "move" type class_ref 129301 // Move
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}{
1148 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1151 operation 128554 "clear"
1152 public explicit_return_type "void"
1154 param in name "point" type class_ref 129173 // Point
1155 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1157 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1165 operation 128155 "check"
1166 class_operation const public explicit_return_type "bool"
1168 param in name "point" type class_ref 129173 // Point
1169 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1171 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1179 operation 128404 "isFull"
1180 const public explicit_return_type "bool"
1182 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1184 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1192 operation 130232 "numberOfPlayers"
1193 const public explicit_return_type "int"
1195 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1197 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1203 comment "lastRound.size()"
1206 operation 128188 "setLastRound"
1207 public explicit_return_type "void"
1209 param in name "round" explicit_type "QList<Point>"
1210 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1212 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1220 attribute 128148 "_freeCounter"
1221 private explicit_type "int"
1222 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1236 explicit_switch_type ""
1238 attribute 128084 "mat"
1239 private type class_ref 129557 // GameMatrix
1246 operation 128084 "AI"
1247 public explicit_return_type ""
1249 param in name "id" explicit_type "int"
1250 param in name "mat" type class_ref 129557 // GameMatrix
1257 operation 128212 "move"
1258 public return_type class_ref 129301 // Move
1260 param in name "level" explicit_type "int"
1265 comment "prima di ritornare la mossa mette a false il bool forceMove"
1268 attribute 128296 "playerId"
1269 const_attribute private explicit_type "int"
1270 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1277 attribute 128424 "forceMove"
1278 private explicit_type "bool"
1279 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1284 comment "default false."
1287 operation 129976 "forceMove"
1288 public explicit_return_type "void"
1290 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1292 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1298 comment "setta a true il bool forceMove"
1302 class 130069 "Network"
1303 abstract visibility package
1308 explicit_switch_type ""
1310 operation 128508 "Network"
1311 public explicit_return_type ""
1313 param in name "gui" type class_ref 128533 // QWidget
1314 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1316 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1324 operation 128109 "requestMove"
1325 abstract cpp_virtual public explicit_return_type "void"
1327 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1334 operation 128982 "setupChat"
1335 abstract cpp_virtual public explicit_return_type "void"
1337 param in name "widget" type class_ref 128789 // ChatWidget
1338 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1345 attribute 128552 "_localPlayer"
1346 private explicit_type "int"
1347 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1352 comment "rappresenta l'ID del player che usa la GUI in una partita online.
1353 può essere uno solo per partita online quindi va settato una volta che si è ricevuta lista di giocatori dal server e quindi l'id del giocatore locale."
1356 attribute 128124 "_gui"
1357 private type class_ref 128533 // QWidget
1358 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1365 attribute 128075 "_settings"
1366 private type class_ref 128170 // ServerSettings
1367 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1374 classrelation 128075 // <directional composition>
1375 relation 128075 *-->
1376 a role_name "" protected
1377 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1379 classrelation_ref 128075 // <directional composition>
1380 b parent class_ref 128170 // ServerSettings
1384 class 128214 "GameClient"
1386 cpp_decl "${comment}${template}class ${name}${inherit} {
1393 explicit_switch_type ""
1395 operation 128078 "GameClient"
1396 public explicit_return_type ""
1398 param in name "gui" type class_ref 128533 // QWidget
1399 param in name "serverAddress" type class_ref 128440 // QString
1404 comment "serverAddress indica il server a cui connettersi."
1407 operation 128365 "requestMove"
1408 cpp_virtual public explicit_return_type "void"
1410 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1412 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1420 operation 129110 "setupChat"
1421 public explicit_return_type "void"
1423 param in name "widget" type class_ref 128789 // ChatWidget
1424 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1426 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1434 attribute 128158 "_server"
1435 private type class_ref 128027 // ClientSocket
1436 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1443 classrelation 128086 // <realization>
1444 relation 128086 -_-|>
1446 cpp default "${type}"
1447 classrelation_ref 128086 // <realization>
1448 b parent class_ref 130069 // Network
1451 classrelation 128283 // <directional composition>
1452 relation 128155 *-->
1453 a role_name "" protected
1454 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1456 classrelation_ref 128283 // <directional composition>
1457 b parent class_ref 128027 // ClientSocket
1461 class 128086 "GameServer"
1462 visibility protected
1463 cpp_decl "${comment}${template}class ${name}${inherit} {
1470 explicit_switch_type ""
1472 operation 129372 "GameServer"
1473 public explicit_return_type ""
1475 param in name "gui" type class_ref 128533 // QWidget
1476 param in name "history" explicit_type "QList<Move>"
1477 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1479 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1487 operation 128237 "requestMove"
1488 cpp_virtual public explicit_return_type "void"
1490 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1492 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1500 operation 129238 "setupChat"
1501 public explicit_return_type "void"
1503 param in name "widget" type class_ref 128789 // ChatWidget
1504 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1506 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1514 operation 128974 "handleIncomingConnection"
1516 private explicit_return_type "void"
1518 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1520 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1526 comment "connesso al segnale newConnection() di QTcpServer."
1529 attribute 128027 "_listener"
1530 private type class_ref 128206 // QTcpServer
1531 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1538 attribute 128342 "_pendingConnections"
1539 private explicit_type "QLinkedList<ServerSocket>"
1540 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1547 attribute 128462 "_remotePlayers"
1548 private explicit_type "QList<ServerSocket>"
1549 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1556 attribute 128334 "_spectators"
1557 private explicit_type "QLinkedList<ServerSocket>"
1558 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1565 attribute 129244 "_history"
1566 private explicit_type "QList<Move>"
1567 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1574 attribute 128114 "_gameInProgress"
1575 private explicit_type "bool"
1576 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1583 classrelation 128214 // <realization>
1584 relation 128214 -_-|>
1586 cpp default "${type}"
1587 classrelation_ref 128214 // <realization>
1588 b parent class_ref 130069 // Network
1591 classrelation 128598 // <directional composition>
1592 relation 128598 *-->
1593 a role_name "" protected
1594 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1596 classrelation_ref 128598 // <directional composition>
1597 b parent class_ref 128206 // QTcpServer
1600 classrelation 128411 // <directional composition>
1601 relation 128283 *-->
1602 a role_name "" multiplicity "*" protected
1603 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1605 classrelation_ref 128411 // <directional composition>
1606 b parent class_ref 128155 // ServerSocket
1610 class 130197 "QThread"
1611 abstract visibility package
1616 explicit_switch_type ""
1618 operation 128393 "run"
1619 abstract cpp_virtual protected explicit_return_type "void"
1621 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1628 operation 128319 "start"
1629 public explicit_return_type ""
1631 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1633 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1642 class 130325 "GameLoop"
1648 explicit_switch_type ""
1650 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."
1651 operation 128054 "GameLoop"
1652 public explicit_return_type ""
1654 param in name "players" explicit_type "QList<Player>"
1655 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}, ${t1} ${p1}, ${t2} ${p2}, const ${t3} & ${p3}${)}${volatile}${throw};
1657 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1665 operation 128520 "run"
1666 protected explicit_return_type "void"
1668 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1670 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1678 operation 128316 "setTurn"
1679 public explicit_return_type "void"
1681 param in name "id" explicit_type "int"
1682 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1684 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1692 classrelation 130069 // <realization>
1693 relation 130069 -_-|>
1695 classrelation_ref 130069 // <realization>
1696 b parent class_ref 130197 // QThread
1699 attribute 128264 "_players"
1700 private explicit_type "QList<Player>"
1701 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1708 attribute 128134 "_mat"
1709 private type class_ref 129557 // GameMatrix
1710 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1717 classrelation 128134 // <directional composition>
1718 relation 128134 *-->
1719 a role_name "" protected
1720 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1722 classrelation_ref 128134 // <directional composition>
1723 b parent class_ref 129557 // GameMatrix
1726 operation 130488 "forceMove"
1728 public explicit_return_type "void"
1730 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1732 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1740 operation 128233 "moved"
1742 public explicit_return_type "void"
1744 param in name "move" type class_ref 129301 // Move
1745 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1747 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1755 operation 128264 "turn"
1757 public explicit_return_type "void"
1759 param in name "player" type class_ref 129045 // Player
1760 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1767 attribute 129592 "_currentPlayer"
1768 private type class_ref 129045 // Player
1769 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1774 comment "mantenuto consistente per poter effettuare la forceMove()"
1777 classrelation 128042 // <directional composition>
1778 relation 128042 *-->
1779 a role_name "" multiplicity "2..3" protected
1780 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1782 classrelation_ref 128042 // <directional composition>
1783 b parent class_ref 129045 // Player
1786 operation 128148 "win"
1788 public explicit_return_type "void"
1790 param in name "playerId" explicit_type "int"
1791 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1793 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1801 attribute 128020 "_winStatus"
1802 private explicit_type "QList<bool>"
1803 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1808 comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1811 operation 128532 "draw"
1813 public explicit_return_type "void"
1815 param in name "playersIds" explicit_type "QList<int>"
1816 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1818 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1827 class 130709 "SyncSharedCondition"
1833 explicit_switch_type ""
1835 attribute 128063 "_instance"
1836 class_attribute private type class_ref 130709 // SyncSharedCondition
1837 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1844 operation 128191 "SyncSharedCondition"
1845 protected explicit_return_type ""
1847 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1849 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1857 operation 128063 "instance"
1858 class_operation public return_type class_ref 130709 // SyncSharedCondition
1860 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1862 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1870 attribute 129557 "_waitCond"
1871 private type class_ref 129813 // QWaitCondition
1878 attribute 128105 "_point"
1879 private type class_ref 129173 // Point
1880 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1887 operation 129129 "waitForMove"
1888 public return_type class_ref 129173 // Point
1890 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1892 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1900 operation 129257 "notifyMove"
1901 public explicit_return_type "void"
1903 param in name "p" type class_ref 129173 // Point
1904 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1906 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1914 classrelation 128105 // <generalisation>
1915 relation 128105 ---|>
1917 cpp default "${type}"
1918 classrelation_ref 128105 // <generalisation>
1919 b parent class_ref 130837 // QMutex
1922 classrelation 128168 // <directional composition>
1923 relation 128168 *-->
1924 a role_name "" protected
1925 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1927 classrelation_ref 128168 // <directional composition>
1928 b parent class_ref 129813 // QWaitCondition
1932 class 130837 "QMutex"
1938 explicit_switch_type ""
1940 operation 129769 "lock"
1941 public explicit_return_type "void"
1943 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1945 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1953 operation 129897 "unlock"
1954 public explicit_return_type "void"
1956 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1958 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1967 class 129813 "QWaitCondition"
1973 explicit_switch_type ""
1975 operation 130025 "wait"
1976 public explicit_return_type "bool"
1978 param in name "lock" type class_ref 130837 // QMutex
1979 param in name "timeout" explicit_type "unsigned long"
1980 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1982 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1990 operation 130153 "wakeOne"
1991 public explicit_return_type "void"
1993 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1995 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2004 class 129045 "Player"
2005 abstract visibility package
2010 explicit_switch_type ""
2012 operation 128617 "Player"
2013 public explicit_return_type ""
2015 param in name "id" explicit_type "int"
2016 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2018 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2026 operation 128184 "move"
2027 abstract cpp_virtual public return_type class_ref 129301 // Move
2029 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2036 attribute 128168 "_id"
2037 const_attribute private explicit_type "int"
2038 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2045 operation 128040 "id"
2046 const public explicit_return_type "int"
2048 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2050 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2059 class 128056 "HumanPlayer"
2061 cpp_decl "${comment}${template}class ${name}${inherit} {
2068 explicit_switch_type ""
2070 operation 128745 "HumanPlayer"
2071 public explicit_return_type ""
2073 param in name "id" explicit_type "int"
2074 param in name "render" type class_ref 128661 // RenderWidget
2075 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2077 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2085 operation 128440 "move"
2086 cpp_virtual public return_type class_ref 129301 // Move
2088 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2090 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2098 attribute 128233 "_render"
2099 private type class_ref 128661 // RenderWidget
2100 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2107 classrelation 128361 // <realization>
2108 relation 128361 -_-|>
2110 cpp default "${type}"
2111 classrelation_ref 128361 // <realization>
2112 b parent class_ref 129045 // Player
2116 class 128184 "RemotePlayer"
2118 cpp_decl "${comment}${template}class ${name}${inherit} {
2125 explicit_switch_type ""
2127 operation 128873 "RemotePlayer"
2128 public explicit_return_type ""
2130 param in name "id" explicit_type "int"
2131 param in name "net" type class_ref 130069 // Network
2132 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2134 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2142 operation 128568 "move"
2143 cpp_virtual public return_type class_ref 129301 // Move
2145 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2147 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2155 attribute 128361 "_net"
2156 private type class_ref 130069 // Network
2157 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2164 classrelation 128489 // <realization>
2165 relation 128489 -_-|>
2167 cpp default "${type}"
2168 classrelation_ref 128489 // <realization>
2169 b parent class_ref 129045 // Player
2173 class 128312 "AIPlayer"
2175 cpp_decl "${comment}${template}class ${name}${inherit} {
2182 explicit_switch_type ""
2184 operation 129001 "AIPlayer"
2185 public explicit_return_type ""
2187 param in name "id" explicit_type "int"
2188 param in name "mat" type class_ref 129557 // GameMatrix
2189 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
2191 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2197 comment "inizializza skill con la costante di classe DefaultSkill"
2200 attribute 128386 "_DefaultSkill"
2201 class_attribute const_attribute private explicit_type "int"
2202 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2209 operation 128696 "move"
2210 cpp_virtual public return_type class_ref 129301 // Move
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 classrelation 128617 // <realization>
2223 relation 128617 -_-|>
2225 cpp default "${type}"
2226 classrelation_ref 128617 // <realization>
2227 b parent class_ref 129045 // Player
2230 attribute 128258 "_skill"
2231 private explicit_type "int"
2232 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2239 operation 128002 "skill"
2240 const public explicit_return_type "int"
2242 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2244 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2252 operation 128130 "setSkill"
2253 public explicit_return_type "void"
2255 param in name "sk" explicit_type "int"
2256 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2258 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2266 classrelation 130360 // <generalisation>
2267 relation 130360 ---|>
2269 cpp default "${type}"
2270 classrelation_ref 130360 // <generalisation>
2271 b parent class_ref 129941 // AI
2275 class 128277 "SoQtRenderArea"
2281 explicit_switch_type ""
2285 class 129685 "SceneGraph"
2291 explicit_switch_type ""
2295 class 128440 "QString"
2297 cpp_decl "${comment}${template}class ${name}${inherit} {
2304 explicit_switch_type ""
2308 class 128253 "QColor"
2310 cpp_decl "${comment}${template}class ${name}${inherit} {
2317 explicit_switch_type ""
2321 class 128533 "QWidget"
2327 explicit_switch_type ""
2331 class 128568 "QDockWidget"
2333 cpp_decl "${comment}${template}class ${name}${inherit} {
2340 explicit_switch_type ""
2342 classrelation 128009 // <generalisation>
2343 relation 128009 ---|>
2345 cpp default "${type}"
2346 classrelation_ref 128009 // <generalisation>
2347 b parent class_ref 128533 // QWidget
2351 class 128008 "QSettings"
2353 cpp_decl "${comment}${template}class ${name}${inherit} {
2360 explicit_switch_type ""
2364 class 128125 "QTimer"
2366 cpp_decl "${comment}${template}class ${name}${inherit} {
2373 explicit_switch_type ""
2375 operation 128253 "start"
2377 public explicit_return_type "void"
2379 param in name "msec" explicit_type "int"
2380 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2382 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2390 operation 128381 "stop"
2392 public explicit_return_type "void"
2394 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2396 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2404 operation 128125 "timeout"
2406 public explicit_return_type "void"
2408 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2410 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2419 class 129720 "Suggester"
2421 cpp_decl "${comment}${template}class ${name}${inherit} {
2428 explicit_switch_type ""
2430 operation 130744 "Suggester"
2431 public explicit_return_type ""
2433 param in name "id" explicit_type "int"
2434 param in name "mat" type class_ref 129557 // GameMatrix
2435 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2437 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2445 attribute 128130 "_SuggestedMoveLevel"
2446 class_attribute const_attribute private explicit_type "int"
2447 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2454 classrelation 130488 // <generalisation>
2455 relation 130488 ---|>
2456 stereotype "private"
2458 cpp default "${type}"
2459 classrelation_ref 130488 // <generalisation>
2460 b parent class_ref 129941 // AI
2463 classrelation 130616 // <realization>
2464 relation 130616 -_-|>
2466 cpp default "${type}"
2467 classrelation_ref 130616 // <realization>
2468 b parent class_ref 130197 // QThread
2471 operation 130616 "run"
2472 protected explicit_return_type "void"
2474 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2476 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2484 operation 128056 "suggestMove"
2485 public return_type class_ref 129173 // Point
2487 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2489 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2495 comment "prima di ritornare mettea false il bool forceMove"
2498 operation 130872 "suggestedMoveReady"
2500 public explicit_return_type "void"
2502 param in name "point" type class_ref 129173 // Point
2503 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2505 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2514 class 129848 "HistoryModel"
2516 cpp_decl "${comment}${template}class ${name}${inherit} {
2523 explicit_switch_type ""
2525 attribute 130104 "_history"
2526 private explicit_type "QList<Move>"
2527 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2534 operation 128765 "columnCount"
2535 const cpp_virtual public explicit_return_type "int"
2537 param in name "parent" explicit_type "QModelIndex"
2538 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2545 operation 128637 "rowCount"
2546 const cpp_virtual public explicit_return_type "int"
2548 param in name "parent" explicit_type "QModelIndex"
2549 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2556 operation 128509 "data"
2557 const cpp_virtual public explicit_return_type "QVariant"
2559 param in name "index" explicit_type "QModelIndex"
2560 param in name "role" explicit_type "int"
2561 defaultvalue "Qt::DisplayRole"
2562 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2569 operation 128893 "flags"
2570 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2572 param in name "index" explicit_type "QModelIndex"
2573 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2575 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2583 operation 129021 "headerData"
2584 const cpp_virtual public explicit_return_type "QVariant"
2586 param in name "section" explicit_type "int"
2587 param in name "orientation" explicit_type "Qt::Orientation"
2588 param in name "role" explicit_type "int"
2589 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2591 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2599 operation 131128 "add"
2600 public explicit_return_type "void"
2602 param in name "move" type class_ref 129301 // Move
2603 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2605 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2613 classrelation 128637 // <realization>
2614 relation 128637 -_-|>
2616 cpp default "${type}"
2617 classrelation_ref 128637 // <realization>
2618 b parent class_ref 128509 // QAbstractTableModel
2621 operation 129259 "insertRows"
2622 cpp_virtual public explicit_return_type "bool"
2624 param in name "row" explicit_type "int"
2625 param in name "count" explicit_type "int"
2626 param in name "parent" explicit_type "QModelIndex"
2627 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2629 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2637 operation 129387 "removeRows"
2638 cpp_virtual public explicit_return_type "bool"
2640 param in name "row" explicit_type "int"
2641 param in name "count" explicit_type "int"
2642 param in name "parent" explicit_type "QModelIndex"
2643 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2645 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2653 operation 129244 "moveList"
2654 const public explicit_return_type "QList<Move>"
2656 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2658 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2667 class 129976 "PlayerInfo"
2669 cpp_decl "${comment}${template}class ${name}${inherit} {
2676 explicit_switch_type ""
2678 attribute 130360 "_name"
2679 private type class_ref 128440 // QString
2680 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2687 attribute 130488 "_color"
2688 private type class_ref 128253 // QColor
2689 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2696 attribute 130616 "_type"
2697 private type class_ref 128440 // QString
2698 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2705 operation 129131 "PlayerInfo"
2706 public explicit_return_type ""
2708 param in name "name" type class_ref 128440 // QString
2709 param in name "color" type class_ref 128253 // QColor
2710 param in name "type" type class_ref 128440 // QString
2711 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2713 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2722 class 128381 "TimerWidget"
2724 cpp_decl "${comment}${template}class ${name}${inherit} {
2731 explicit_switch_type ""
2733 attribute 128125 "_timer"
2734 private type class_ref 128125 // QTimer
2735 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2742 classrelation 128381 // <directional composition>
2743 relation 128381 *-->
2744 a role_name "" protected
2745 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2747 classrelation_ref 128381 // <directional composition>
2748 b parent class_ref 128125 // QTimer
2751 classrelation 128509 // <generalisation>
2752 relation 128509 ---|>
2754 cpp default "${type}"
2755 classrelation_ref 128509 // <generalisation>
2756 b parent class_ref 128533 // QWidget
2760 class 128509 "QAbstractTableModel"
2761 abstract visibility package
2762 cpp_decl "${comment}${template}class ${name}${inherit} {
2769 explicit_switch_type ""
2773 class 128893 "QTableView"
2775 cpp_decl "${comment}${template}class ${name}${inherit} {
2782 explicit_switch_type ""
2784 classrelation 128444 // <generalisation>
2785 relation 128444 ---|>
2787 cpp default "${type}"
2788 classrelation_ref 128444 // <generalisation>
2789 b parent class_ref 128533 // QWidget
2792 classrelation 128191 // <dependency>
2793 relation 128191 -_->
2795 cpp default "#include in source"
2796 classrelation_ref 128191 // <dependency>
2797 b parent class_ref 129848 // HistoryModel
2801 class 129021 "PlayersWidget"
2803 cpp_decl "${comment}${template}class ${name}${inherit} {
2810 explicit_switch_type ""
2812 comment "rappresenta turno, colore, tipo, nome dei players"
2813 operation 129149 "PlayersWidget"
2814 public explicit_return_type ""
2816 param in name "info" explicit_type "QMap<int,PlayerInfo>"
2817 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2819 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2825 comment "crea un QLabel per ogni player con freccia turno, colore, tipo, nome."
2828 classrelation 128828 // <generalisation>
2829 relation 128828 ---|>
2831 cpp default "${type}"
2832 classrelation_ref 128828 // <generalisation>
2833 b parent class_ref 128533 // QWidget
2837 class 128426 "AbstractSettings"
2838 abstract visibility package
2839 cpp_decl "${comment}${template}class ${name}${inherit} {
2846 explicit_switch_type ""
2848 operation 128776 "language"
2849 abstract const cpp_virtual public return_type class_ref 128440 // QString
2851 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2858 operation 129416 "geometry"
2859 abstract const cpp_virtual public explicit_return_type "QByteArray"
2861 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2868 operation 128444 "defaultCubeColor"
2869 abstract const cpp_virtual public return_type class_ref 128253 // QColor
2871 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2878 operation 128619 "backgroundColor"
2879 abstract const cpp_virtual public return_type class_ref 128253 // QColor
2881 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2888 operation 129544 "setLanguage"
2889 abstract cpp_virtual public explicit_return_type "void"
2891 param in name "lang" type class_ref 128440 // QString
2892 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2899 operation 129800 "setGeometry"
2900 abstract cpp_virtual public explicit_return_type "void"
2902 param in name "geom" explicit_type "QByteArray"
2903 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2910 operation 128572 "setDefaultCubeColor"
2911 abstract cpp_virtual public explicit_return_type "void"
2913 param in name "color" type class_ref 128253 // QColor
2914 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2921 operation 128747 "setBackgroundColor"
2922 abstract cpp_virtual public explicit_return_type "void"
2924 param in name "color" type class_ref 128253 // QColor
2925 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2933 class 130453 "SettingsManager"
2934 abstract visibility package
2935 cpp_decl "${comment}${template}class ${name}${inherit} {
2942 explicit_switch_type ""
2944 operation 128904 "playersInfo"
2945 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
2947 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2954 operation 129032 "difficulty1"
2955 abstract const cpp_virtual public explicit_return_type "int"
2957 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2964 operation 129160 "difficulty2"
2965 abstract const cpp_virtual public explicit_return_type "int"
2967 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2974 operation 129672 "setPlayersInfo"
2975 abstract cpp_virtual public explicit_return_type "void"
2977 param in name "info" explicit_type "QList<PlayerInfo>"
2978 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2985 operation 128009 "setDifficulty1"
2986 abstract cpp_virtual public explicit_return_type "void"
2988 param in name "d1" explicit_type "int"
2989 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
2996 operation 128137 "setDifficulty2"
2997 abstract cpp_virtual public explicit_return_type "void"
2999 param in name "d2" explicit_type "int"
3000 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3007 classrelation 129450 // <generalisation>
3008 relation 129450 ---|>
3010 cpp default "${type}"
3011 classrelation_ref 129450 // <generalisation>
3012 b parent class_ref 128426 // AbstractSettings
3016 class 128042 "LocalSettings"
3018 cpp_decl "${comment}${template}class ${name}${inherit} {
3025 explicit_switch_type ""
3027 classrelation 129578 // <generalisation>
3028 relation 129578 ---|>
3030 cpp default "${type}"
3031 classrelation_ref 129578 // <generalisation>
3032 b parent class_ref 128298 // GUISettings
3035 classrelation 129962 // <realization>
3036 relation 129962 -_-|>
3038 cpp default "${type}"
3039 classrelation_ref 129962 // <realization>
3040 b parent class_ref 130453 // SettingsManager
3044 class 128170 "ServerSettings"
3046 cpp_decl "${comment}${template}class ${name}${inherit} {
3053 explicit_switch_type ""
3055 operation 128414 "serverPort"
3056 public explicit_return_type "quint16"
3058 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3060 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3068 operation 128170 "timerDuration"
3069 const public explicit_return_type "int"
3071 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3073 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3081 operation 128542 "setServerPort"
3082 public explicit_return_type "void"
3084 param in name "port" explicit_type "quint16"
3085 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3087 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3095 operation 128298 "setTimerDuration"
3096 public explicit_return_type "void"
3098 param in name "msec" explicit_type "int"
3099 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3101 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3109 classrelation 129706 // <generalisation>
3110 relation 129706 ---|>
3112 cpp default "${type}"
3113 classrelation_ref 129706 // <generalisation>
3114 b parent class_ref 128298 // GUISettings
3117 classrelation 129834 // <realization>
3118 relation 129834 -_-|>
3120 cpp default "${type}"
3121 classrelation_ref 129834 // <realization>
3122 b parent class_ref 130453 // SettingsManager
3126 class 128298 "GUISettings"
3128 cpp_decl "${comment}${template}class ${name}${inherit} {
3135 explicit_switch_type ""
3137 classrelation 129194 // <realization>
3138 relation 129194 -_-|>
3140 cpp default "${type}"
3141 classrelation_ref 129194 // <realization>
3142 b parent class_ref 128426 // AbstractSettings
3145 classrelation 129322 // <generalisation>
3146 relation 129322 ---|>
3147 stereotype "protected"
3149 cpp default "${type}"
3150 classrelation_ref 129322 // <generalisation>
3151 b parent class_ref 128008 // QSettings
3155 class 128334 "QTcpSocket"
3157 cpp_decl "${comment}${template}class ${name}${inherit} {
3164 explicit_switch_type ""
3166 operation 128027 "connected"
3168 protected explicit_return_type "void"
3170 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3172 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3180 operation 128462 "error"
3182 protected explicit_return_type "void"
3184 param in name "socketError" explicit_type "QAbstractSocket::SocketError"
3185 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3187 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3195 operation 128590 "readyRead"
3197 protected explicit_return_type "void"
3199 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3201 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3207 comment "generalmente connesso allo slot StreamSocket::parseData()"
3211 class 128206 "QTcpServer"
3213 cpp_decl "${comment}${template}class ${name}${inherit} {
3220 explicit_switch_type ""
3222 operation 128334 "newConnection"
3224 protected explicit_return_type "void"
3226 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3228 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3237 class 128718 "QHostAddress"
3239 cpp_decl "${comment}${template}class ${name}${inherit} {
3246 explicit_switch_type ""
3250 class 128078 "QHostInfo"
3252 cpp_decl "${comment}${template}class ${name}${inherit} {
3259 explicit_switch_type ""
3263 class 128462 "QXmlStreamReader"
3265 cpp_decl "${comment}${template}class ${name}${inherit} {
3272 explicit_switch_type ""
3276 class 128590 "QXmlStreamWriter"
3278 cpp_decl "${comment}${template}class ${name}${inherit} {
3285 explicit_switch_type ""
3289 class 128030 "StreamSocket"
3291 cpp_decl "${comment}${template}class ${name}${inherit} {
3298 explicit_switch_type ""
3300 operation 128854 "StreamSocket"
3301 public explicit_return_type ""
3303 param in name "socket" type class_ref 128334 // QTcpSocket
3304 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
3306 cpp_def "${comment}${inline}${class}::${name}${(}const ${t0} & ${p0}${)}${volatile}${throw} {
3314 classrelation 128158 // <generalisation>
3315 relation 128158 ---|>
3316 stereotype "protected"
3318 cpp default "${type}"
3319 classrelation_ref 128158 // <generalisation>
3320 b parent class_ref 128462 // QXmlStreamReader
3323 classrelation 128286 // <generalisation>
3324 relation 128286 ---|>
3325 stereotype "protected"
3327 cpp default "${type}"
3328 classrelation_ref 128286 // <generalisation>
3329 b parent class_ref 128590 // QXmlStreamWriter
3332 classrelation 128414 // <directional composition>
3333 relation 128414 *-->
3334 a role_name "" protected
3335 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3337 classrelation_ref 128414 // <directional composition>
3338 b parent class_ref 128334 // QTcpSocket
3341 operation 128153 "changeState"
3342 protected explicit_return_type "void"
3344 param in name "state" explicit_type "ProtocolState"
3345 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3347 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3355 operation 128340 "sendChatMsg"
3357 public explicit_return_type "void"
3359 param in name "msg" type class_ref 128440 // QString
3360 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3367 operation 128468 "sendMove"
3369 public explicit_return_type "void"
3371 param in name "move" type class_ref 129301 // Move
3372 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3379 operation 128025 "openStream"
3381 cpp_virtual protected explicit_return_type "void"
3383 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3385 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3393 operation 128114 "closeStream"
3395 cpp_virtual protected explicit_return_type "void"
3397 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3399 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3407 operation 128754 "handleError"
3409 cpp_virtual protected explicit_return_type "void"
3411 param in name "error" explicit_type "QAbstractSocket::SocketError"
3412 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3414 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3420 comment "connesso al segnale error() del proprio QTcpSocket."
3423 operation 128086 "parseData"
3425 cpp_virtual protected explicit_return_type "void"
3427 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3429 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3435 comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3438 operation 128846 "playerJoined"
3440 protected explicit_return_type "void"
3442 param in name "id" explicit_type "int"
3443 param in name "name" type class_ref 128440 // QString
3444 param in name "type" type class_ref 128440 // QString
3445 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${const}${volatile}${throw}${abstract};
3447 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3455 operation 128882 "playerLeft"
3457 protected explicit_return_type "void"
3459 param in name "id" explicit_type "int"
3460 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3462 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3470 operation 128956 "receivedChatMsg"
3472 protected explicit_return_type "void"
3474 param in name "msg" type class_ref 128440 // QString
3475 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3477 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3485 operation 128363 "receivedMove"
3487 protected explicit_return_type "void"
3489 param in name "move" type class_ref 129301 // Move
3490 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3492 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3500 attribute 128025 "_supportedProtocolVersion"
3501 class_attribute const_attribute protected type class_ref 128440 // QString
3502 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3509 attribute 128030 "_socket"
3510 protected type class_ref 128334 // QTcpSocket
3511 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3518 attribute 128155 "_state"
3519 private explicit_type "ProtocolState"
3520 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3527 operation 129266 "startGame"
3529 protected explicit_return_type "void"
3531 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3533 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3542 class 128027 "ClientSocket"
3544 cpp_decl "${comment}${template}class ${name}${inherit} {
3551 explicit_switch_type ""
3553 classrelation 128539 // <generalisation>
3554 relation 128411 ---|>
3556 cpp default "${type}"
3557 classrelation_ref 128539 // <generalisation>
3558 b parent class_ref 128030 // StreamSocket
3561 operation 128426 "joinGame"
3563 public explicit_return_type "void"
3565 param in name "mode" type class_ref 128440 // QString
3566 param in name "name" type class_ref 128440 // QString
3567 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3569 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3577 operation 128124 "cancelJoin"
3579 public explicit_return_type "void"
3581 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3583 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3591 operation 128370 "parseData"
3593 cpp_virtual protected explicit_return_type "void"
3595 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3597 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3603 comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3606 operation 129010 "joinAccepted"
3608 protected explicit_return_type "void"
3610 param in name "id" explicit_type "int"
3611 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3613 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3621 operation 129138 "joinRefused"
3623 protected explicit_return_type "void"
3625 param inout name "cause" explicit_type "int"
3626 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3628 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3636 operation 128030 "receivedGameSettings"
3638 protected explicit_return_type "void"
3640 param in name "d1" explicit_type "int"
3641 param in name "d2" explicit_type "int"
3642 param in name "timer" explicit_type "int"
3643 param in name "playing" explicit_type "bool"
3644 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}, ${t3} ${p3}${)}${const}${volatile}${throw}${abstract};
3646 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3654 operation 128380 "receivedHistory"
3656 protected explicit_return_type "void"
3658 param in name "history" explicit_type "QList<Move>"
3659 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3661 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3670 class 128155 "ServerSocket"
3672 cpp_decl "${comment}${template}class ${name}${inherit} {
3679 explicit_switch_type ""
3681 classrelation 128667 // <generalisation>
3682 relation 128539 ---|>
3684 cpp default "${type}"
3685 classrelation_ref 128667 // <generalisation>
3686 b parent class_ref 128030 // StreamSocket
3689 operation 130301 "acceptJoin"
3691 public explicit_return_type "void"
3693 param in name "id" explicit_type "int"
3694 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3696 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3704 operation 130429 "refuseJoin"
3706 public explicit_return_type "void"
3708 param in name "cause" explicit_type "int"
3709 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3711 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3719 operation 128042 "sendGameSettings"
3721 public explicit_return_type "void"
3723 param in name "d1" explicit_type "int"
3724 param in name "d2" explicit_type "int"
3725 param in name "timer" explicit_type "int"
3726 param in name "playing" explicit_type "bool"
3727 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3729 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3737 operation 128252 "sendHistory"
3739 public explicit_return_type "void"
3741 param in name "history" explicit_type "QList<Move>"
3742 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3744 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3752 operation 128075 "sendPlayerJoined"
3754 public explicit_return_type "void"
3756 param in name "id" explicit_type "int"
3757 param in name "name" type class_ref 128440 // QString
3758 param in name "type" type class_ref 128440 // QString
3759 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3761 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3769 operation 128203 "sendPlayerLeft"
3771 public explicit_return_type "void"
3773 param in name "id" explicit_type "int"
3774 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3776 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3784 operation 129394 "sendStartGame"
3786 public explicit_return_type "void"
3788 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3790 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3798 operation 128498 "parseData"
3800 cpp_virtual protected explicit_return_type "void"
3802 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3804 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3810 comment "connesso al segnale readyRead() del proprio QTcpSocket; esegue il parsing usando QXmlStreamReader."
3813 operation 130557 "joinRequested"
3815 protected explicit_return_type "void"
3817 param in name "mode" type class_ref 128440 // QString
3818 param in name "name" type class_ref 128440 // QString
3819 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3821 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3830 class 128070 "ProtocolState"
3831 visibility package stereotype "enum"
3832 cpp_decl "${comment}enum ${name} {
3836 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
3840 php_decl "${comment}final ${visibility}class ${name} {
3843 idl_decl "${comment}enum ${name} {
3846 explicit_switch_type ""
3848 attribute 128070 "Unconnected"
3849 public type class_ref 128070 // ProtocolState
3850 cpp_decl " ${name}${value},${comment}"
3856 attribute 128198 "Listening"
3857 public type class_ref 128070 // ProtocolState
3858 cpp_decl " ${name}${value},${comment}"
3864 attribute 128326 "Connecting"
3865 public type class_ref 128070 // ProtocolState
3866 cpp_decl " ${name}${value},${comment}"
3872 attribute 128454 "Connected"
3873 public type class_ref 128070 // ProtocolState
3874 cpp_decl " ${name}${value},${comment}"
3880 attribute 128582 "OpeningStream"
3881 public type class_ref 128070 // ProtocolState
3882 cpp_decl " ${name}${value},${comment}"
3888 attribute 128710 "FullyOpened"
3889 public type class_ref 128070 // ProtocolState
3890 cpp_decl " ${name}${value},${comment}"
3896 attribute 128838 "Idle"
3897 public type class_ref 128070 // ProtocolState
3898 cpp_decl " ${name}${value},${comment}"
3908 formal name "K" type "typename" explicit_default_value ""
3910 formal name "T" type "typename" explicit_default_value ""
3912 cpp_decl "${comment}${template}class ${name}${inherit} {
3919 explicit_switch_type ""
3923 class 128182 "QList"
3926 formal name "T" type "typename" explicit_default_value ""
3928 cpp_decl "${comment}${template}class ${name}${inherit} {
3935 explicit_switch_type ""
3939 class 128075 "QLinkedList"
3942 formal name "T" type "typename" explicit_default_value ""
3944 cpp_decl "${comment}${template}class ${name}${inherit} {
3951 explicit_switch_type ""
3955 sequencediagram 128054 "InitSequence"
3956 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
3960 sequencediagram 128148 "GameLoopRun"
3961 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
3965 sequencediagram 128213 "HumanPlayer::move"
3966 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
3967 overlapping_bars size A3
3970 sequencediagram 128027 "RemotePlayer::move"
3971 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
3972 overlapping_bars size A3
3976 package_ref 128002 // GUI
3978 package_ref 128258 // Core
3980 package_ref 128130 // Network
3982 package_ref 128386 // AI