Skip to content

Commit ca8a8e1

Browse files
committed
updated documentation with class diagram
1 parent 212ede1 commit ca8a8e1

File tree

3 files changed

+93
-1
lines changed

3 files changed

+93
-1
lines changed

DebugView++/MainFrame.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ using ATL::CString;
3232
#include "DebugView++Lib/LineBuffer.h"
3333
#include "DebugView++Lib/LogSources.h"
3434
#include "DebugView++Lib/FileWriter.h"
35-
#include "DebugView++Lib/CTimelineView.h"
3635
#include "CLogViewTabItem2.h"
3736
#include "FindDlg.h"
3837
#include "RunDlg.h"

doc/classdiagram.plantuml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
@startuml
2+
3+
class LogSource {
4+
ILineBuffer
5+
m_timer
6+
}
7+
8+
class ProcessReader
9+
{
10+
PipeReader m_stdout
11+
PipeReader m_stderr
12+
}
13+
14+
class LogSources
15+
{
16+
AddMessage(const std::string& message);
17+
}
18+
19+
class CMainFrame
20+
{
21+
LogSources m_logSources;
22+
}
23+
24+
class CLogView
25+
{
26+
deque<LogLine> m_logLines
27+
}
28+
29+
class CLogViewTabItem
30+
{
31+
std::shared_ptr<CLogView> m_pView;
32+
}
33+
34+
class CLogViewTabItem2
35+
{
36+
std::shared_ptr<CLogView> m_pView;
37+
CHorSplitterWindow m_split;
38+
CMyPaneContainer m_top;
39+
CMyPaneContainer m_bottom;
40+
gdi::CTimelineView m_timelineView;
41+
ViewPort m_viewPort;
42+
}
43+
44+
CCustomTabItem <|-- CTabViewTabItem
45+
CTabViewTabItem <|-- CLogViewTabItem
46+
CTabViewTabItem <|--- CLogViewTabItem2
47+
48+
CTabbedFrameImpl <|-- CMainFrame
49+
CMainFrame --> LogSources
50+
CMainFrame -> CLogView
51+
'CLogView -> CLogViewTabItem
52+
CLogView -> CLogViewTabItem2
53+
LogSources --> LogSource
54+
55+
CLogViewTabItem2 --> CTimelineView
56+
57+
class CTimelineView
58+
{
59+
+PaintScale()
60+
+PaintCursors()
61+
+PaintTimelines()
62+
}
63+
64+
class TimelineDC
65+
{
66+
DrawTextOut()
67+
DrawPolygon()
68+
DrawTimeline()
69+
DrawSolidFlag()
70+
DrawFlag()
71+
}
72+
73+
CTimelineView -> Line
74+
Line -> Artifact
75+
CTimelineView --> TimelineDC
76+
77+
78+
LogSource <|--- Loopback
79+
LogSource <|--- TestSource
80+
LogSource <|--- PolledLogSource
81+
LogSource <|--- SocketReader
82+
LogSource <|-- DBWinReader
83+
LogSource <|-- FileReader
84+
LogSource <|-- BinaryFileReader
85+
86+
PolledLogSource <|-- PipeReader
87+
PolledLogSource <|-- DbgviewReader
88+
PolledLogSource <|-- ProcessReader
89+
90+
CListViewCtrl <|-- CLogView
91+
92+
@enduml

doc/readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://plantuml-editor.kkeisuke.com/#

0 commit comments

Comments
 (0)