-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClassDiagram.txt
More file actions
80 lines (65 loc) · 1.62 KB
/
Copy pathClassDiagram.txt
File metadata and controls
80 lines (65 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
@startuml
title Classes - Class Diagram
class genericProfile {
+bool setRegisterList(QJsonObject register)
-medium
}
class genericTcpProfile{
}
class medium {
{abstract} +void connect()
{abstract} +void disconnect()
{abstract} +void showSettings()
+CpuListModel& getCpuList()
+RegisterListModel& getRegisterList()
-CpuListModel m_cpuListModel
}
class TCP {
+void connect()
+void disconnect()
+void showSettings()
-createDebugProtocolV0Layers()
-createDebugProtocolV1Layers()
-applicationLayer
-presentationLayer
-transportLayer
-QTcpSocket
}
class CpuListModel {
-QList<CPU*> m_cpuList;
}
class CPU {
-RegisterListModel m_registerListModel
}
class RegisterListModel{
-QList<Register*> m_registerList
}
class applicationLayerV0{
void readRegister(Register&) : slot
void writeRegister(Register&) : slot
void resetTime(): slot
void configDebugChannel(Regsiter&) : slot
int getDecimation(): slot
void setDecimation(newDecimation): signal
void registerUpdated(Register&): signal
void cpuFound(CPU) : signal
void debugString(QString): signal
}
class presentationLayerV0{
convert signals & Slots from applicationLayer to DebugProtocol commands
}
class transportLayerV0 {
add start/stop byte
add uc ID
add msgId to protocolMessage
add crc to debugProtocol message
checks if send messages had a response, else resend message.
}
genericProfile <|-left- genericTcpProfile
medium <-down-* genericProfile
medium <|-down- TCP
CpuListModel <-down-* medium
Register <-down-* RegisterListModel
RegisterListModel <-down-* CPU
CPU <-down-* CpuListModel
@enduml