VirtualInstrumentBaseParser.hh 819 Bytes
/**
 * VirtualInstrumentBaseParser.hh
 *
 *  Created on: 21 nov. 2014
 *      Author: AKKA
 */

#ifndef VIRTUALINSTRUMENTBASEPARSER_HH_
#define VIRTUALINSTRUMENTBASEPARSER_HH_

#include "VirtualInstrument.hh"

#include <XMLConfigurator.hh>

namespace AMDA
{

namespace LocalFileInterface
{

class VirtualInstrumentBaseParser : public AMDA::XMLConfigurator::XMLConfigurator
{
public:
	VirtualInstrumentBaseParser(const char* pXSDFile, const char* pBaseFileName);

	virtual ~VirtualInstrumentBaseParser();

	/**
	 * Parse an XML file to configure a local VI database.
     */
	virtual void parse(VirtualInstrumentSPtr lResult);

private:
	/*
	 * @brief Path to the XML base file
	 */
	std::string _baseFileName;

};

}/* namespace LocalFileInterface */
} /* namespace AMDA */
#endif /* VIRTUALINSTRUMENTBASEPARSER_HH_ */