CompileDES  3.12
Executable-Code Generation from Synchronised libFAUDES Automata
cgp_gebtools.h
Go to the documentation of this file.
1 
3 /*
4  FAU Discrete Event Systems Library (libFAUDES)
5 
6  Copyright (C) 2010, 2016 Thomas Moor
7 
8 */
9 
10 
11 
12 #ifndef FAUDES_GEBTOOLS_H
13 #define FAUDES_GEBTOOLS_H
14 
15 #include "libfaudes.h"
16 #include "cgp_iec61131st.h"
17 
18 using namespace faudes;
19 
20 
21 
38 
39 public:
40 
41  /*****************************************
42  *****************************************
43  *****************************************
44  *****************************************/
45 
52 
56  virtual ~GebtoolsCodeGenerator(void);
57 
58 
63  virtual void Clear(void);
64 
65 
68 protected:
69 
72 
74  void DoGenerateFunction(void);
75 
77  void DoGenerateLookups(void);
78 
80  virtual void CintarrayDeclare(const AA& address, int offset, const std::vector<int>& val);
81 
83  virtual void CwordarrayDeclare(const AA& address, int offset, const std::vector<word_t>& val);
84 
86  virtual void CstrarrayDeclare(const AA& address, int offset, const std::vector<std::string>& val);
87 
89  virtual void IntarrayDeclare(const AA& address, int offset, const std::vector<int>& val);
90 
92  virtual void IntarrayDeclare(const AA& address, int offset, int len);
93 
95  virtual void WordarrayDeclare(const AA& address, int offset, const std::vector<word_t>& val);
96 
98  virtual void WordarrayDeclare(const AA& address, int offset, int len);
99 
112  virtual void DoReadTargetConfiguration(TokenReader& rTr);
113 
125  virtual void DoWriteTargetConfiguration(TokenWriter& rTw) const;
126 
127 };
128 
129 
130 #endif
Code-generator for target IEC 61131-3 ST.
Implementation of primitives by IEC 61131 ST.
Target GEB Automation toolchain (IEC 61131 ST)
Definition: cgp_gebtools.h:37
Abstract address; see also Absstract_Addresses.
bool mIecTypedArrayConstants
option: formal declaration of array constants
Definition: cgp_gebtools.h:71