10 #ifndef CARMA_ANTENNA_BIMA_TELEMETRYCONFIGHANDLER_H
11 #define CARMA_ANTENNA_BIMA_TELEMETRYCONFIGHANDLER_H
15 #include <xercesc/sax/AttributeList.hpp>
16 #include <xercesc/sax/HandlerBase.hpp>
25 #include "carma/util/StrX.h"
31 XERCES_CPP_NAMESPACE_USE
33 typedef std::map<carma::canbus::msgType, carma::antenna::bima::TelemetryInfo *> tmMap;
41 class TelemetryConfigHandler :
public HandlerBase
46 std::vector<short> _addrCheck;
51 TelemetryConfigHandler(
bool check =
false );
53 ~TelemetryConfigHandler();
57 if ( _info.find( mid ) != _info.end() )
63 return (TelemetryInfo *)0;
68 tmMap::iterator begin() {
return _info.begin(); }
69 tmMap::iterator end() {
return _info.end(); }
71 std::string getTelemetryVersion();
77 void startElement(
const XMLCh*
const name, AttributeList& attributes);
80 void endElement(
const XMLCh*
const name);
86 void warning(
const SAXParseException& exception);
89 void error(
const SAXParseException& exception);
92 void fatalError(
const SAXParseException& exception);
99 #endif // CARMA_ANTENNA_BIMA_TELEMETRYCONFIGHANDLER_H
Exception class for errors.
Interface file for the carma::util::Trace class and related macros.
Declarations of carma::canbus utility functions.
unsigned short msgType
Carma Message id type.