summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/examples/Quoter/Distributor/Distributor.idl
blob: ca4fc65a613f5db24fd8a763d8f738a48e52700e (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
// $Id$

/**
 * @file Distributor.idl
 * @author William R. Otte <wotte@dre.vanderbilt.edu>
 *
 * by-hand idl3 translation of distributor components.
 */

#ifndef DDS_DISTRIBUTOR_IDL
#define DDS_DISTRIBUTOR_IDL

#include "Connector/Quoter_Connector.idl"
#include "Connector/Quoter_ConnectorE.idl"

module Quoter
{
  interface Trigger
  {
    void add_stock (in string stock);
    void del_stock (in string stock);
    void start ();
    void stop ();
  };

  component Distributor supports Trigger
  {
    port CCM_DDS::DDS_Update info_update;
    port CCM_DDS::DDS_Write info_in;
    attribute unsigned long rate;
  };
};

#endif

/*
#ifndef DDS_DISTRIBUTOR_IDL3P
#define DDS_DISTRIBUTOR_IDL3P

module Quoter
{
  component Distributor
  {
    port CCM_DDS::DDS_Write <Stock_Info> info;
  };
};

 */