summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Impl.h
blob: 6fe7c43f0279a55750aa98f866a0f645d77121d3 (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
/**
 * $Id$
 * @file Plan_Launcher_Impl.h
 * @author Will Otte <wotte@dre.vanderbilt.edu>
 *
 * Contains the Plan_Launcher_i class, which can be used by
 * applications to launch component assemblies.
 */
#ifndef PLAN_LAUNCHER_IMPL_H
#define PLAN_LAUNCHER_IMPL_H

#include "Plan_Launcher_Base_Impl.h"

/**
* @class Plan_Launcher_Impl
* @brief This class launches and manages deployment plans.
*/
class Plan_Launcher_Impl : public Plan_Launcher_Base_Impl
  {
  public:
    Plan_Launcher_Impl (CORBA::ORB_ptr orb, int argc, ACE_TCHAR *argv[])
        : Plan_Launcher_Base_Impl (orb, argc, argv) {};

    virtual ~Plan_Launcher_Impl(void);
    
    void execute(void);

    static ::Deployment::DeploymentPlan* load_xml_plan (
      const ACE_TCHAR *deployment_plan_uri);

  protected:
    virtual void stop_plan();
  }; // class Plan_Launcher_Impl

#endif /* PLAN_LAUNCHER_IMPL_H */