blob: f8bedb0de9c5b6252520b706d3ce9f67617a7e9c (
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
|
// $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
{
void start ();
void stop ();
boolean active ();
};
/**
* @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 */
|