forked from CobaltFusion/DebugViewPP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated documentation with class diagram
- Loading branch information
1 parent
212ede1
commit ca8a8e1
Showing
3 changed files
with
93 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
@startuml | ||
|
||
class LogSource { | ||
ILineBuffer | ||
m_timer | ||
} | ||
|
||
class ProcessReader | ||
{ | ||
PipeReader m_stdout | ||
PipeReader m_stderr | ||
} | ||
|
||
class LogSources | ||
{ | ||
AddMessage(const std::string& message); | ||
} | ||
|
||
class CMainFrame | ||
{ | ||
LogSources m_logSources; | ||
} | ||
|
||
class CLogView | ||
{ | ||
deque<LogLine> m_logLines | ||
} | ||
|
||
class CLogViewTabItem | ||
{ | ||
std::shared_ptr<CLogView> m_pView; | ||
} | ||
|
||
class CLogViewTabItem2 | ||
{ | ||
std::shared_ptr<CLogView> m_pView; | ||
CHorSplitterWindow m_split; | ||
CMyPaneContainer m_top; | ||
CMyPaneContainer m_bottom; | ||
gdi::CTimelineView m_timelineView; | ||
ViewPort m_viewPort; | ||
} | ||
|
||
CCustomTabItem <|-- CTabViewTabItem | ||
CTabViewTabItem <|-- CLogViewTabItem | ||
CTabViewTabItem <|--- CLogViewTabItem2 | ||
|
||
CTabbedFrameImpl <|-- CMainFrame | ||
CMainFrame --> LogSources | ||
CMainFrame -> CLogView | ||
'CLogView -> CLogViewTabItem | ||
CLogView -> CLogViewTabItem2 | ||
LogSources --> LogSource | ||
|
||
CLogViewTabItem2 --> CTimelineView | ||
|
||
class CTimelineView | ||
{ | ||
+PaintScale() | ||
+PaintCursors() | ||
+PaintTimelines() | ||
} | ||
|
||
class TimelineDC | ||
{ | ||
DrawTextOut() | ||
DrawPolygon() | ||
DrawTimeline() | ||
DrawSolidFlag() | ||
DrawFlag() | ||
} | ||
|
||
CTimelineView -> Line | ||
Line -> Artifact | ||
CTimelineView --> TimelineDC | ||
|
||
|
||
LogSource <|--- Loopback | ||
LogSource <|--- TestSource | ||
LogSource <|--- PolledLogSource | ||
LogSource <|--- SocketReader | ||
LogSource <|-- DBWinReader | ||
LogSource <|-- FileReader | ||
LogSource <|-- BinaryFileReader | ||
|
||
PolledLogSource <|-- PipeReader | ||
PolledLogSource <|-- DbgviewReader | ||
PolledLogSource <|-- ProcessReader | ||
|
||
CListViewCtrl <|-- CLogView | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://plantuml-editor.kkeisuke.com/# |