nidas  v1.2-1520
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
nidas::core::StatusHandler Class Reference

This class implements handling routines for the SAX2 parser. More...

#include <StatusHandler.h>

Inheritance diagram for nidas::core::StatusHandler:
Inheritance graph
[legend]

Public Types

enum  elementType {
  SOURCE, TIME, STATUS, SAMPLEPOOL,
  NONE
}
 

Public Member Functions

 StatusHandler (StatusListener *lstn)
 
void warning (const xercesc::SAXParseException &exc)
 
void error (const xercesc::SAXParseException &exc)
 
void fatalError (const xercesc::SAXParseException &exc)
 
void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const xercesc::Attributes &attributes)
 
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
 
void characters (const XMLCh *const chars, const unsigned int length)
 

Private Member Functions

 StatusHandler (const StatusHandler &)
 No copying. More...
 
StatusHandleroperator= (const StatusHandler &)
 No assignment. More...
 

Private Attributes

StatusListener_listener
 reference to listener thread More...
 
enum elementType _element
 
std::string _src
 host name of socket source More...
 

Detailed Description

This class implements handling routines for the SAX2 parser.

Member Enumeration Documentation

Enumerator
SOURCE 
TIME 
STATUS 
SAMPLEPOOL 
NONE 

Constructor & Destructor Documentation

nidas::core::StatusHandler::StatusHandler ( StatusListener lstn)
inline
nidas::core::StatusHandler::StatusHandler ( const StatusHandler )
private

No copying.

Member Function Documentation

void StatusHandler::characters ( const XMLCh *const  chars,
const unsigned int  length 
)
void StatusHandler::endElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname 
)
void StatusHandler::error ( const xercesc::SAXParseException &  exc)

References PLOG.

void StatusHandler::fatalError ( const xercesc::SAXParseException &  exc)

References PLOG.

StatusHandler& nidas::core::StatusHandler::operator= ( const StatusHandler )
private

No assignment.

void StatusHandler::startElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname,
const xercesc::Attributes &  attributes 
)
void StatusHandler::warning ( const xercesc::SAXParseException &  exc)

References WLOG.

Member Data Documentation

enum elementType nidas::core::StatusHandler::_element
private
StatusListener* nidas::core::StatusHandler::_listener
private

reference to listener thread

std::string nidas::core::StatusHandler::_src
private

host name of socket source


The documentation for this class was generated from the following files: