Soar Kernel
9.3.2 08-06-12
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
src
soarkernel.h
Go to the documentation of this file.
1
/*************************************************************************
2
* PLEASE SEE THE FILE "license.txt" (INCLUDED WITH THIS SOFTWARE PACKAGE)
3
* FOR LICENSE AND COPYRIGHT INFORMATION.
4
*************************************************************************/
5
6
/*************************************************************************
7
*
8
* file: soarkernel.h
9
*
10
* =======================================================================
11
*
12
* Soar 6 Include File
13
*
14
* This file gets #included in all Soar 6 source files. It defines all
15
* sorts of constants and data structures, and gives prototype declarations
16
* for various functions.
17
* It also has insightful comments and detailed explanations and is
18
* recommended reading for anyone who would like to know more about
19
* the source code.
20
* =======================================================================
21
*/
22
23
#ifndef _SOAR_H_INCLUDED
24
#define _SOAR_H_INCLUDED
25
26
/* =====================================================================*/
27
28
#include "
kernel.h
"
29
30
/* =====================================================================*/
31
32
/* -------------------------------------------------- */
33
/* Names of Rete Structures */
34
/* (only pointers to these are used outside the rete) */
35
/* -------------------------------------------------- */
36
37
#ifdef __cplusplus
38
//extern "C"
39
//{
40
#endif
41
42
struct
token_struct
;
43
struct
rete_node_struct
;
44
45
/* REW: begin 08.20.97 */
46
/* The ms_change_struct is exported to the entire system
47
(for better or worse) so
48
this restricted definition is no longer necessary. */
49
/* struct ms_change_struct; */
50
/* REW: end 08.20.97 */
51
52
struct
node_varnames_struct
;
53
54
#ifdef __cplusplus
55
//}
56
#endif
57
58
/* ======================================================================*/
59
60
#include "
mem.h
"
61
#include "
lexer.h
"
62
#include "
symtab.h
"
63
#include "
gdatastructs.h
"
64
#include "
rhsfun.h
"
65
#include "
instantiations.h
"
66
#include "
production.h
"
67
#include "
gsysparam.h
"
68
#include "
init_soar.h
"
69
#include "
wmem.h
"
70
#include "
tempmem.h
"
71
#include "
decide.h
"
72
#include "
consistency.h
"
73
#include "
parser.h
"
74
#include "
print.h
"
75
#include "
reorder.h
"
76
#include "
recmem.h
"
77
#include "
backtrace.h
"
78
#include "
chunk.h
"
79
#include "
osupport.h
"
80
#include "
rete.h
"
81
#include "
trace.h
"
82
#include "
callback.h
"
83
#include "
io_soar.h
"
84
#include "
exploration.h
"
85
#include "
reinforcement_learning.h
"
86
#include "
episodic_memory.h
"
87
#include "
semantic_memory.h
"
88
89
/* ======================================================================= */
90
91
#ifdef __cplusplus
92
//extern "C"
93
//{
94
#endif
95
96
//#ifdef USE_X_DISPLAY
97
//#include <X11/Xlib.h>
98
//#include <X11/Xutil.h>
99
//
100
//typedef struct x_info_struct {
101
// Window parent_window;
102
// Window window;
103
// GC gc;
104
// XFontStruct * font_struct;
105
// int char_height;
106
// char input_buffer[2000];
107
// int input_buffer_index;
108
// int window_x;
109
// int window_y;
110
// int width;
111
// int height;
112
// uint64_t foreground;
113
// uint64_t background;
114
// int borderwidth;
115
// Symbol * last_op_id; /* Used in monitors */
116
//} x_info;
117
//#endif
118
119
#ifdef __cplusplus
120
//}
121
#endif
122
123
/*=====================================================================*/
124
125
#include "
explain.h
"
126
#include "
agent.h
"
127
128
/*=====================================================================*/
129
130
#ifdef __cplusplus
131
//extern "C"
132
//{
133
#endif
134
135
/* These functions define the protocol functions for the X interface to */
136
/* Soar. */
137
138
139
//#ifdef USE_X_DISPLAY
140
// extern char * x_input_buffer;
141
// extern int x_input_buffer_index;
142
// extern Bool waiting_for_command;
143
// extern void create_agent_window (agent *, char * agent_class);
144
// extern void create_monitor_window (agent *, char * command);
145
// extern void handle_soar_x_events (void);
146
// extern void refresh_monitor_window (agent *);
147
// extern void destroy_soar_display (void);
148
//
149
// extern Bool text_io_mode;
150
//
151
//#ifdef USE_STDARGS
152
// extern void print_x_format_string (x_info * window, char *format, ... );
153
//#else
154
// extern void print_x_format_string ();
155
//#endif
156
//
157
//#endif /* USE_X_DISPLAY */
158
159
/* This is deprecated. -AJC (8/9/02) */
160
//extern char * c_interrupt_msg;
161
162
#ifdef __cplusplus
163
//}
164
#endif
165
166
#endif
/* _SOAR_H_INCLUDED */
Generated on Mon Aug 6 2012 17:21:02 for Soar Kernel by
1.8.1.2