Files
pvData/pvDataApp/property/control.h
2010-12-07 14:21:15 -05:00

26 lines
676 B
C++

/* control.h */
/**
* Copyright - See the COPYRIGHT that is included with this distribution.
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
#ifndef CONTROL_H
#define CONTROL_H
namespace epics { namespace pvData {
class Control {
public:
Control() : low(0.0), high(0.0) {}
//default constructors and destructor are OK
double getLow() const {return low;}
double getHigh() const {return high;}
void setLow(double value) {low = value;}
void setHigh(double value) {high = value;}
private:
double low;
double high;
};
}}
#endif /* CONTROL_H */