summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h
blob: 8599434714f482f5a3df04fde77fa26df11e77aa (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
/**
 * $Id$
 * @file Plan_Launcher_Benchmark_Impl.h
 * @author Gan Deng <dengg@dre.vanderbilt.edu>
 *
 * A subclass of the Plan_Launcher_i class, which overrides the method
 * called lauch_plan() to collect benchmarking results..
 */
#ifndef PLAN_LAUNCHER_BENCHMARK_IMPL_H
#define PLAN_LAUNCHER_BENCHMARK_IMPL_H

#include "Plan_Launcher_Impl.h"

namespace CIAO
{
  namespace Plan_Launcher
  {
    /**
     * @class Plan_Launcher_Benchmark_i
     * @brief This class is a subclass of Plan_Launcher_i which is solely for
     * benchmarking purpose.
     */
    class Plan_Launcher_Impl_Export Plan_Launcher_Benchmark_i 
      : public Plan_Launcher_i
    {
    public:

      /**
       * @brief Launch a plan, given an IDL deployment plan
       * @param plan A valid IDL deployment plan
       * @returns a string containing the UUID of the plan. Null indicates failure.
       */
      virtual const char * launch_plan (const ::Deployment::DeploymentPlan &plan
                                ACE_ENV_ARG_DECL_WITH_DEFAULTS)
        ACE_THROW_SPEC ((Plan_Launcher_i::Deployment_Failure));

    protected:

    };

  }
}

#endif /* PLAN_LAUNCHER_BENCHMARK_IMPL_H */