Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions
FileReaderThread Class Reference

#include <FileReaderThread.h>

Inheritance diagram for FileReaderThread:
DataThread

List of all members.

Public Member Functions

 FileReaderThread (SourceNode *sn)
 ~FileReaderThread ()
bool foundInputSource ()
 Returns true if the data source is connected, false otherwise.
bool startAcquisition ()
 Initializes data transfer.
bool stopAcquisition ()
 Stops data transfer.
int getNumChannels ()
 Returns the number of continuous channels the data source can provide.
float getSampleRate ()
 Returns the sample rate of the data source.
float getBitVolts ()
 Returns the volts per bit of the data source.
- Public Member Functions inherited from DataThread
 DataThread (SourceNode *sn)
 ~DataThread ()
void run ()
 Calls 'updateBuffer()' continuously while the thread is being run.
DataBuffergetBufferAddress ()
 Returns the address of the DataBuffer that the input source will fill.
virtual void setOutputHigh ()
 Experimental method used for testing data sources that can deliver outputs.
virtual void setOutputLow ()
 Experimental method used for testing data sources that can deliver outputs.
virtual int getNumEventChannels ()
 Returns the number of event channels of the data source.
virtual void * getDevice ()
 
Returns a pointer to the data input device, in case other processors

need to communicate with it.

Additional Inherited Members

- Public Attributes inherited from DataThread
ScopedPointer< DataBufferdataBuffer
SourceNodesn
int16 eventCode
uint64 timestamp
Time timer

Constructor & Destructor Documentation

FileReaderThread::FileReaderThread ( SourceNode sn)
FileReaderThread::~FileReaderThread ( )

Member Function Documentation

bool FileReaderThread::foundInputSource ( )
virtual

Returns true if the data source is connected, false otherwise.

Implements DataThread.

bool FileReaderThread::startAcquisition ( )
virtual

Initializes data transfer.

Implements DataThread.

bool FileReaderThread::stopAcquisition ( )
virtual

Stops data transfer.

Implements DataThread.

int FileReaderThread::getNumChannels ( )
virtual

Returns the number of continuous channels the data source can provide.

Implements DataThread.

float FileReaderThread::getSampleRate ( )
virtual

Returns the sample rate of the data source.

Implements DataThread.

float FileReaderThread::getBitVolts ( )
virtual

Returns the volts per bit of the data source.

Implements DataThread.


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