Commit a11cba97 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE] made all my TODOs adhere to the style generated by the code

generator.
parent 01e46b61
......@@ -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() );
}
}
......@@ -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
......
......@@ -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 )
......
......@@ -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 )
......
......@@ -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 );
}
......
......@@ -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() );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment