| /******************************************************************************* |
| * 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(){ |
| mDev = new RMT_DEV; |
| } |
| |
| void ForteComponent::LoadSettings(const String& /*paSettingsPath*/){ |
| } |
| |
| void ForteComponent::SetupSettings(){ |
| } |
| |
| void ForteComponent::SubscribeServices(){ |
| } |
| |
| void ForteComponent::LoadConfig(){ |
| } |
| |
| void ForteComponent::SetupConfig(){ |
| mDev->setMGR_ID("localhost:61499"); |
| mDev->startDevice(); |
| } |
| |
| void ForteComponent::ResetConfig(){ |
| } |
| |
| void ForteComponent::PublishServices(){ |
| } |
| |
| void ForteComponent::Dispose(){ |
| delete mDev; |
| mDev = 0; |
| } |
| |
| void ForteComponent::PowerDown(){ |
| if(0 != mDev){ |
| mDev->changeFBExecutionState(EMGMCommandType::Kill); |
| } |
| } |
| |
| } // end of namespace ForteLibrary |