#include <IntanThread.h>
Public Member Functions | |
IntanThread (SourceNode *sn) | |
~IntanThread () | |
bool | foundInputSource () |
Returns true if the data source is connected, false otherwise. | |
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. | |
int | getNumEventChannels () |
Returns the number of event channels of the data source. | |
![]() | |
DataThread (SourceNode *sn) | |
~DataThread () | |
void | run () |
Calls 'updateBuffer()' continuously while the thread is being run. | |
DataBuffer * | getBufferAddress () |
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 void * | getDevice () |
Returns a pointer to the data input device, in case other processors |
Additional Inherited Members | |
![]() | |
ScopedPointer< DataBuffer > | dataBuffer |
SourceNode * | sn |
int16 | eventCode |
uint64 | timestamp |
Time | timer |
IntanThread::IntanThread | ( | SourceNode * | sn | ) |
IntanThread::~IntanThread | ( | ) |
|
virtual |
Returns true if the data source is connected, false otherwise.
Implements DataThread.
|
virtual |
Returns the number of continuous channels the data source can provide.
Implements DataThread.
|
virtual |
Returns the sample rate of the data source.
Implements DataThread.
|
virtual |
Returns the volts per bit of the data source.
Implements DataThread.
|
virtual |
Returns the number of event channels of the data source.
Reimplemented from DataThread.