1 #ifndef __PSEUDOAXIS_ADAPTER_H__
2 #define __PSEUDOAXIS_ADAPTER_H__
6 #include <hkl/hkl-geometry-factory.h>
7 #include <hkl/hkl-pseudoaxis-factory.h>
9 #include "AxisAdapter.h"
11 namespace DiffractometerDevice_ns
{
14 class TangoHKLAdapter
;
16 class PseudoAxisAdapter
{
17 friend class TangoHKLAdapter
;
20 PseudoAxisAdapter(TangoHKLAdapter
& hklAdapter
, HklPseudoAxis
*pseudo_read
, HklPseudoAxis
*pseudo_write
);
21 virtual ~PseudoAxisAdapter(void);
23 double const & get_read(void) const {return _read
;}
24 double const & get_write(void) const {return _write
;}
25 Tango::DevState
const & get_state(void) const {return _state
;}
26 std::string
const & get_status(void) const {return _status
;}
29 TangoHKLAdapter
&_hklAdapter
;
30 std::string _devicename
;
32 HklPseudoAxis
*_pseudo_r
;
33 HklPseudoAxis
*_pseudo_w
;
36 std::vector
<AxisAdapter
*> _axes
;
37 Tango::DevState _state
;
42 void to_proxies(void);
47 #endif // __PSEUDOAXIS_ADAPTER_H__