summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/CosTradingDynamic.idl
blob: 27ffedbbf353af5ff9f5841b1657b1cea3551b45 (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
/* -*- C++ -*- */

// ========================================================================
// $Id$
//
// = FILENAME
//   CosTradingDynamic.idl
//
// = DESCRIPTION
//   Trader  Service v1.0 described in CORBAservices: Common Object
//   Services Specification, chapter 16 OMG IDL for Trading Function
//   Module, p 16-74
//
// ========================================================================

#ifndef TAO_TRADING_DYNAMIC_IDL
#define TAO_TRADING_DYNAMIC_IDL

#include <orb.idl>
#include "CosTrading.idl"

#pragma prefix "omg.org"

// OMG IDL for Dynamic Property  Module, p 16-88

module CosTradingDynamic
{
  
  exception DPEvalFailure {
    CosTrading::PropertyName name;
    CORBA::TypeCode returned_type;
    any extra_info;
  };
  
  interface DynamicPropEval
    {      
      any evalDP (in CosTrading::PropertyName name,
                  in CORBA::TypeCode returned_type,
                  in any extra_info)
        raises (DPEvalFailure);
    };

    struct DynamicProp {
      DynamicPropEval eval_if;
      CORBA::TypeCode returned_type;
      any extra_info;
    };
}; /* end module CosTradingDynamic */

#endif /* TAO_TRADING_DYNAMIC_IDL  */