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