summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tests/RTCCM/Priority_Test/Priority_Test.idl
blob: f0268ad3a4204ff945f031f28eed652483540087 (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
// $Id$

/**
 * @file Priority_Test.idl
 *
 * Definition of events, and common interfaces used in Priority_Test module.
 *
 * @author Nanbor Wang <nanbor@cs.wustl.edu>
 */

#ifndef CIAO_PRIORITY_TEST_IDL
#define CIAO_PRIORITY_TEST_IDL

#include <Components.idl>

module Priority_Test
{
  /**
   * @brief interface Op_Mode defines the "operation mode" interface.
   */
  interface Op_Mode
  {
    /// Start with arg.
    void start (in long arg);

    void stop ();
  };

  /**
   * @brief interface Common_Ops defines some "common" operations.  It
   * is intended to be used as the interface type of a facet or a
   * receptacle.  All operations in the interface are rather generic
   * and the actualy component implmenetion should decide what they
   * actually do.
   *
   * @param work the amount of work to be done
   * @param aux auxiliary parameter
   */
  interface Common_Ops
  {
    long do_work (in long work,
                  in long aux);
  };
};

#endif /* CIAO_PRIORITY_TEST_IDL */