1 #ifndef __PSEUDOAXES_ADAPTER_H__
2 #define __PSEUDOAXES_ADAPTER_H__
6 namespace Diffractometer_ns
{
11 class PseudoAxesAdapter
{
12 friend class TangoHKLAdapter
;
15 PseudoAxesAdapter(TangoHKLAdapter
*hklAdapter
, size_t _idx
);
17 Matrix
<double> const & get_read(void) const {return _read
;}
18 Matrix
<double> const & get_write(void) const {return _write
;}
19 Matrix
<char*> const & get_pseudo_axis_names(void) const {return _pseudo_axis_names
;}
20 std::string
const & get_proxy_name(void) const {return _proxy_name
;}
22 char const * get_name(void) const;
23 void write(Matrix
<double> const & write
);
25 Tango::DevString
*get_mode(void);
26 void set_mode(const Tango::DevString name
);
28 Matrix
<char *> const &get_mode_names(void) const {return _mode_names
;}
29 Matrix
<char *> &get_mode_parameters_names(void);
31 Matrix
<double> const & get_mode_parameters(void);
32 void set_mode_parameters(Matrix
<double> const & values
);
35 TangoHKLAdapter
*_hklAdapter
;
38 Matrix
<double> _write
;
39 Matrix
<char *> _pseudo_axis_names
;
40 Matrix
<char *> _mode_names
;
41 Matrix
<double> _mode_parameters
;
42 Matrix
<char *> _mode_parameters_names
;
43 std::string _proxy_name
;
48 #endif // __PSEUDOAXES_ADAPTER_H__