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

–OBSOLETE– More...

#include <NetworkThread.h>

Inheritance diagram for NetworkThread:
DataThread

List of all members.

Public Member Functions

 NetworkThread (SourceNode *sn)
 ~NetworkThread ()
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.
- 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 float getBitVolts ()=0
 Returns the volts per bit of the data source.
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
SourceNodesn
int16 eventCode
uint64 timestamp
Time timer

Detailed Description

–OBSOLETE–

Receives data from a network source.

Based on the network communication protocol from ArTE (https://code.google.com/p/arte-ephys/)

See also:
DataThread

Constructor & Destructor Documentation

NetworkThread::NetworkThread ( SourceNode sn)
NetworkThread::~NetworkThread ( )

Member Function Documentation

bool NetworkThread::foundInputSource ( )
virtual

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

Implements DataThread.

bool NetworkThread::startAcquisition ( )
virtual

Initializes data transfer.

Implements DataThread.

bool NetworkThread::stopAcquisition ( )
virtual

Stops data transfer.

Implements DataThread.

int NetworkThread::getNumChannels ( )
virtual

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

Implements DataThread.

float NetworkThread::getSampleRate ( )
virtual

Returns the sample rate of the data source.

Implements DataThread.


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