/* * ScanPositioner.hh * * Class to keep track of the content of the positioners from the sscan data. * * * Created on: Dec 23, 2014 * Author: Hovanes Egiyan */ #ifndef SCANPOSITIONER_HH_ #define SCANPOSITIONER_HH_ #include "ScanDetector.hh" class ScanPositioner: public ScanDetector { protected: std::string posStepMode; std::string posReadbackName; std::string posReadbackDescription; std::string posReadbackUnit; public: ScanPositioner(); // Default constructor ScanPositioner( std::istream& inStream ); // Actual constructor ScanPositioner( const ScanPositioner& pos ); ScanPositioner& operator=( const ScanPositioner& pos ); virtual ~ScanPositioner(); virtual std::string getReadbackDescription() const { return posReadbackDescription; } virtual void setPosReadbackDescription(std::string posReadbackDescription) { this->posReadbackDescription = posReadbackDescription; } virtual std::string getReadbackName() const { return posReadbackName; } virtual void setReadbackName(std::string posReadbackName) { this->posReadbackName = posReadbackName; } virtual std::string getReadbackUnit() const { return posReadbackUnit; } virtual void setReadbackUnit(std::string posReadbackUnit) { this->posReadbackUnit = posReadbackUnit; } virtual std::string getStepMode() const { return posStepMode; } virtual void setStepMode(std::string posStepMode) { this->posStepMode = posStepMode; } ClassDef(ScanPositioner, 0) }; #endif /* SCANPOSITIONER_HH_ */