diff options
Diffstat (limited to 'modules/CIAO/ciao/Deployment/Handlers/CIAO_Handler_Common.h')
-rw-r--r-- | modules/CIAO/ciao/Deployment/Handlers/CIAO_Handler_Common.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/CIAO/ciao/Deployment/Handlers/CIAO_Handler_Common.h b/modules/CIAO/ciao/Deployment/Handlers/CIAO_Handler_Common.h new file mode 100644 index 00000000000..30614f91e8b --- /dev/null +++ b/modules/CIAO/ciao/Deployment/Handlers/CIAO_Handler_Common.h @@ -0,0 +1,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 |