28#ifndef NIDAS_DYNLD_XMLCONFIGSERVICE_H
29#define NIDAS_DYNLD_XMLCONFIGSERVICE_H
35namespace nidas {
namespace dynld {
53 void schedule(
bool optionalProcessing);
Class that should include all that is configurable about a DSM.
Definition DSMConfig.h:55
Base class for a service, as built from a <service> XML tag.
Definition DSMService.h:48
Interface for an object that requests connections to Inputs or Outputs.
Definition IOChannel.h:56
A channel for Input or Output of data.
Definition IOChannel.h:65
Worker thread that is run when a connection comes in.
Definition XMLConfigService.h:68
void interrupt()
Interrupt this thread.
Definition XMLConfigService.cc:132
Worker(XMLConfigService *svc, IOChannel *iochan, const DSMConfig *dsm=0)
Definition XMLConfigService.cc:120
XMLConfigService * _svc
Definition XMLConfigService.h:75
~Worker()
Definition XMLConfigService.cc:126
const DSMConfig * _dsm
Definition XMLConfigService.h:77
int run()
The method which will run in its own thread.
Definition XMLConfigService.cc:140
IOChannel * _iochan
Definition XMLConfigService.h:76
Worker & operator=(const Worker &)
Definition XMLConfigService.h:40
void interrupt()
Definition XMLConfigService.cc:77
~XMLConfigService()
Definition XMLConfigService.cc:62
void connect(SampleInput *)
Definition XMLConfigService.h:50
XMLConfigService & operator=(const XMLConfigService &)
Assignment not supported.
void schedule(bool optionalProcessing)
schedule this service to run.
Definition XMLConfigService.cc:66
XMLConfigService(const XMLConfigService &)
Copying not supported.
void disconnect(SampleInput *)
Definition XMLConfigService.h:51
XMLConfigService()
Definition XMLConfigService.cc:57
IOChannelRequester * connected(IOChannel *)
Definition XMLConfigService.cc:87
virtual McSocketRequest getRequestType() const
Definition XMLConfigService.h:55
XMLConfigService(const std::string &name)
Definition XMLConfigService.h:62
The essential core classes of nidas.
Definition A2DConverter.h:31
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
McSocketRequest
Definition Datagrams.h:34
@ XML_CONFIG
Request for a TCP feed of the configuration in XML.
Definition Datagrams.h:39
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31