otsdaq  v2_04_01
ViewRegisterInfo.h
1 /*
2  * ViewRegisterInfo.h
3  *
4  * Created on: Jul 29, 2015
5  * Author: parilla
6  *
7  *
8  *
9  */
10 
11 #ifndef VIEWREGISTERINFO_H_
12 #define VIEWREGISTERINFO_H_
13 
14 #include <string>
15 #include <vector>
16 
17 namespace ots
18 {
20 {
21  public:
22  ViewRegisterInfo(std::string typeName,
23  std::string registerName,
24  std::string baseAddress,
25  int size,
26  std::string access);
27  virtual ~ViewRegisterInfo();
28 
29  const std::string& getTypeName(void) const;
30  const std::string& getRegisterName(void) const;
31  const std::string& getBaseAddress(void) const;
32  const int getSize(void) const;
33  const std::string& getAccess(void) const;
34  const int getNumberOfColumns(void) const;
35 
36  protected:
37  std::vector<std::string> dataTable_;
38  int typeName_;
39  int registerName_;
40  int baseAddress_;
41  int size_;
42  int access_;
43 };
44 
45 } // namespace ots
46 
47 #endif /* VIEWREGISTERINFO_H_ */