CIAO::Plan_Launcher::Plan_Launcher_i Class Reference

This class launches and manages deployment plans. More...

#include <Plan_Launcher_Impl.h>

Inheritance diagram for CIAO::Plan_Launcher::Plan_Launcher_i:

Inheritance graph
[legend]
Collaboration diagram for CIAO::Plan_Launcher::Plan_Launcher_i:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Plan_Launcher_i ()
virtual ~Plan_Launcher_i ()
bool init (const char *em_ior, CORBA::ORB_ptr orb, bool use_repoman=false, bool rm_use_naming=false, const char *rm_name=0, CORBA::Short priority=0, size_t niterations=0)
const char * launch_plan (const char *deployment_plan_uri, const char *package_uri=0, bool use_package_name=true, bool use_repoman=false)
 Launch a plan, given a deployment plan URI.
const char * re_launch_plan (const char *deployment_plan_uri, const char *package_uri=0, bool use_package_name=true, bool use_repoman=false)
virtual const char * launch_plan (const ::Deployment::DeploymentPlan &plan)
 Launch a plan, given an IDL deployment plan.
virtual const char * re_launch_plan (const ::Deployment::DeploymentPlan &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.
bool teardown_plan (::Deployment::DomainApplicationManager_ptr dam)
void destroy_dam (::Deployment::DomainApplicationManager_ptr dam)
void destroy_dam_by_plan (const char *plan_uuid)
bool set_current_priority (CORBA::Short priority)

Protected Member Functions

bool is_client_propagated_model (void)

Protected Attributes

CORBA::ORB_var orb_
 Cached ORB pointer.
::CIAO::ExecutionManagerDaemon_var em_
 Object reference of the ExecutionManager.
Execution_Manager::DAM_Map map_
 Local map for DAMs, to save expensive UUID lookups.
CIAO::Plan_Generator::Plan_Generator_i pg_
CORBA::Short desired_priority_
 Desired CORBA prioirty to be propagated to EM.
size_t niterations_
 Number of iterations to run benchmarking, if specified.

Classes

class  Deployment_Failure

Detailed Description

This class launches and manages deployment plans.


Constructor & Destructor Documentation

CIAO::Plan_Launcher::Plan_Launcher_i::Plan_Launcher_i (  ) 

CIAO::Plan_Launcher::Plan_Launcher_i::~Plan_Launcher_i (  )  [virtual]


Member Function Documentation

void CIAO::Plan_Launcher::Plan_Launcher_i::destroy_dam ( ::Deployment::DomainApplicationManager_ptr  dam  ) 

void CIAO::Plan_Launcher::Plan_Launcher_i::destroy_dam_by_plan ( const char *  plan_uuid  ) 

Deployment::DomainApplicationManager_ptr CIAO::Plan_Launcher::Plan_Launcher_i::get_dam ( const char *  uuid  ) 

Returns the DAM associated with a given plan URI.

bool CIAO::Plan_Launcher::Plan_Launcher_i::init ( const char *  em_ior,
CORBA::ORB_ptr  orb,
bool  use_repoman = false,
bool  rm_use_naming = false,
const char *  rm_name = 0,
CORBA::Short  priority = 0,
size_t  niterations = 0 
)

bool CIAO::Plan_Launcher::Plan_Launcher_i::is_client_propagated_model ( void   )  [protected]

const char * CIAO::Plan_Launcher::Plan_Launcher_i::launch_plan ( const ::Deployment::DeploymentPlan plan  )  [virtual]

Launch a plan, given an IDL deployment plan.

Parameters:
plan A valid IDL deployment plan
Returns:
a string containing the UUID of the plan. Null indicates failure.

Reimplemented in CIAO::Plan_Launcher::Plan_Launcher_Benchmark_i.

const char * CIAO::Plan_Launcher::Plan_Launcher_i::launch_plan ( const char *  deployment_plan_uri,
const char *  package_uri = 0,
bool  use_package_name = true,
bool  use_repoman = false 
)

Launch a plan, given a deployment plan URI.

Parameters:
deployment_plan_uri A uri that points ot a valid deployment plan
Returns:
a string containing the UUID of the plan. Null indicates failure.

const char * CIAO::Plan_Launcher::Plan_Launcher_i::re_launch_plan ( const ::Deployment::DeploymentPlan plan  )  [virtual]

const char * CIAO::Plan_Launcher::Plan_Launcher_i::re_launch_plan ( const char *  deployment_plan_uri,
const char *  package_uri = 0,
bool  use_package_name = true,
bool  use_repoman = false 
)

bool CIAO::Plan_Launcher::Plan_Launcher_i::set_current_priority ( CORBA::Short  priority  ) 

bool CIAO::Plan_Launcher::Plan_Launcher_i::teardown_plan ( ::Deployment::DomainApplicationManager_ptr  dam  ) 

bool CIAO::Plan_Launcher::Plan_Launcher_i::teardown_plan ( const char *  uuid  ) 

Tears down a plan given the UUID.


Member Data Documentation

CORBA::Short CIAO::Plan_Launcher::Plan_Launcher_i::desired_priority_ [protected]

Desired CORBA prioirty to be propagated to EM.

::CIAO::ExecutionManagerDaemon_var CIAO::Plan_Launcher::Plan_Launcher_i::em_ [protected]

Object reference of the ExecutionManager.

Execution_Manager::DAM_Map CIAO::Plan_Launcher::Plan_Launcher_i::map_ [protected]

Local map for DAMs, to save expensive UUID lookups.

size_t CIAO::Plan_Launcher::Plan_Launcher_i::niterations_ [protected]

Number of iterations to run benchmarking, if specified.

CORBA::ORB_var CIAO::Plan_Launcher::Plan_Launcher_i::orb_ [protected]

Cached ORB pointer.

CIAO::Plan_Generator::Plan_Generator_i CIAO::Plan_Launcher::Plan_Launcher_i::pg_ [protected]


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 23:47:07 2007 for DAnCE by  doxygen 1.4.7-1