summaryrefslogtreecommitdiff
path: root/SA_POP/Converter.h
blob: bb150884cd1e2d5ea629fe3daf4112e51fca9aea (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
#include "Interactive_Input_AdapterC.h"
#include "ace/OS.h"
#include "ace/SString.h"
#include "orbsvcs/CosNamingC.h"
#include "RACE/common/OpStringC.h"
#include "Plan_Generator_impl.h"
namespace CIAO
{
  namespace RACE
  {

    class Converter
    {
    public:
      Converter (int argc, char **argv);

      virtual ~Converter ();

      virtual int convert (OperationalString &op_string,
                           ::Deployment::DeploymentPlan &plan);

      virtual int deploy_plan (::Deployment::DeploymentPlan &plan);

    private:
      ::CIAO::Plan_Generator::Plan_Generator_i plan_gen_;

      ACE_CString iia_name_;

      CORBA::ORB_var orb_;

      CIAO::RACE::Interactive_Input_Adapter_var iia_;

      bool history_;

      ::Deployment::DeploymentPlan previous_;
    };

  }
}