Refactoring of ContinuousAO code : Communalisation of copy/pasted portions of code
Open
requested to merge software-control-system/prestations/forfait-agile-tsn/continuousao:Nettoyage-JBO into main
Compare changes
- System User authored
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
+ 1089
− 1371
@@ -75,18 +75,20 @@ namespace ContinuousAO
@@ -75,18 +75,20 @@ namespace ContinuousAO
@@ -99,51 +101,77 @@ ContinuousAO::ContinuousAO(Tango::DeviceClass *cl,const char *s,const char *d)
@@ -99,51 +101,77 @@ ContinuousAO::ContinuousAO(Tango::DeviceClass *cl,const char *s,const char *d)
@@ -158,15 +186,8 @@ void ContinuousAO::init_device()
@@ -158,15 +186,8 @@ void ContinuousAO::init_device()
@@ -174,71 +195,39 @@ void ContinuousAO::init_device()
@@ -174,71 +195,39 @@ void ContinuousAO::init_device()
raise_error("ContinuousAO::init_device\nout of memory error while initializing ADLinkContinuousAO");
@@ -248,255 +237,38 @@ void ContinuousAO::init_device()
@@ -248,255 +237,38 @@ void ContinuousAO::init_device()
WARN_STREAM<<"The waveform saved in database for channel 0 has a different size from property BufferDepth, "<<
WARN_STREAM<<"The waveform saved in database for channel 1 has a different size from property BufferDepth, "<<
WARN_STREAM<<"The waveform saved in database for channel 2 has a different size from property BufferDepth, "<<
WARN_STREAM<<"The waveform saved in database for channel 3 has a different size from property BufferDepth, "<<
WARN_STREAM<<"The waveform saved in database for channel 4 has a different size from property BufferDepth, "<<
WARN_STREAM<<"The waveform saved in database for channel 5 has a different size from property BufferDepth, "<<
WARN_STREAM<<"The waveform saved in database for channel 6 has a different size from property BufferDepth, "<<
WARN_STREAM<<"The waveform saved in database for channel 7 has a different size from property BufferDepth, "<<
@@ -531,33 +303,25 @@ void ContinuousAO::init_device()
@@ -531,33 +303,25 @@ void ContinuousAO::init_device()
@@ -601,14 +365,14 @@ void ContinuousAO::get_device_property()
@@ -601,14 +365,14 @@ void ContinuousAO::get_device_property()
@@ -1073,11 +837,11 @@ void ContinuousAO::read_attr_hardware(vector<long> &attr_list)
@@ -1073,11 +837,11 @@ void ContinuousAO::read_attr_hardware(vector<long> &attr_list)
@@ -1100,68 +864,68 @@ void ContinuousAO::read_attr(Tango::Attribute &attr)
@@ -1100,68 +864,68 @@ void ContinuousAO::read_attr(Tango::Attribute &attr)
@@ -1221,15 +985,15 @@ void ContinuousAO::start()
@@ -1221,15 +985,15 @@ void ContinuousAO::start()
@@ -1237,7 +1001,7 @@ void ContinuousAO::start()
@@ -1237,7 +1001,7 @@ void ContinuousAO::start()
@@ -1257,7 +1021,7 @@ void ContinuousAO::stop()
@@ -1257,7 +1021,7 @@ void ContinuousAO::stop()
@@ -1290,8 +1054,8 @@ void ContinuousAO::set_aoscaled_data(const Tango::DevVarDoubleStringArray *argin
@@ -1290,8 +1054,8 @@ void ContinuousAO::set_aoscaled_data(const Tango::DevVarDoubleStringArray *argin
@@ -1311,78 +1075,32 @@ void ContinuousAO::set_aoscaled_data(const Tango::DevVarDoubleStringArray *argin
@@ -1311,78 +1075,32 @@ void ContinuousAO::set_aoscaled_data(const Tango::DevVarDoubleStringArray *argin
@@ -1396,14 +1114,14 @@ void ContinuousAO::set_aoscaled_data(const Tango::DevVarDoubleStringArray *argin
@@ -1396,14 +1114,14 @@ void ContinuousAO::set_aoscaled_data(const Tango::DevVarDoubleStringArray *argin
@@ -1458,7 +1176,7 @@ void ContinuousAO::save_waveform(double* waveform, string wfm_channel)
@@ -1458,7 +1176,7 @@ void ContinuousAO::save_waveform(double* waveform, string wfm_channel)