summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Impl.h
blob: bb4477f9b1519bd4efc8b500df752d533e883277 (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
/**
 * $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_Impl_Export.h"
#include "Plan_Launcher_Base_Impl.h"

namespace DAnCE
  {
  namespace Plan_Launcher
    {

    /**
    * @class Plan_Launcher_Impl
    * @brief This class launches and manages deployment plans.
    */
    class Plan_Launcher_Impl_Export 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 execute();
        static ::Deployment::DeploymentPlan* load_xml_plan (const ACE_TCHAR *deployment_plan_uri);

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

  } // Plan_Launcher
} // DAnCE


#endif /* PLAN_LAUNCHER_IMPL_H */