blob: 69ca1a38927d2eda1c41c5808795e018e1346548 [file]
/*******************************************************************************
* Copyright (c) 2018 Johannes Kepler University
*
* 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:
* Alois Zoitl - initial API and implementation and/or initial documentation
*******************************************************************************/
#include "ForteComponent.h"
namespace ForteLibrary {
void ForteComponent::Initialize(void){
mDev = new RMT_DEV;
}
void ForteComponent::LoadSettings(const String& /*paSettingsPath*/){
}
void ForteComponent::SetupSettings(void){
}
void ForteComponent::SubscribeServices(void){
}
void ForteComponent::LoadConfig(void){
}
void ForteComponent::SetupConfig(void){
mDev->setMGR_ID("localhost:61499");
mDev->startDevice();
}
void ForteComponent::ResetConfig(void){
}
void ForteComponent::PublishServices(void){
}
void ForteComponent::Dispose(void){
delete mDev;
mDev = 0;
}
void ForteComponent::PowerDown(void){
if(0 != mDev){
mDev->changeFBExecutionState(cg_nMGM_CMD_Kill);
}
}
} // end of namespace ForteLibrary