otsdaq  v2_00_00
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 <vector>
15 #include <string>
16 
17 namespace ots {
18 
20 public:
21  ViewRegisterInfo(std::string typeName, std::string registerName, std::string baseAddress, int size, std::string access);
22  virtual ~ViewRegisterInfo();
23 
24  const std::string& getTypeName (void) const;
25  const std::string& getRegisterName (void) const;
26  const std::string& getBaseAddress (void) const;
27  const int getSize (void) const;
28  const std::string& getAccess (void) const;
29  const int getNumberOfColumns(void) const;
30 
31 protected:
32  std::vector <std::string> dataTable_ ;
33  int typeName_ ;
34  int registerName_ ;
35  int baseAddress_ ;
36  int size_ ;
37  int access_ ;
38 
39 
40 
41 };
42 
43 }
44 
45 #endif /* VIEWREGISTERINFO_H_ */