* use the proxy_name instead of computing the proxy name in the create and start...
[diffractometer.git] / src / PseudoAxesAdapter.h
blob1844ea79d4fd21d534300c482002a57830c8459a
1 #ifndef __PSEUDOAXES_ADAPTER_H__
2 #define __PSEUDOAXES_ADAPTER_H__
4 #include "Matrix.h"
6 namespace Diffractometer_ns {
8 //forwar declaration
9 class TangoHKLAdapter;
11 class PseudoAxesAdapter {
12 friend class TangoHKLAdapter;
14 public:
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);
34 private:
35 TangoHKLAdapter *_hklAdapter;
36 size_t _idx;
37 Matrix<double> _read;
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__