Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
a11cba97
Commit
a11cba97
authored
Sep 16, 2009
by
Alexander Wiebel
Browse files
[STYLE] made all my TODOs adhere to the style generated by the code
generator.
parent
01e46b61
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
src/dataHandler/WDataHandler.cpp
src/dataHandler/WDataHandler.cpp
+1
-1
src/dataHandler/WEEG.h
src/dataHandler/WEEG.h
+1
-1
src/dataHandler/io/WLoaderBiosig.cpp
src/dataHandler/io/WLoaderBiosig.cpp
+2
-2
src/dataHandler/io/WLoaderEEGASCII.cpp
src/dataHandler/io/WLoaderEEGASCII.cpp
+3
-3
src/dataHandler/io/test/WLoaderEEGASCII_test.h
src/dataHandler/io/test/WLoaderEEGASCII_test.h
+1
-1
src/dataHandler/test/WLoaderManager_test.h
src/dataHandler/test/WLoaderManager_test.h
+1
-1
No files found.
src/dataHandler/WDataHandler.cpp
View file @
a11cba97
...
...
@@ -63,7 +63,7 @@ void WDataHandler::loadDataSets( std::vector< std::string > fileNames )
WLoaderManager
lm
;
for
(
size_t
i
=
0
;
i
<
fileNames
.
size
()
;
++
i
)
{
// TODO(
wiebel
): need to associate the dataset to its subject
// TODO(wiebel): need to associate the dataset to its subject
lm
.
load
(
fileNames
[
i
],
shared_from_this
()
);
}
}
src/dataHandler/WEEG.h
View file @
a11cba97
...
...
@@ -32,7 +32,7 @@
///======================================
// TODO(
wiebel
): use this szuff or remove it
// TODO(wiebel): use this szuff or remove it
#include "../math/WPosition.h"
typedef
double
dummyType
;
class
WEEGElectrodeObject
...
...
src/dataHandler/io/WLoaderBiosig.cpp
View file @
a11cba97
...
...
@@ -122,11 +122,11 @@ void WLoaderBiosig::biosigLoader()
{
std
::
cout
<<
"BIOSIG Channel Label : "
<<
hd
->
CHANNEL
[
i
].
Label
<<
std
::
endl
;
labels
[
i
].
first
=
hd
->
CHANNEL
[
i
].
Label
;
// TODO(
wiebel
): set second channel
// TODO(wiebel): set second channel
}
boost
::
shared_ptr
<
WEEG
>
eeg
=
boost
::
shared_ptr
<
WEEG
>
(
new
WEEG
(
segments
,
lib
,
labels
)
);
// TODO(
wiebel
): this is a dummy implementation. We need to fix
// TODO(wiebel): this is a dummy implementation. We need to fix
// this as soon as we can distinguish which data belongs to which subject.
boost
::
shared_ptr
<
WSubject
>
subject
;
if
(
m_dataHandler
->
getNumberOfSubjects
()
==
0
)
...
...
src/dataHandler/io/WLoaderEEGASCII.cpp
View file @
a11cba97
...
...
@@ -54,7 +54,7 @@ void WLoaderEEGASCII::operator()()
for
(
unsigned
int
i
=
0
;
i
<
nbChannels
;
++
i
)
{
labels
[
i
].
first
=
tokens
[
3
*
i
]
+
" "
+
tokens
[
3
*
i
+
1
]
+
" "
+
tokens
[
3
*
i
+
2
];
// TODO(
wiebel
): set second channel
// TODO(wiebel): set second channel
}
WEEGSegmentArray
segments
(
1
);
...
...
@@ -79,11 +79,11 @@ void WLoaderEEGASCII::operator()()
in
.
close
();
WEEGElectrodeLibrary
lib
;
// TODO(
wiebel
): this is a dummy
WEEGElectrodeLibrary
lib
;
// TODO(wiebel): this is a dummy
boost
::
shared_ptr
<
WEEG
>
eeg
=
boost
::
shared_ptr
<
WEEG
>
(
new
WEEG
(
segments
,
lib
,
labels
)
);
// TODO(
wiebel
): this is a dummy implementation. We need to fix
// TODO(wiebel): this is a dummy implementation. We need to fix
// this as soon as we can distinguish which data belongs to which subject.
boost
::
shared_ptr
<
WSubject
>
subject
;
if
(
m_dataHandler
->
getNumberOfSubjects
()
==
0
)
...
...
src/dataHandler/io/test/WLoaderEEGASCII_test.h
View file @
a11cba97
...
...
@@ -51,7 +51,7 @@ public:
WLoaderEEGASCII
eegASCIILoader
(
fileName
,
dataHandler
);
boost
::
thread
loaderThread
(
eegASCIILoader
);
sleep
(
3
);
// TODO(
wiebel
): we need to change this because loading, in the end,
// TODO(wiebel): we need to change this because loading, in the end,
// should not always increase the number of subjects.
TS_ASSERT_EQUALS
(
dataHandler
->
getNumberOfSubjects
(),
1
);
}
...
...
src/dataHandler/test/WLoaderManager_test.h
View file @
a11cba97
...
...
@@ -53,7 +53,7 @@ public:
WLoaderManager
testLoaderManager
;
testLoaderManager
.
load
(
fileName
,
dataHandler
);
sleep
(
4
);
// we need this to allow the thread to terminate
// TODO(
wiebel
): we need to change this because loading, in the end,
// TODO(wiebel): we need to change this because loading, in the end,
// should not always increase the number of subjects.
TS_ASSERT
(
dataHandler
->
getNumberOfSubjects
()
);
}
...
...
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