This is Unofficial EPICS BASE Doxygen Site
display.h
Go to the documentation of this file.
1 /* display.h */
2 /*
3  * Copyright information and license terms for this software can be
4  * found in the file LICENSE that is included with the distribution
5  */
9 #ifndef DISPLAY_H
10 #define DISPLAY_H
11 
12 #include <string>
13 
14 #include <pv/pvType.h>
15 #include <pv/pvData.h>
16 
17 #include <shareLib.h>
18 
19 namespace epics { namespace pvData {
20 
40 public:
45  : description(std::string("")),format(std::string("")),units(std::string("")),
46  low(0.0),high(0.0) {}
47  //default constructors and destructor are OK
52  double getLow() const {return low;}
57  double getHigh() const{ return high;}
62  void setLow(double value){low = value;}
67  void setHigh(double value){high = value;}
72  std::string getDescription() const {return description;}
77  void setDescription(std::string const & value) {description = value;}
82  std::string getFormat() const {return format;}
88  void setFormat(std::string const & value) {format = value;}
93  std::string getUnits() const {return units;}
98  void setUnits(std::string const & value) {units = value;}
99 private:
100  std::string description;
101  std::string format;
102  std::string units;
103  double low;
104  double high;
105 };
106 
107 }}
108 #endif /* DISPLAY_H */
void setHigh(double value)
Definition: display.h:67
Definition: link.h:174
double getLow() const
Definition: display.h:52
Methods for a display structure.
Definition: display.h:39
void setDescription(std::string const &value)
Definition: display.h:77
std::string getDescription() const
Definition: display.h:72
Definition: memory.hpp:41
TODO only here because of the Lockable.
Definition: ntaggregate.cpp:16
Mark external symbols and entry points for shared libraries.
void setLow(double value)
Definition: display.h:62
void setFormat(std::string const &value)
Definition: display.h:88
std::string getUnits() const
Definition: display.h:93
#define epicsShareClass
Definition: shareLib.h:206
double getHigh() const
Definition: display.h:57
void setUnits(std::string const &value)
Definition: display.h:98
std::string getFormat() const
Definition: display.h:82