00001 /******************************************************************** 00002 * The Data Acquisition Backbone Core (DABC) 00003 ******************************************************************** 00004 * Copyright (C) 2009- 00005 * GSI Helmholtzzentrum fuer Schwerionenforschung GmbH 00006 * Planckstr. 1 00007 * 64291 Darmstadt 00008 * Germany 00009 * Contact: http://dabc.gsi.de 00010 ******************************************************************** 00011 * This software can be used under the GPL license agreements as stated 00012 * in LICENSE.txt file which is part of the distribution. 00013 ********************************************************************/ 00014 #include "bnet/RocClusterFactory.h" 00015 00016 #include "bnet/RocClusterApplication.h" 00017 00018 bnet::RocClusterFactory bnet_roc_cluster_factory("bnet-roc-cluster"); 00019 00020 const char* bnet::xmlRocClusterClass = "bnet::RocCluster"; 00021 00022 dabc::Application* bnet::RocClusterFactory::CreateApplication(const char* classname, dabc::Command* cmd) 00023 { 00024 if (strcmp(classname, xmlRocClusterClass)==0) 00025 return new bnet::RocClusterApplication(); 00026 00027 return dabc::Factory::CreateApplication(classname, cmd); 00028 } 00029