summaryrefslogtreecommitdiff
path: root/modules/CIAO/ciao/Deployment/Handlers/CIAO_Handler_Common.h
blob: 30614f91e8b51d04985978f5139e40845e1fb60b (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
/**
 * @file CIAO_Handler_Common.h
 * @author William R. Otte
 *
 * Operations common to all CIAO handlers.
 * $Id$
 */
#ifndef CIAO_HANDLER_COMMON_H
#define CIAO_HANDLER_COMMON_H

#include <map>
#include <string>

#include "Deployment/Deployment_DeploymentPlanC.h"
#include "DAnCE/DAnCE_Utility.h"

namespace CIAO
{
  class Deployment_Common
  {
  public:
    // Temporary hack until Martin's artifact installation work can
    // be implemented. 
    static const char * get_implementation (const char *name,
                                            const ::Deployment::DeploymentPlan &plan);
    
    struct Instance_Info
    {
      std::string name;
      ::DAnCE::Utility::PMAP_PTR pmap;
    };

    typedef std::map < std::string, Instance_Info > INSTANCES;
    
  };
}

#endif