Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadSpecialModules
Commits
feba82fc
Commit
feba82fc
authored
Apr 01, 2016
by
Jerome Locatelli
Browse files
dataparams is now a module
parent
99adbbac
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/controllers/lss/d22special/D22SpectroSampleSequencer.cpp
View file @
feba82fc
...
...
@@ -32,11 +32,11 @@ const char D22SpectroSampleSequencer::DATAPARAM_THICKNESS_PROPERTY[] = "datapara
const
char
D22SpectroSampleSequencer
::
DATAPARAM_TRANSMISSION_PROPERTY
[]
=
"dataparam_transmission"
;
D22SpectroSampleSequencer
::
D22SpectroSampleSequencer
(
const
std
::
string
&
name
)
:
ExperimentController
(
name
),
controller
::
Stoppable
(
this
)
,
m_dataParams
(
0
)
{
ExperimentController
(
name
),
controller
::
Stoppable
(
this
)
{
setFamily
(
family
::
SAMPLE_ENVIRONMENT
);
registerConfiguration
(
"DataParams"
,
DATA_PARAMS_EXPERIMENT_CONTROLLER
,
(
AbstractController
**
)
&
m_d
ataParams
);
m_dataParams
.
init
(
this
,
"D
ataParams
"
);
m_sampleChanger
.
init
(
this
,
"SampleChanger"
);
countWithSpectro
.
init
(
this
,
"count_spectro"
);
...
...
@@ -135,9 +135,8 @@ D22SpectroSampleSequencer::D22SpectroSampleSequencer(const D22SpectroSampleSeque
m_CountStarted
=
false
;
countWithSpectro
.
copy
(
controller
.
countWithSpectro
);
m_sampleChanger
=
controller
.
m_sampleChanger
;
m_dataParams
=
controller
.
m_dataParams
;
m_sampleChanger
.
copy
(
controller
.
m_sampleChanger
);
m_dataParams
.
copy
(
controller
.
m_dataParams
);
}
...
...
src/controllers/lss/d22special/D22SpectroSampleSequencer.h
View file @
feba82fc
...
...
@@ -21,6 +21,7 @@
#include <Controller.h>
#include "controllers/lss/common/SampleChangerController.h"
#include "controllers/common/utilities/DataParams.h"
#include "CountWithSpectro.h"
namespace
d22special
{
...
...
@@ -49,7 +50,7 @@ private:
void
refreshAcquisitionTime
(
int32
index
,
float64
value
)
throw
(
CannotSetValue
);
void
refreshNumSlotSetpoint
(
int32
number
);
Abstract
Controller
*
m_dataParams
;
Controller
Ptr
<
utilities
::
DataParams
>
m_dataParams
;
ControllerPtr
<
lss
::
SampleChangerController
>
m_sampleChanger
;
ControllerPtr
<
CountWithSpectro
>
countWithSpectro
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment