27 #ifndef NIDAS_DYNLD_SAMPLEOUTPUTSTREAM_H
28 #define NIDAS_DYNLD_SAMPLEOUTPUTSTREAM_H
33 namespace nidas {
namespace dynld {
35 using namespace nidas::core;
71 bool receive(const
Sample *s) throw();
75 size_t write(const
void* buf,
size_t len,
bool streamFlush)
76 throw(nidas::util::IOException);
86 void setLatency(
float val)
98 size_t write(const
Sample* samp,
bool streamFlush) throw(nidas::util::IOException);
117 SampleOutputStream(const SampleOutputStream&);
122 SampleOutputStream& operator=(const SampleOutputStream&);
Interface for an object that requests connections SampleOutputs.
Definition: ConnectionRequester.h:42
A base class for buffering data.
Definition: IOStream.h:41
A class for serializing Samples on an OutputStream.
Definition: SampleOutputStream.h:40
IOStream * getIOStream()
Get the IOStream of this SampleOutputStream.
Definition: SampleOutputStream.h:67
Interface of an output stream of samples.
Definition: SampleOutput.h:47
long long dsm_time_t
Posix time in microseconds, the number of non-leap microseconds since 1970 Jan 1 00:00 UTC...
Definition: Sample.h:61
Implementation of portions of SampleOutput.
Definition: SampleOutput.h:147
A channel for Input or Output of data.
Definition: IOChannel.h:64
int len
Definition: sing.cc:934
Interface to a data sample.
Definition: Sample.h:189
Definition: IOException.h:37
Definition: InvalidParameterException.h:35