summaryrefslogtreecommitdiff
path: root/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h
blob: 133ae6be4d618fa73b708b2de29a0ea98239674e (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_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:
      
      virtual ~Plan_Launcher_Benchmark_i  ();

      /**
       * @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);

      const char * launch_plan_i (const ::Deployment::DeploymentPlan &plan);
    };

  }
}

#endif /* PLAN_LAUNCHER_BENCHMARK_IMPL_H */