     1	class PositionAttr: public Tango::Attr
     2	{
     3	public:
     4		PositionAttr():Attr("Position",Tango::DEV_LONG,Tango::READ);
     5		~PositionAttr() {};
     6		
     7		virtual void read(Tango::DeviceImpl *dev,Tango::Attribute &att)
     8		{(static_cast<StepperMotor *>(dev))->read_Position(att);}
     9		virtual bool is_allowed(Tango::DeviceImpl *dev,Tango::AttReqType ty)
    10		{return (static_cast<StepperMotor *>(dev))->is_Position_allowed(ty);}
    11	};
