blob: 96b57022196a8ee9fbbe5ac6d3422f5bd40fcd40 (
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
|
// -*- C++ -*-
// TAO_IDL - Generated from
// be/be_codegen.cpp:1756
#include "PL_Daemon_Impl.h"
#include "Convert_Plan/Convert_Plan_Impl.h"
namespace DAnCE
{
// Implementation skeleton constructor
Plan_Launcher_Daemon_i::Plan_Launcher_Daemon_i (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
// Implementation skeleton destructor
Plan_Launcher_Daemon_i::~Plan_Launcher_Daemon_i (void)
{
}
::Deployment::DeploymentPlan *
Plan_Launcher_Daemon_i::parse_xml_plan (const char * plan_location)
{
if (!plan_location)
throw CORBA::BAD_PARAM ();
Deployment::DeploymentPlan * plan =
DAnCE::Convert_Plan::read_xml_plan (ACE_TEXT_CHAR_TO_TCHAR (plan_location));
if (plan)
return plan;
throw CORBA::UNKNOWN ();
}
::Deployment::DeploymentPlan *
Plan_Launcher_Daemon_i::parse_cdr_plan (const char * plan_location)
{
if (!plan_location)
throw CORBA::BAD_PARAM ();
Deployment::DeploymentPlan * plan =
DAnCE::Convert_Plan::read_xml_plan (ACE_TEXT_CHAR_TO_TCHAR (plan_location));
if (plan)
return plan;
throw CORBA::UNKNOWN ();
}
void Plan_Launcher_Daemon_i::shutdown (void)
{
this->orb_->shutdown ();
}
}
|