CARMA C++
AlarmControl.idl
Go to the documentation of this file.
1 #ifndef CARMA_ALARM_IDL
2 #define CARMA_ALARM_IDL
3 
5 
20 module carma
21 {
26  module alarm
27  {
28 
32  const string ALARM_NAME = "carma.alarm.AlarmControl";
33 
40  struct sound
41  {
42  unsigned long length;
43  sequence<octet>soundData;
44  };
45 
49  interface AlarmControl
50  {
51 
61  void turnOn(
62  in string alarmName,
63  in string mp,
64  in string reason,
65  in boolean repeat )
66  raises ( carma::util::UserException );
67 
73  void turnOff()
74  raises ( carma::util::UserException );
75 
83  void updateDeadMan()
84  raises ( carma::util::UserException );
85 
93  void enableAlarm ( in boolean enable ) raises ( carma::util::UserException );
94 
95  };
96  };
97 };
98 
99 #endif /* CARMA_ALARM_IDL */
100 
101 // vim: set expandtab smarttab sw=2 ts=2 :
AlarmControl interface
Generic Carma variant of CORBA::UserException.
Possible extension in the future.
sequence< octet > soundData
Length of PCM data in bytes.
const string ALARM_NAME
The CARMA canonical name for this Distributed Object.
CORBA User Exception for carma::util.