diff options
Diffstat (limited to 'modules/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Module.cpp')
-rw-r--r-- | modules/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Module.cpp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/modules/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Module.cpp b/modules/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Module.cpp deleted file mode 100644 index fa07782f010..00000000000 --- a/modules/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Module.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "Plan_Launcher_Module.h" -#include "Plan_Launcher_Impl.h" -#include "ace/Get_Opt.h" -#include "DAnCE/Logger/Log_Macros.h" - -ACE_RCSID (DAnCE, - DAnCE_Plan_Launcher_Module, - "$Id$") - -using namespace DAnCE::Plan_Launcher; - -DAnCE_Plan_Launcher_Module::DAnCE_Plan_Launcher_Module (void) -{ -} - -CORBA::Object_ptr -DAnCE_Plan_Launcher_Module::create_object (CORBA::ORB_ptr orb, - int argc, - ACE_TCHAR *argv[]) -{ - try - { - DANCE_DEBUG ((LM_TRACE, DLINFO ACE_TEXT("DAnCE_Plan_Launcher_Module::create_object - ") - ACE_TEXT("Creating Plan Launcher object."))); - - Plan_Launcher_Impl pl (orb, argc, argv); - pl.execute(); - } - catch (const Plan_Launcher_Base_Impl::Help_Issued& ) - { - } - catch (const Plan_Launcher_Base_Impl::Deployment_Failure& e) - { - DANCE_ERROR ((LM_ERROR, DLINFO ACE_TEXT("DAnCE_Plan_Launcher_Module::create_object - ") - ACE_TEXT("Error : %C.\n"), e.error_.c_str())); - } - catch (const CORBA::Exception& ex) - { - DANCE_ERROR ((LM_ERROR, DLINFO ACE_TEXT("DAnCE_Plan_Launcher_Module::create_object - ") - ACE_TEXT("Caught CORBA Exception %C"), - ex._info ().c_str ())); - } - catch (...) - { - DANCE_ERROR ((LM_ERROR, DLINFO ACE_TEXT("DAnCE_Plan_Launcher_Module::create_object - ") - ACE_TEXT("Unknown exception.\n"))); - } - return CORBA::Object::_nil (); -} - -ACE_FACTORY_DEFINE (DAnCE_Plan_Launcher_Module, DAnCE_Plan_Launcher_Module) - - |