DAnCE  ..
Public Member Functions | Protected Types | Protected Attributes
DAnCE::Plan_Launcher_Base_Impl Class Reference

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

#include <Plan_Launcher_Base_Impl_T.h>

Inheritance diagram for DAnCE::Plan_Launcher_Base_Impl:
Inheritance graph
[legend]
Collaboration diagram for DAnCE::Plan_Launcher_Base_Impl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Plan_Launcher_Base_Impl (CORBA::ORB_ptr orb, Manager_ptr manager)
virtual ~Plan_Launcher_Base_Impl ()
virtual const char * launch_plan (const ::Deployment::DeploymentPlan &plan, CORBA::Object_out am, CORBA::Object_out app)
 Launch a plan, given an IDL deployment plan.
virtual CORBA::Object_ptr prepare_plan (const ::Deployment::DeploymentPlan &plan)
virtual CORBA::Object_ptr start_launch (CORBA::Object_ptr app_mgr, const ::Deployment::Properties &properties,::Deployment::Connections_out connections)
 Invokes startLaunch on the provided ApplicationManager reference.
virtual void finish_launch (CORBA::Object_ptr app, const ::Deployment::Connections &provided_connections, bool start)
 Invokes finishLaunch on the provided Application reference.
virtual void start (CORBA::Object_ptr application)
 Invokes start on the provided application reference.
virtual void teardown_application (CORBA::Object_ptr app_mgr, CORBA::Object_ptr app)
 Tears down a plan given the UUID.
virtual void destroy_app_manager (CORBA::Object_ptr)
 Instructs the Manager to destroy the ApplicationManager.

Protected Types

typedef
Plan_Launcher_Base_Impl
< Manager, AppManager,
Application > 
__Type
typedef Manager::_ptr_type Manager_ptr
typedef Manager::_var_type Manager_var
typedef AppManager::_ptr_type AppManager_ptr
typedef AppManager::_var_type AppManager_var
typedef Application::_ptr_type Application_ptr
typedef Application::_var_type Application_var

Protected Attributes

CORBA::ORB_var orb_
 Cached ORB pointer.
Manager_var manager_
 Object reference of the Manager.

Detailed Description

This class launches and manages deployment plans.


Member Typedef Documentation

typedef Plan_Launcher_Base_Impl< Manager, AppManager, Application > DAnCE::Plan_Launcher_Base_Impl::__Type [protected]
typedef Application::_ptr_type DAnCE::Plan_Launcher_Base_Impl::Application_ptr [protected]
typedef Application::_var_type DAnCE::Plan_Launcher_Base_Impl::Application_var [protected]
typedef AppManager::_ptr_type DAnCE::Plan_Launcher_Base_Impl::AppManager_ptr [protected]
typedef AppManager::_var_type DAnCE::Plan_Launcher_Base_Impl::AppManager_var [protected]
typedef Manager::_ptr_type DAnCE::Plan_Launcher_Base_Impl::Manager_ptr [protected]
typedef Manager::_var_type DAnCE::Plan_Launcher_Base_Impl::Manager_var [protected]

Constructor & Destructor Documentation

DAnCE::Plan_Launcher_Base_Impl::Plan_Launcher_Base_Impl ( CORBA::ORB_ptr  orb,
Manager_ptr  manager 
)
DAnCE::Plan_Launcher_Base_Impl::~Plan_Launcher_Base_Impl ( ) [virtual]

Member Function Documentation

void DAnCE::Plan_Launcher_Base_Impl::destroy_app_manager ( CORBA::Object_ptr  app_mgr) [virtual]

Instructs the Manager to destroy the ApplicationManager.

Implements DAnCE::Plan_Launcher_Base.

void DAnCE::Plan_Launcher_Base_Impl::finish_launch ( CORBA::Object_ptr  application,
const ::Deployment::Connections provided_connections,
bool  start 
) [virtual]

Invokes finishLaunch on the provided Application reference.

Implements DAnCE::Plan_Launcher_Base.

const char * DAnCE::Plan_Launcher_Base_Impl::launch_plan ( const ::Deployment::DeploymentPlan plan,
CORBA::Object_out  am,
CORBA::Object_out  app 
) [virtual]

Launch a plan, given an IDL deployment plan.

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

Implements DAnCE::Plan_Launcher_Base.

CORBA::Object_ptr DAnCE::Plan_Launcher_Base_Impl::prepare_plan ( const ::Deployment::DeploymentPlan plan) [virtual]

Invokes prepareplan for the provided plan, returning a reference to the ApplicationManager.

Implements DAnCE::Plan_Launcher_Base.

void DAnCE::Plan_Launcher_Base_Impl::start ( CORBA::Object_ptr  application) [virtual]

Invokes start on the provided application reference.

Implements DAnCE::Plan_Launcher_Base.

CORBA::Object_ptr DAnCE::Plan_Launcher_Base_Impl::start_launch ( CORBA::Object_ptr  app_mgr,
const ::Deployment::Properties properties,
::Deployment::Connections_out  connections 
) [virtual]

Invokes startLaunch on the provided ApplicationManager reference.

Implements DAnCE::Plan_Launcher_Base.

void DAnCE::Plan_Launcher_Base_Impl::teardown_application ( CORBA::Object_ptr  app_mgr,
CORBA::Object_ptr  app 
) [virtual]

Tears down a plan given the UUID.

Implements DAnCE::Plan_Launcher_Base.


Member Data Documentation

Object reference of the Manager.

Cached ORB pointer.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines