#include <Plan_Launcher_Base_Impl.h>
Classes | |
class | Deployment_Failure |
Public Member Functions | |
Plan_Launcher_Base_Impl (CORBA::ORB_ptr orb, int argc, ACE_TCHAR *argv[]) | |
virtual | ~Plan_Launcher_Base_Impl () |
void | execute () |
Static Public Member Functions | |
static Deployment::DeploymentPlan * | read_cdr_plan_file (const char *deployment_plan_uri) |
static void | write_cdr_plan_file (const char *filename, const Deployment::DeploymentPlan &plan) |
Protected Member Functions | |
virtual const char * | launch_plan (const ::Deployment::DeploymentPlan &plan) |
Launch a plan, given an IDL deployment plan. | |
::Deployment::DomainApplicationManager_ptr | get_dam (const char *uuid) |
Returns the DAM associated with a given plan URI. | |
bool | teardown_plan (const char *uuid) |
Tears down a plan given the UUID. | |
void | teardown_plan (::Deployment::DomainApplicationManager_ptr dam) |
void | destroy_dam (::Deployment::DomainApplicationManager_ptr dam) |
virtual void | stop_plan () |
void | usage (const ACE_TCHAR *program=0) |
void | parse_args (int argc, ACE_TCHAR *argv[]) |
void | write_dam_ior (::Deployment::DomainApplicationManager_ptr dam) |
void | create_external_connections (const ::Deployment::DeploymentPlan &plan, Deployment::Connections &conn) |
virtual void | check_mode_consistentness () |
Static Protected Member Functions | |
static bool | is_empty (const ACE_CString &s) |
static ACE_CString | expand_env_vars (const ACE_TCHAR *src) |
Protected Attributes | |
CORBA::ORB_var | orb_ |
Cached ORB pointer. | |
::DAnCE::ExecutionManagerDaemon_var | em_ |
Object reference of the ExecutionManager. | |
ACE_Vector< ACE_CString > | cdr_plan_urls_ |
ACE_CString | plan_uuid_ |
ACE_CString | em_ior_ |
ACE_CString | dam_ior_ |
ACE_Vector< ACE_CString > | xml_plan_urls_ |
ACE_CString | cdr_dest_url_ |
unsigned long | mode_ |
Static Protected Attributes | |
static const unsigned long | MODE_START_PLAN = 0x0001 |
static const unsigned long | MODE_STOP_PLAN = 0x0002 |
static const unsigned long | MODE_USE_NAMING = 0x0004 |
static const unsigned long | MODE_WRITE_CDR = 0x0008 |
DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::Plan_Launcher_Base_Impl | ( | CORBA::ORB_ptr | orb, | |
int | argc, | |||
ACE_TCHAR * | argv[] | |||
) |
DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::~Plan_Launcher_Base_Impl | ( | ) | [virtual] |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::check_mode_consistentness | ( | ) | [protected, virtual] |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::create_external_connections | ( | const ::Deployment::DeploymentPlan & | plan, | |
Deployment::Connections & | conn | |||
) | [protected] |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::destroy_dam | ( | ::Deployment::DomainApplicationManager_ptr | dam | ) | [protected] |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::execute | ( | ) |
Reimplemented in DAnCE::Plan_Launcher::Plan_Launcher_Impl.
ACE_CString DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::expand_env_vars | ( | const ACE_TCHAR * | src | ) | [static, protected] |
::Deployment::DomainApplicationManager_ptr DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::get_dam | ( | const char * | uuid | ) | [protected] |
Returns the DAM associated with a given plan URI.
static bool DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::is_empty | ( | const ACE_CString & | s | ) | [inline, static, protected] |
const char * DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::launch_plan | ( | const ::Deployment::DeploymentPlan & | plan | ) | [protected, virtual] |
Launch a plan, given an IDL deployment plan.
plan | A valid IDL deployment plan |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::parse_args | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) | [protected] |
Deployment::DeploymentPlan * DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::read_cdr_plan_file | ( | const char * | deployment_plan_uri | ) | [static] |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::stop_plan | ( | ) | [protected, virtual] |
Reimplemented in DAnCE::Plan_Launcher::Plan_Launcher_Impl.
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::teardown_plan | ( | ::Deployment::DomainApplicationManager_ptr | dam | ) | [protected] |
bool DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::teardown_plan | ( | const char * | uuid | ) | [protected] |
Tears down a plan given the UUID.
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::usage | ( | const ACE_TCHAR * | program = 0 |
) | [protected] |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::write_cdr_plan_file | ( | const char * | filename, | |
const Deployment::DeploymentPlan & | plan | |||
) | [static] |
void DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::write_dam_ior | ( | ::Deployment::DomainApplicationManager_ptr | dam | ) | [protected] |
::DAnCE::ExecutionManagerDaemon_var DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::em_ [protected] |
Object reference of the ExecutionManager.
unsigned long DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::mode_ [protected] |
const unsigned long DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::MODE_START_PLAN = 0x0001 [static, protected] |
const unsigned long DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::MODE_STOP_PLAN = 0x0002 [static, protected] |
const unsigned long DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::MODE_USE_NAMING = 0x0004 [static, protected] |
const unsigned long DAnCE::Plan_Launcher::Plan_Launcher_Base_Impl::MODE_WRITE_CDR = 0x0008 [static, protected] |
Cached ORB pointer.