diff options
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h')
-rw-r--r-- | TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h | 82 |
1 files changed, 43 insertions, 39 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h b/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h index 708e5e35c90..681fcb1ec43 100644 --- a/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h +++ b/TAO/CIAO/tools/Config_Handlers/CEPE_Handler.h @@ -1,11 +1,11 @@ //============================================================== /** - * @file CEPE_Handler.h - * - * $Id$ - * - * @author Jules White <jules@dre.vanderbilt.edu> - */ +* @file CEPE_Handler.h +* +* $Id$ +* +* @author Jules White <jules@dre.vanderbilt.edu> +*/ //================================================================ #ifndef CIAO_CONFIG_HANDLERS_CEPE_HANDLER_H @@ -13,6 +13,7 @@ #include /**/ "ace/pre.h" #include "Config_Handlers_Export.h" +#include "Utils/Functors.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -20,45 +21,48 @@ namespace Deployment { - class ComponentExternalPortEndpoints; - struct ComponentExternalPortEndpoint; +class ComponentExternalPortEndpoints; +struct ComponentExternalPortEndpoint; } namespace CIAO { - namespace Config_Handlers - { - class PlanConnectionDescription; - class ComponentExternalPortEndpoint; +namespace Config_Handlers +{ +class PlanConnectionDescription; +class ComponentExternalPortEndpoint; + +/* +* @class CEPE_Handler +* +* @brief Handler class for <ComponentExternalPortEndpoint> types. +* +* This class defines handler methods to map values from +* XSC ComponentExternalPortEndpoint objects, parsed from +* the descriptor files, to the corresponding CORBA IDL type. +* +*/ + +class Config_Handlers_Export CEPE_Handler +{ +public: +static void external_port_endpoints ( +const PlanConnectionDescription &src, +::Deployment::ComponentExternalPortEndpoints &dest); + +static ComponentExternalPortEndpoint +external_port_endpoint ( +const ::Deployment::ComponentExternalPortEndpoint &src); - /* - * @class CEPE_Handler - * - * @brief Handler class for <ComponentExternalPortEndpoint> types. - * - * This class defines handler methods to map values from - * XSC ComponentExternalPortEndpoint objects, parsed from - * the descriptor files, to the corresponding CORBA IDL type. - * - */ +static void external_port_endpoint (const ComponentExternalPortEndpoint &src, +::Deployment::ComponentExternalPortEndpoint &dest); +}; - class Config_Handlers_Export CEPE_Handler - { - public: - static void external_port_endpoints ( - const PlanConnectionDescription &src, - ::Deployment::ComponentExternalPortEndpoints &dest); - - static ComponentExternalPortEndpoint - external_port_endpoint ( - const ::Deployment::ComponentExternalPortEndpoint &src); - - private: - static void external_port_endpoint ( - const ComponentExternalPortEndpoint &src, - ::Deployment::ComponentExternalPortEndpoint &dest); - }; - } +typedef Sequence_Handler < ComponentExternalPortEndpoint, +::Deployment::ComponentExternalPortEndpoints, +::Deployment::ComponentExternalPortEndpoint, +CEPE_Handler::external_port_endpoint > CEPE_Functor; +} } #include /**/ "ace/post.h" |