blob: ccad13bd4875f2e89feb21fa28017e1a7d1e5679 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/**
* @file Plan_Launcher_Base.h
* @author William R. Otte <wotte@dre.vanderbilt.edu>
*
* $Id$
*
* ABC for the EM/NM bridges.
*/
#ifndef DANCE_PLAN_LAUNCHER_BASE
#define DANCE_PLAN_LAUNCHER_BASE
#include "dance/Deployment/Deployment_DeploymentPlanC.h"
#include "dance/Deployment/Deployment_ConnectionC.h"
#include "dance/Plan_Launcher/Plan_Launcher_Export.h"
namespace DAnCE
{
class DAnCE_Plan_Launcher_Export Plan_Launcher_Base
{
public:
virtual ~Plan_Launcher_Base (void) {};
/// Fully launches a nominated plan, returning valid object references to
/// the ApplicationManager and Application objects if successful.
virtual const char * launch_plan (const ::Deployment::DeploymentPlan &plan,
CORBA::Object_out am,
CORBA::Object_out app) = 0;
/// Invokes prepareplan for the provided plan, returning a reference to
/// the ApplicationManager.
virtual CORBA::Object_ptr prepare_plan (const ::Deployment::DeploymentPlan &plan) = 0;
/// Invokes startLaunch on the provided ApplicationManager reference.
virtual CORBA::Object_ptr start_launch (CORBA::Object_ptr app_mgr,
const ::Deployment::Properties &properties,
::Deployment::Connections_out connections) = 0;
/// Invokes finishLaunch on the provided Application reference.
virtual void finish_launch (CORBA::Object_ptr application,
const ::Deployment::Connections &provided_connections,
bool start) = 0;
/// Invokes start on the provided application reference.
virtual void start (CORBA::Object_ptr application) = 0;
/// Tears down a plan given an applicationmanafger and Application
/// reference pair.
virtual void teardown_application (CORBA::Object_ptr app_mgr,
CORBA::Object_ptr app) = 0;
/// Instructs the Manager to destroy the ApplicationManager.
virtual void destroy_app_manager (CORBA::Object_ptr app_mgr) = 0;
};
}
#endif
|