AERA
opcodes.h
1 //_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
2 //_/_/
3 //_/_/ AERA
4 //_/_/ Autocatalytic Endogenous Reflective Architecture
5 //_/_/
6 //_/_/ Copyright (c) 2018-2025 Jeff Thompson
7 //_/_/ Copyright (c) 2018-2025 Kristinn R. Thorisson
8 //_/_/ Copyright (c) 2018-2025 Icelandic Institute for Intelligent Machines
9 //_/_/ http://www.iiim.is
10 //_/_/
11 //_/_/ Copyright (c) 2010-2012 Eric Nivel
12 //_/_/ Copyright (c) 2010 Nathaniel Thurston
13 //_/_/ Center for Analysis and Design of Intelligent Agents
14 //_/_/ Reykjavik University, Menntavegur 1, 102 Reykjavik, Iceland
15 //_/_/ http://cadia.ru.is
16 //_/_/
17 //_/_/ Part of this software was developed by Eric Nivel
18 //_/_/ in the HUMANOBS EU research project, which included
19 //_/_/ the following parties:
20 //_/_/
21 //_/_/ Autonomous Systems Laboratory
22 //_/_/ Technical University of Madrid, Spain
23 //_/_/ http://www.aslab.org/
24 //_/_/
25 //_/_/ Communicative Machines
26 //_/_/ Edinburgh, United Kingdom
27 //_/_/ http://www.cmlabs.com/
28 //_/_/
29 //_/_/ Istituto Dalle Molle di Studi sull'Intelligenza Artificiale
30 //_/_/ University of Lugano and SUPSI, Switzerland
31 //_/_/ http://www.idsia.ch/
32 //_/_/
33 //_/_/ Institute of Cognitive Sciences and Technologies
34 //_/_/ Consiglio Nazionale delle Ricerche, Italy
35 //_/_/ http://www.istc.cnr.it/
36 //_/_/
37 //_/_/ Dipartimento di Ingegneria Informatica
38 //_/_/ University of Palermo, Italy
39 //_/_/ http://diid.unipa.it/roboticslab/
40 //_/_/
41 //_/_/
42 //_/_/ --- HUMANOBS Open-Source BSD License, with CADIA Clause v 1.0 ---
43 //_/_/
44 //_/_/ Redistribution and use in source and binary forms, with or without
45 //_/_/ modification, is permitted provided that the following conditions
46 //_/_/ are met:
47 //_/_/ - Redistributions of source code must retain the above copyright
48 //_/_/ and collaboration notice, this list of conditions and the
49 //_/_/ following disclaimer.
50 //_/_/ - Redistributions in binary form must reproduce the above copyright
51 //_/_/ notice, this list of conditions and the following disclaimer
52 //_/_/ in the documentation and/or other materials provided with
53 //_/_/ the distribution.
54 //_/_/
55 //_/_/ - Neither the name of its copyright holders nor the names of its
56 //_/_/ contributors may be used to endorse or promote products
57 //_/_/ derived from this software without specific prior
58 //_/_/ written permission.
59 //_/_/
60 //_/_/ - CADIA Clause: The license granted in and to the software
61 //_/_/ under this agreement is a limited-use license.
62 //_/_/ The software may not be used in furtherance of:
63 //_/_/ (i) intentionally causing bodily injury or severe emotional
64 //_/_/ distress to any person;
65 //_/_/ (ii) invading the personal privacy or violating the human
66 //_/_/ rights of any person; or
67 //_/_/ (iii) committing or preparing for any act of war.
68 //_/_/
69 //_/_/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
70 //_/_/ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
71 //_/_/ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
72 //_/_/ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
73 //_/_/ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
74 //_/_/ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
75 //_/_/ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
76 //_/_/ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
77 //_/_/ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
78 //_/_/ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
79 //_/_/ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
80 //_/_/ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
81 //_/_/ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
82 //_/_/ OF SUCH DAMAGE.
83 //_/_/
84 //_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
85 
86 #ifndef opcodes_h
87 #define opcodes_h
88 
89 #include "../submodules/CoreLibrary/CoreLibrary/types.h"
90 #include "dll.h"
91 
92 
93 using namespace core;
94 
95 namespace r_exec {
96 
97 // Opcodes are initialized by Init().
98 class r_exec_dll Opcodes {
99 public:
100  static uint16 View;
101  static uint16 PgmView;
102  static uint16 GrpView;
103 
104  static uint16 TI;
105 
106  static uint16 Ent;
107  static uint16 Ont;
108  static uint16 MkVal;
109 
110  static uint16 Grp;
111 
112  static uint16 Ptn;
113  static uint16 AntiPtn;
114 
115  static uint16 IPgm;
116  static uint16 ICppPgm;
117 
118  static uint16 Pgm;
119  static uint16 AntiPgm;
120 
121  static uint16 ICmd;
122  static uint16 Cmd;
123 
124  static uint16 Fact;
125  static uint16 AntiFact;
126 
127  static uint16 Mdl;
128  static uint16 Cst;
129 
130  static uint16 ICst;
131  static uint16 IMdl;
132 
133  static uint16 Pred;
134  static uint16 Goal;
135 
136  static uint16 Success;
137 
138  static uint16 MkGrpPair;
139 
140  static uint16 MkRdx;
141  static uint16 Perf;
142 
143  static uint16 MkNew;
144 
145  static uint16 MkLowRes;
146  static uint16 MkLowSln;
147  static uint16 MkHighSln;
148  static uint16 MkLowAct;
149  static uint16 MkHighAct;
150  static uint16 MkSlnChg;
151  static uint16 MkActChg;
152 
153  static uint16 Sim;
154  static uint16 Id;
155 
156  static uint16 Inject;
157  static uint16 Eject;
158  static uint16 Mod;
159  static uint16 Set;
160  static uint16 NewClass;
161  static uint16 DelClass;
162  static uint16 LDC;
163  static uint16 Swap;
164  static uint16 Prb;
165  static uint16 Stop;
166 
167  static uint16 Gtr;
168  static uint16 Lsr;
169  static uint16 Gte;
170  static uint16 Lse;
171  static uint16 Add;
172  static uint16 Sub;
173  static uint16 Mul;
174  static uint16 Div;
175 
176  static uint16 Var;
177 };
178 }
179 
180 
181 #endif
r_exec::AntiFact
Definition: factory.h:371
r_exec::MkLowRes
Definition: factory.h:109
r_exec::MkRdx
Definition: factory.h:588
r_exec::MkLowAct
Definition: factory.h:127
r_exec::Goal
Definition: factory.h:517
r_exec::Sim
Definition: factory.h:248
r_exec::MkActChg
Definition: factory.h:145
r_exec::Opcodes
Definition: opcodes.h:98
r_exec::MkLowSln
Definition: factory.h:115
r_exec::Success
Definition: factory.h:607
r_exec::MkHighSln
Definition: factory.h:121
r_exec::View
Definition: view.h:102
r_exec::Perf
Definition: factory.h:648
r_exec::Pred
Definition: factory.h:394
r_exec::MkNew
Definition: factory.h:103
r_exec::MkHighAct
Definition: factory.h:133
r_exec::Fact
Definition: factory.h:360
r_exec::MkSlnChg
Definition: factory.h:139