Program Listing for File control.h¶
↰ Return to documentation for file (src/property/pv/control.h)
/* control.h */
/*
* Copyright information and license terms for this software can be
* found in the file LICENSE that is included with the distribution
*/
#ifndef CONTROL_H
#define CONTROL_H
#include <shareLib.h>
namespace epics { namespace pvData {
class epicsShareClass Control {
public:
Control() : low(0.0), high(0.0), minStep(0.0) {}
//default constructors and destructor are OK
double getLow() const {return low;}
double getHigh() const {return high;}
double getMinStep() const {return minStep;}
void setLow(double value) {low = value;}
void setHigh(double value) {high = value;}
void setMinStep(double value) {minStep = value;}
private:
double low;
double high;
double minStep;
};
}}
#endif /* CONTROL_H */