blob: c6bf04ad1e476667a0e7c3ee35be07b11d7cde97 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 TU Wien/ACIN
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Martin Melik Merkumians
* - initial implementation and rework communication infrastructure
*******************************************************************************/
#include "simplefb.h"
CSimpleFB::CSimpleFB(CResource *paSrcRes,
const SFBInterfaceSpec *paInterfaceSpec,
const CStringDictionary::TStringId paInstanceNameId,
const SInternalVarsInformation *paVarInternals,
TForteByte *paFBConnData,
TForteByte *paBasicFBVarsData) :
CBasicFB(paSrcRes, paInterfaceSpec, paInstanceNameId, paVarInternals, paFBConnData, paBasicFBVarsData){
}
CSimpleFB::~CSimpleFB() {
}
void CSimpleFB::executeEvent(int paEIID){
if (0 == paEIID) {
alg_REQ();
sendOutputEvent(0);
}
}