26#ifndef NIDAS_CORE_STATUSHANDLER_H
27#define NIDAS_CORE_STATUSHANDLER_H
29#include <xercesc/sax2/XMLReaderFactory.hpp>
30#include <xercesc/sax2/DefaultHandler.hpp>
34namespace nidas {
namespace core {
52 void warning(
const xercesc::SAXParseException & exc);
53 void error(
const xercesc::SAXParseException & exc);
54 void fatalError(
const xercesc::SAXParseException & exc);
60 const XMLCh *
const localname,
61 const XMLCh *
const qname,
62 const xercesc::Attributes & attributes);
65 const XMLCh *
const localname,
66 const XMLCh *
const qname);
69 const XMLSize_t length);
This class implements handling routines for the SAX2 parser.
Definition StatusHandler.h:42
StatusHandler & operator=(const StatusHandler &)
No assignment.
void fatalError(const xercesc::SAXParseException &exc)
Definition StatusHandler.cc:61
enum elementType _element
Definition StatusHandler.h:78
StatusListener * _listener
reference to listener thread
Definition StatusHandler.h:76
StatusHandler(StatusListener *lstn)
Definition StatusHandler.h:44
void warning(const xercesc::SAXParseException &exc)
Definition StatusHandler.cc:45
StatusHandler(const StatusHandler &)
No copying.
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition StatusHandler.cc:103
elementType
Definition StatusHandler.h:71
@ STATUS
Definition StatusHandler.h:71
@ SAMPLEPOOL
Definition StatusHandler.h:71
@ NONE
Definition StatusHandler.h:71
@ TIME
Definition StatusHandler.h:71
@ SOURCE
Definition StatusHandler.h:71
std::string _src
host name of socket source
Definition StatusHandler.h:81
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const xercesc::Attributes &attributes)
Definition StatusHandler.cc:73
void error(const xercesc::SAXParseException &exc)
Definition StatusHandler.cc:53
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition StatusHandler.cc:96
thread that listens to multicast messages from all of the DSMs.
Definition StatusListener.h:46
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31