CARMA C++
FaultControl.idl
Go to the documentation of this file.
1 #ifndef CARMA_FAULT_FAULTCONTROL_IDL
2 #define CARMA_FAULT_FAULTCONTROL_IDL
3 
12 
14 
15 module carma {
16 module fault {
17 
19 enum EffectPreference {
20  // No action taken
21  //
22  // Data is written to the dataset without any indication of error.
23  PREF_NONE,
24 
25  // This frame of data is not included in the dataset. The integration
26  // time time is reduced appropriately. The appropriate MIRIAD error
27  // indication bit is set.
28  PREF_BLANK,
29 
30  // This frame of data is included in the dataset. The integration
31  // time is not reduced. The appropriate MIRIAD error indication bit
32  // is set.
33  PREF_FLAG
34 };
35 
37 const string FAULT_CONTROL_NAME = "carma.faultControl";
38 
39 
40 typedef sequence< string > SeqString;
41 
42 
44 interface FaultControl {
45 
50  void setNoiseState( in unsigned short inSubarrayNumber, in boolean inStateIsOn )
51  raises ( carma::util::UserException );
52 
54  void setDriveErrorPreference( in unsigned short inSubarrayNumber, in EffectPreference inEffect )
55  raises ( carma::util::UserException );
56 
57  // @brief Set the subarray monitor data error preference
58  void setMonitorErrorPreference( in unsigned short inSubarrayNumber, in EffectPreference inEffect )
59  raises ( carma::util::UserException );
60 
61  // @brief Set the subarray antenna offline error preference
62  void setOfflineErrorPreference( in unsigned short inSubarrayNumber, in EffectPreference inEffect )
63  raises ( carma::util::UserException );
64 
65  // @brief Set the subarray receiver phaselock error preference
66  void setPhaselockErrorPreference( in unsigned short inSubarrayNumber, in EffectPreference inEffect )
67  raises ( carma::util::UserException );
68 
72  void disableAlarms( in SeqString inMonitorPointNames )
73  raises ( carma::util::UserException );
74 
79  void restoreAlarms( in SeqString inMonitorPointNames )
80  raises ( carma::util::UserException );
81 
86  void setAlarmEnable( in unsigned short inSubarrayNumber, in boolean inStateIsOn )
87  raises ( carma::util::UserException );
88 
90  void setAlarmDeadmanSecs( in short inAlarmDeadmanSecs )
91  raises ( carma::util::UserException );
92 };
93 
94 
95 }; // end carma::control
96 }; // end carma
97 
98 #endif
Generic Carma variant of CORBA::UserException.
carma::util::SeqString SeqString
Sequence of CORBA::String.
CORBA User Exception for carma::util.
The DO interface to control the fault system.