blob: 725b6afd953797d8d630dfce6b44fa9aa645703a (
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
|
// $Id$
/**
* @file Deployment_common.h
*
* This file collects common type definitions used across different
* objects of DAnCE toolchain.
*
* @author Gan Deng <dengg@dre.vanderbilt.edu>
*/
#ifndef DANCE_COMMON_H
#define DANCE_COMMON_H
#include /**/ "ace/pre.h"
#include "ace/config-all.h"
#if !defined ACE_LACKS_PRAGMA_ONCE
#pragma once
#endif /* ! ACE_LACKS_PRAGMA_ONCE */
/// A struct which captures the binding information about a component
namespace CIAO
{
/// A struct which captures the compnent binding information, which
/// is useful for inter-assembly connection setup
typedef struct _component_binding
{
_component_binding ()
{
providedReference_ = 0;
}
ACE_CString name_;
ACE_CString plan_uuid_;
ACE_CString node_;
Deployment::Connections_var providedReference_;
bool operator==(const struct _component_binding & comp)
{
if (this->name_ == comp.name_ &&
this->plan_uuid_ == comp.plan_uuid_ &&
this->node_ == comp.node_)
return true;
else
return false;
}
} Component_Binding_Info;
}
#include /**/ "ace/post.h"
#endif /* DANCE_COMMON_H */
|