blob: 5f8a84a42ede151853439576dcc921521f308a8c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 AIT, ACIN
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Filip Andren, Alois Zoitl - initial API and implementation and/or initial documentation
*******************************************************************************/
#ifndef _EPLXMLREADER_H_
#define _EPLXMLREADER_H_
#include "ProcessImageMatrix.h"
#include "ModuleList.h"
class TiXmlNode;
class CEplXmlReader{
public:
CEplXmlReader(CProcessImageMatrix* pa_pIn, CProcessImageMatrix* pa_pOut);
~CEplXmlReader();
void setProcessImageIn(CProcessImageMatrix* pa_pIn);
void setProcessImageOut(CProcessImageMatrix* pa_pOut);
void readXmlFile(const char* pa_pchFileName);
int getProcessImageIn();
private:
CModuleList m_oModuleListOut;
CModuleList m_oModuleListIn;
CProcessImageMatrix* m_pProcImageOut;
CProcessImageMatrix* m_pProcImageIn;
void createProcImageOut(TiXmlNode* pa_pProcessImage);
void createProcImageIn(TiXmlNode* pa_pProcessImage);
int getModuleNr(const char* pa_pchIoId);
};
#endif