nidas v1.2.3
|
Public Member Functions | |
TestClient () | |
bool | receive (const Sample *s) throw () |
Method called to pass a sample to this client. | |
virtual void | flush ()=0 |
Ask that this SampleClient send out any buffered Samples that it may be holding. | |
Public Attributes | |
int | nsamples |
|
inline |
Ask that this SampleClient send out any buffered Samples that it may be holding.
)
Implemented in DumpClient, SampleDispatcher, DataStats, DumpClient, nidas::core::DSMSensor, nidas::core::NearestResampler, nidas::core::NearestResamplerAtRate, nidas::core::RemoteSerialConnection, nidas::core::SampleAverager, nidas::core::SampleBuffer, nidas::core::SampleSorter, nidas::dynld::AsciiOutput, nidas::dynld::raf::CVIOutput, nidas::dynld::raf::CVIProcessor, nidas::dynld::raf::SyncRecordReader, nidas::dynld::raf::SyncRecordSource, nidas::dynld::SampleOutputStream, nidas::dynld::StatisticsCruncher, nidas::dynld::UDPSampleOutput, nidas::core::Resampler, and nidas::core::SampleThread.
Referenced by nidas::core::DSMEngine::closeOutputs(), nidas::core::SampleArchiver::flush(), nidas::dynld::raf::CVIProcessor::flush(), nidas::dynld::SampleProcessor::flush(), nidas::dynld::StatisticsProcessor::flush(), nidas::dynld::raf::CVIProcessor::~CVIProcessor(), nidas::core::SampleArchiver::~SampleArchiver(), nidas::core::SampleIOProcessor::~SampleIOProcessor(), nidas::dynld::SampleProcessor::~SampleProcessor(), nidas::dynld::StatisticsProcessor::~StatisticsProcessor(), and nidas::dynld::raf::SyncRecordGenerator::~SyncRecordGenerator().
Method called to pass a sample to this client.
This method is typically called by a SampleSource for each of its SampleClients when it has a sample ready. Returns true: success false: sample rejected. This is meant to signal a warning-type situation - like a socket not being available temporarily. True errors will be thrown as an IOException.
)
Implements nidas::core::SampleClient.
References TestSource::nsamples.
int TestClient::nsamples |