blob: 22add49ee627c822a24361202065e7ebe4e7ca7f (
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
59
60
|
// -*- C++ -*-
//=============================================================================
/**
* @file NodeApplicationManager_Impl.h
*
* $Id$
*
* @Brief Implementation of POA_Deployment::NodeApplicationManager
*
* @author Erwin Gottlieb <eg@prismtech.com>
*/
//=============================================================================
#ifndef NODEAPPLICATIONMANAGER_IMPL_H_
#define NODEAPPLICATIONMANAGER_IMPL_H_
#include "NodeApplicationManager_Export.h"
#include "Deployment/Deployment_DeploymentPlanC.h"
#include "Deployment/Deployment_NodeApplicationManagerS.h"
#include "Deployment/Deployment_NodeApplicationC.h"
#include "NodeApplication/NodeApplication_Impl.h"
//#include "RedirectionService/RedirectionService.h"
namespace DAnCE
{
class NodeManager_Impl;
class NodeApplicationManager_Export NodeApplicationManager_Impl :
public virtual POA_Deployment::NodeApplicationManager
{
public:
NodeApplicationManager_Impl (CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa,
const Deployment::DeploymentPlan& plan,
// RedirectionService & redirection,
const ACE_CString& name,
const PROPERTY_MAP &properties);
virtual ~NodeApplicationManager_Impl();
virtual Deployment::Application_ptr
startLaunch (const Deployment::Properties & configProperty,
Deployment::Connections_out providedReference);
virtual void destroyApplication (Deployment::Application_ptr);
private:
void register_plan();
Deployment::DeploymentPlan plan_;
CORBA::ORB_var orb_;
PortableServer::POA_var poa_;
NodeApplication_Impl* application_;
// RedirectionService & redirection_;
ACE_CString node_name_;
PROPERTY_MAP properties_;
};
}
#endif /*NODEAPPLICATIONMANAGER_IMPL_H_*/
|