blob: c166fcd6294d70ecf2c0d5081466965e5976e636 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
/**
* @file SID_Handler.h
* @author William Otte <wotte@dre.vanderbilt.edu>
*
* $Id$
*/
#ifndef CIAO_PACKAGING_SID_HANDLER_H
#define CIAO_PACKAGING_SID_HANDLER_H
#include /**/ "ace/pre.h"
#include "Utils/XML_Helper.h"
#include "Utils/Functors.h"
#include "IDREF_Base.h"
#include "Package_Handlers/Packaging_Handlers_Export.h"
namespace Deployment
{
struct SubcomponentInstantiationDescription;
class SubcomponentInstantiationDescriptions;
}
namespace CIAO
{
namespace Config_Handlers
{
class SubcomponentInstantiationDescription;
namespace Packaging
{
/**
* @class SID_Handler
* @brief Handler class for SubcomponentInstantiationDescription
*/
class Packaging_Handlers_Export SID_Handler
{
SID_Handler (XML_Helper *xml_helper)
: xml_helper_ (xml_helper)
{
}
public:
static void sub_comp_inst_descr (const SubcomponentInstantiationDescription &desc,
::Deployment::SubcomponentInstantiationDescription &toconfig);
static SubcomponentInstantiationDescription
sub_comp_inst_descr (const ::Deployment::SubcomponentInstantiationDescription &src);
static IDREF_Base< CORBA::ULong > IDREF;
private:
static SubcomponentInstantiationDescription *resolve_sid (const char *uri);
XML_Helper *xml_helper_;
};
typedef Sequence_Handler < SubcomponentInstantiationDescription,
::Deployment::SubcomponentInstantiationDescriptions,
::Deployment::SubcomponentInstantiationDescription,
SID_Handler::sub_comp_inst_descr > SID_Functor;
}
}
}
#include /**/ "ace/post.h"
#endif /* CIAO_PACKAGING_SID_HANDLER_H */
|