27 #ifndef NIDAS_CORE_SAMPLEINPUT_H
28 #define NIDAS_CORE_SAMPLEINPUT_H
36 namespace nidas {
namespace core {
53 virtual std::string
getName()
const = 0;
75 virtual
bool readSamples() throw(nidas::util::IOException) = 0;
83 virtual
void close() throw(nidas::util::IOException) = 0;
85 virtual
void setNonBlocking(
bool val) throw(nidas::util::IOException) = 0;
87 virtual
bool isNonBlocking() const throw(nidas::util::IOException) = 0;
89 virtual
int getFd() const = 0;
Class that should include all that is configurable about a DSM.
Definition: DSMConfig.h:55
Pure virtual interface for a source of Samples.
Definition: SampleSource.h:48
Interface of an object that can be instantiated from a DOM element, via the fromDOMElement method...
Definition: DOMable.h:51
Interface to a data sample.
Definition: Sample.h:189
Base class for a service, as built from a <service> XML tag.
Definition: DSMService.h:47
Interface for an object that requests connections to Inputs or Outputs.
Definition: IOChannel.h:54