Base class for all the OpenViBE acquisition server driver callbacks. More...
Inherited by CAcquisitionServer.
Public Member Functions | |
virtual void | setSamples (const OpenViBE::float32 *pSample)=0 |
Gives new sample buffer. More... | |
virtual void | setSamples (const OpenViBE::float32 *pSample, const OpenViBE::uint32 ui32SampleCount)=0 |
Gives new sample buffer. More... | |
virtual void | setStimulationSet (const OpenViBE::IStimulationSet &rStimulationSet)=0 |
Gives a new stimulation set corresponding to the last sample buffer. More... | |
virtual | ~IDriverCallback (void) |
Destructor. | |
Detailed Description
Base class for all the OpenViBE acquisition server driver callbacks.
- Date
- 2007-04-01 Objects derived from this class are called by any driver to provide built sample buffers.
- See also
- IDriver
- IDriver::loop
Member Function Documentation
|
pure virtual |
Gives new sample buffer.
- Parameters
-
pSample [in] : a buffer containing all the samples
This is used by the acquisition server to be notified when the driver has finished to build the whole buffer of data to send. This function is called by the driver during the IDriver::loop and should give an array of nSamplesPerChannel
x nChannel
organised by channel first.
- See also
- IDriver::loop
|
pure virtual |
Gives new sample buffer.
- Parameters
-
pSample [in] : a buffer containing all the samples
This is used by the acquisition server to be notified when the driver has finished to build the whole buffer of data to send. This function is called by the driver during the IDriver::loop and should give an array of nSamplesPerChannel
x nChannel
organised by channel first.
- See also
- IDriver::loop
|
pure virtual |
Gives a new stimulation set corresponding to the last sample buffer.
- Parameters
-
rStimulationSet [in] : the stimulation set associated with the last sample buffer
This is used by the acquisition server to be notified when the driver has finished to build the whole buffer of data to send. This function is called by the driver during the IDriver::loop and immediatly after the IDriverCallback::setSamples function, even if the stimulation set is empty.
- Warning
- The stimulation dates are relative to the last buffer start time.
- See also
- IDriver::loop
Generated on Tue Jun 26 2012 15:25:54 for Documentation by 1.7.4