CARMA C++
SwitchyardControl.idl
1 
9 #ifndef CARMA_SWITCHYARD_SWITCHYARDCONTROL_IDL
10 #define CARMA_SWITCHYARD_SWITCHYARDCONTROL_IDL
11 
13 
14 module carma {
15 module switchyard {
16 
17 // Names which this interface will be published under.
18 const string LOSWITCHYARDCONTROL_NAME = "carma.switchyard.LO";
19 const string LLSWITCHYARDCONTROL_NAME = "carma.switchyard.LL";
20 const string IFSWITCHYARDCONTROL_NAME = "carma.switchyard.IF";
21 const string DCLOSWITCHYARDCONTROL_NAME = "carma.switchyard.DCLO";
22 
23 struct SwitchPosition {
24  unsigned short switchNo; /*< Switch to control 1-38. */
25  unsigned short switchPos; /*< Switch pos, 0 to keep the same. */
26 }; // struct SwitchPosition
27 
28 typedef sequence< SwitchPosition > SwitchPositionSeq;
29 
30 interface SwitchyardControl {
31 
38  void setSwitches( in SwitchPositionSeq pos )
39  raises ( carma::util::UserException );
40 
41 }; // interface SwitchywardControl
42 
43 }; // module switchyard
44 }; // module carma
45 #endif
Generic Carma variant of CORBA::UserException.
CORBA User Exception for carma::util.