Skip to content
Snippets Groups Projects

apps now use runSimpleComponentApp (less code, less duplication)

Merged Raphael Grimm requested to merge UsingRunSimpleComponentApp into master
41 files
+ 85
745
Compare changes
  • Side-by-side
  • Inline
Files
41
/*
* This file is part of ArmarX.
*
* Copyright (C) 2012-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package RobotAPI::applications
* @author Peter Kaiser (peter dot kaiser at kit dot edu)
* @date 2015
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#include <ArmarXCore/core/application/Application.h>
#include <RobotAPI/components/units/BusInspectionUnitObserver.h>
namespace armarx
{
class BusInspectionUnitObserverApp :
virtual public armarx::Application
{
void setup(const ManagedIceObjectRegistryInterfacePtr& registry, Ice::PropertiesPtr properties)
{
registry->addObject(Component::create<BusInspectionUnitObserver>(properties));
}
};
}
Loading