OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WReaderEEGASCII Class Reference

Reader for EEG data in ASCII fromat. More...

#include <WReaderEEGASCII.h>

+ Inheritance diagram for WReaderEEGASCII:
+ Collaboration diagram for WReaderEEGASCII:

Public Member Functions

 WReaderEEGASCII (std::string fileName)
 Constructs a loader to be executed in its own thread and sets the data needed for the loader when executed in its own thread. More...
 
virtual std::shared_ptr< WDataSetload ()
 Loads the dataset. More...
 
void operator() ()
 Function that is automatically executed as new thread. More...
 
- Public Member Functions inherited from WReader
 WReader (std::string fname)
 Creates a read object for file reading. More...
 
OW_API_DEPRECATED void setFileName (std::string fname)
 Reset the file name and checks if it exists. More...
 
void setFilename (std::string fname)
 Reset the file name and checks if it exists. More...
 

Additional Inherited Members

- Protected Member Functions inherited from WReaderEEG
 WReaderEEG (std::string fileName)
 Constructs basic eeg Reader with a file name. More...
 
WEEGElectrodeLibrary extractElectrodePositions ()
 Load electrode positions from ELC file with same name. More...
 
- Protected Attributes inherited from WReader
std::string m_fname
 Absolute path of the file to read from. More...
 

Detailed Description

Reader for EEG data in ASCII fromat.

Definition at line 38 of file WReaderEEGASCII.h.

Constructor & Destructor Documentation

◆ WReaderEEGASCII()

WReaderEEGASCII::WReaderEEGASCII ( std::string  fileName)
explicit

Constructs a loader to be executed in its own thread and sets the data needed for the loader when executed in its own thread.

Parameters
fileNamethis file will be loaded

Definition at line 38 of file WReaderEEGASCII.cpp.

Member Function Documentation

◆ load()

std::shared_ptr< WDataSet > WReaderEEGASCII::load ( )
virtual

Loads the dataset.

Returns
the dataset loaded.

Definition at line 43 of file WReaderEEGASCII.cpp.

References WReader::m_fname, and string_utils::tokenize().

Referenced by WReaderEEGASCIITest::testLoading().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator()()

void WReaderEEGASCII::operator() ( )

Function that is automatically executed as new thread.


The documentation for this class was generated from the following files: