Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Eye-Tracking Classroom
/
gaze-server.cs
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1a524f01
authored
May 26, 2020
by
Stefan Schreistetter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added debugFlag usage.
parent
978ec7d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
30 deletions
+11
-30
GazeWebSocketServer/ClassDiagram1.cd
+10
-29
GazeWebSocketServer/Program.cs
+1
-1
No files found.
GazeWebSocketServer/ClassDiagram1.cd
View file @
1a524f01
...
@@ -3,50 +3,30 @@
...
@@ -3,50 +3,30 @@
<Class Name="GazeWebSocketServer.ConfigurationData">
<Class Name="GazeWebSocketServer.ConfigurationData">
<Position X="0.5" Y="2.25" Width="2" />
<Position X="0.5" Y="2.25" Width="2" />
<TypeIdentifier>
<TypeIdentifier>
<HashCode>gEAAQAAAAA
A
AYAAAAAAAAAAQAAAgBAAAAAAAAAAAAAA=</HashCode>
<HashCode>gEAAQAAAAA
E
AYAAAAAAAAAAQAAAgBAAAAAAAAAAAAAA=</HashCode>
<FileName>ConfigurationData.cs</FileName>
<FileName>ConfigurationData.cs</FileName>
</TypeIdentifier>
</TypeIdentifier>
</Class>
</Class>
<Class Name="GazeWebSocketServer.EyeTrackerClient">
<Position X="6" Y="0.5" Width="1.75" />
<TypeIdentifier>
<HashCode>AAAAAAAAACAAAAAABAAAAAAEAQAAAAAAIAAAAAAAAAA=</HashCode>
<FileName>EyeTrackerClient.cs</FileName>
</TypeIdentifier>
<ShowAsAssociation>
<Field Name="gazeDataProcessor" />
</ShowAsAssociation>
</Class>
<Class Name="GazeWebSocketServer.GazeCoordinateBehavior">
<Class Name="GazeWebSocketServer.GazeCoordinateBehavior">
<Position X="
2.5" Y="0.
5" Width="2.25" />
<Position X="
8.5" Y="0.7
5" Width="2.25" />
<TypeIdentifier>
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAA
EAAAAAAAAAAAAAAg
AAAAAAAAAA=</HashCode>
<HashCode>AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAA
AAAAAAAAAA=</HashCode>
<FileName>GazeCoordinateBehavior.cs</FileName>
<FileName>GazeCoordinateBehavior.cs</FileName>
</TypeIdentifier>
</TypeIdentifier>
<ShowAsAssociation>
<Field Name="eyeTrackerClient" />
</ShowAsAssociation>
</Class>
<Class Name="GazeWebSocketServer.GazeDataProcessor">
<Position X="9.5" Y="0.5" Width="1.75" />
<TypeIdentifier>
<HashCode>AAAAAAAAAABAQAAAAAAAAAAAAAAAAAAAAAAAQAAAAAA=</HashCode>
<FileName>GazeDataProcessor.cs</FileName>
</TypeIdentifier>
</Class>
</Class>
<Class Name="GazeWebSocketServer.Program" Collapsed="true">
<Class Name="GazeWebSocketServer.Program" Collapsed="true">
<Position X="0.5" Y="0.5" Width="1.5" />
<Position X="0.5" Y="0.5" Width="1.5" />
<TypeIdentifier>
<TypeIdentifier>
<HashCode>AA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AABAAAAAA=</HashCode>
<HashCode>AA
CAAAAAAAAAAAAAAAAQAAAAAAAAAAgAAB
AABAAAAAA=</HashCode>
<FileName>Program.cs</FileName>
<FileName>Program.cs</FileName>
</TypeIdentifier>
</TypeIdentifier>
</Class>
</Class>
<
Struct Name="GazeWebSocketServer.GazeData" Collapsed="true
">
<
Class Name="GazeWebSocketServer.GazeServer
">
<Position X="
0.5" Y="1.2
5" Width="1.5" />
<Position X="
6" Y="0.7
5" Width="1.5" />
<TypeIdentifier>
<TypeIdentifier>
<HashCode>
QAAAAAAAAAAAAAAEAAgAAAAAAAAAAAAAAAAAAAAAg
AA=</HashCode>
<HashCode>
AAAAAABAACAAAABAAEAAAAAAAAAAAAAAAAAAAAAAA
AA=</HashCode>
<FileName>Gaze
Data
.cs</FileName>
<FileName>Gaze
Server
.cs</FileName>
</TypeIdentifier>
</TypeIdentifier>
</
Struct
>
</
Class
>
<Font Name="Segoe UI" Size="9" />
<Font Name="Segoe UI" Size="9" />
</ClassDiagram>
</ClassDiagram>
\ No newline at end of file
GazeWebSocketServer/Program.cs
View file @
1a524f01
...
@@ -13,7 +13,7 @@ namespace GazeWebSocketServer
...
@@ -13,7 +13,7 @@ namespace GazeWebSocketServer
ConfigurationData
config
=
ConfigurationData
.
ParseToObject
();
ConfigurationData
config
=
ConfigurationData
.
ParseToObject
();
IBridgeTracker
tracker
;
IBridgeTracker
tracker
;
if
(
args
.
Length
>
0
&&
args
[
0
]
==
"-d"
)
if
(
config
.
DebugFlag
)
{
{
tracker
=
new
FakeTracker
(
600
);
tracker
=
new
FakeTracker
(
600
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment