nidas v1.2.3
|
This class implements handling routines for the SAX2 parser. More...
#include <StatusHandler.h>
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 XMLSize_t length) |
Private Member Functions | |
StatusHandler (const StatusHandler &) | |
No copying. | |
StatusHandler & | operator= (const StatusHandler &) |
No assignment. | |
Private Attributes | |
StatusListener * | _listener |
reference to listener thread | |
enum elementType | _element |
std::string | _src |
host name of socket source | |
This class implements handling routines for the SAX2 parser.
|
inline |
|
private |
No copying.
References nidas::core::StatusListener::_clocks, nidas::core::StatusListener::_clocksMutex, _element, _listener, nidas::core::StatusListener::_samplePool, _src, nidas::core::StatusListener::_status, nidas::core::StatusListener::_statusMutex, nidas::util::Mutex::lock(), NONE, SAMPLEPOOL, SOURCE, STATUS, TIME, and nidas::util::Mutex::unlock().
|
private |
No assignment.
void StatusHandler::startElement | ( | const XMLCh *const | uri, |
const XMLCh *const | localname, | ||
const XMLCh *const | qname, | ||
const xercesc::Attributes & | attributes ) |
References _element, SAMPLEPOOL, SOURCE, STATUS, and TIME.
|
private |
Referenced by characters(), endElement(), and startElement().
|
private |
reference to listener thread
Referenced by characters().
|
private |
host name of socket source
Referenced by characters().