DAnCE  ..
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application > Class Template Reference

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

#include <Plan_Launcher_Base_Impl_T.h>

Inheritance diagram for DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >:
Inheritance graph
Collaboration diagram for DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >:
Collaboration graph

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. More...
 
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. More...
 
virtual void finish_launch (CORBA::Object_ptr app, const ::Deployment::Connections &provided_connections, bool start)
 Invokes finishLaunch on the provided Application reference. More...
 
virtual void start (CORBA::Object_ptr application)
 Invokes start on the provided application reference. More...
 
virtual void teardown_application (CORBA::Object_ptr app_mgr, CORBA::Object_ptr app)
 Tears down a plan given the UUID. More...
 
virtual void destroy_app_manager (CORBA::Object_ptr)
 Instructs the Manager to destroy the ApplicationManager. More...
 
- Public Member Functions inherited from DAnCE::Plan_Launcher_Base
virtual ~Plan_Launcher_Base (void)
 

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. More...
 
Manager_var manager_
 Object reference of the Manager. More...
 

Detailed Description

template<typename Manager, typename AppManager, typename Application>
class DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >

This class launches and manages deployment plans.

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename Manager , typename AppManager , typename Application >
DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::Plan_Launcher_Base_Impl ( CORBA::ORB_ptr  orb,
Manager_ptr  manager 
)
template<typename Manager , typename AppManager , typename Application >
DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::~Plan_Launcher_Base_Impl ( )
virtual

Member Function Documentation

template<typename Manager , typename AppManager , typename Application >
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::destroy_app_manager ( CORBA::Object_ptr  app_mgr)
virtual

Instructs the Manager to destroy the ApplicationManager.

Implements DAnCE::Plan_Launcher_Base.

template<typename Manager , typename AppManager , typename Application >
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::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.

template<typename Manager , typename AppManager , typename Application >
const char * DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::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.

template<typename Manager , typename AppManager , typename Application >
CORBA::Object_ptr DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::prepare_plan ( const ::Deployment::DeploymentPlan plan)
virtual

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

Implements DAnCE::Plan_Launcher_Base.

template<typename Manager , typename AppManager , typename Application >
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::start ( CORBA::Object_ptr  application)
virtual

Invokes start on the provided application reference.

Implements DAnCE::Plan_Launcher_Base.

template<typename Manager , typename AppManager , typename Application >
CORBA::Object_ptr DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::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.

template<typename Manager , typename AppManager , typename Application >
void DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::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

template<typename Manager, typename AppManager, typename Application>
Manager_var DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::manager_
protected

Object reference of the Manager.

template<typename Manager, typename AppManager, typename Application>
CORBA::ORB_var DAnCE::Plan_Launcher_Base_Impl< Manager, AppManager, Application >::orb_
protected

Cached ORB pointer.


The documentation for this class was generated from the following files: