* add a first version of the PseudoAxesAttrib
[diffractometer.git] / src / PseudoAxesAttrib.h
blob5d5d465a880c80886858408223e937be9a271b4a
1 #ifndef _PSEUDO_AXES_ATTRIB_H_
2 #define _PSEDUO_AXES_ATTRIB_H_
4 #include <tango.h>
5 #include <DiffractometerDevice.h>
7 namespace DiffractometerDevice_ns
9 class PseudoAxesAttrib : public Tango::SpectrumAttr
11 public:
12 PseudoAxesAttrib(char const *name,
13 PseudoAxesAdapter & adapter);
15 virtual ~PseudoAxesAttrib(void) {};
17 virtual void read(Tango::DeviceImpl *dev,
18 Tango::Attribute &att);
20 virtual void write(Tango::DeviceImpl *dev,
21 Tango::WAttribute &att);
23 virtual bool is_allowed(Tango::DeviceImpl *dev,
24 Tango::AttReqType ty);
26 protected:
27 PseudoAxesAdapter & _adapter;
30 } // namespace DiffractometerDevice_ns
32 #endif // _PSEUDO_AXES_ATTRIB_H_