COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
message_types.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef MESSAGE_TYPES_H
9 #define MESSAGE_TYPES_H
10 
11 #include <util/coExport.h>
12 
13 /*
14  $Log: $
15  * Revision 1.4 1994/03/23 18:07:03 zrf30125
16  * Modifications for multiple Shared Memory segments have been finished
17  * (not yet for Cray)
18  *
19  * Revision 1.3 93/10/11 09:22:19 zrhk0125
20  * new types DM_CONTACT_DM and APP_CONTACT_DM included
21  *
22  * Revision 1.2 93/10/08 19:18:06 zrhk0125
23  * data type sizes introduced
24 * some fixed type sizes with sizeof calls replaced
25  *
26  * Revision 1.1 93/09/25 20:47:03 zrhk0125
27  * Initial revision
28  *
29  */
30 
31 /***********************************************************************\
32  ** **
33  ** Message classes Version: 1.1 **
34  ** **
35  ** **
36  ** Description : The basic message structure as well as ways to **
37  ** initialize messages easily are provided. **
38  ** Subclasses for special types of messages **
39  ** can be introduced. **
40  ** **
41  ** Classes : Message, ShmMessage **
42  ** **
43  ** Copyright (C) 1993 by University of Stuttgart **
44  ** Computer Center (RUS) **
45  ** Allmandring 30 **
46  ** 7000 Stuttgart 80 **
47  ** HOSTID **
48  ** **
49  ** Author : A. Wierse (RUS) **
50  ** **
51  ** History : **
52  ** 15.04.93 Ver 1.0 **
53  ** 15.04.93 Ver 1.1 new Messages and type added **
54  ** sender and send_type added **
55  ** **
56  ** **
57 \***********************************************************************/
58 
59 namespace covise
60 {
61 
62 // IDs for all messages that go between processes are fixed here
63 
65 {
202 };
203 
204 #ifdef DEFINE_MSG_TYPES
205 COVISEEXPORT const char *covise_msg_types_array[] = {
206  "FAILED", // 0
207  "OK", // 1
208  "INIT", // 2
209  "FINISHED", // 3
210  "SEND", // 4
211  "ALLOC", // 5
212  "UI", // 6
213  "APP_CONTACT_DM", // 7
214  "DM_CONTACT_DM", // 8
215  "SHM_MALLOC", // 9
216  "SHM_MALLOC_LIST", // 10
217  "MALLOC_OK", // 11
218  "MALLOC_LIST_OK", // 12
219  "MALLOC_FAILED", // 13
220  "PREPARE_CONTACT", // 14
221  "PREPARE_CONTACT_DM", // 15
222  "PORT", // 16
223  "GET_SHM_KEY", // 17
224  "NEW_OBJECT", // 18
225  "GET_OBJECT", // 19
226  "REGISTER_TYPE", // 20
227  "NEW_SDS", // 21
228  "SEND_ID", // 22
229  "ASK_FOR_OBJECT", // 23
230  "OBJECT_FOUND", // 24
231  "OBJECT_NOT_FOUND", // 25
232  "HAS_OBJECT_CHANGED", // 26
233  "OBJECT_UPDATE", // 27
234  "OBJECT_TRANSFER", // 28
235  "OBJECT_FOLLOWS", // 29
236  "OBJECT_OK", // 30
237  "CLOSE_SOCKET", // 31
238  "DESTROY_OBJECT", // 32
239  "CTRL_DESTROY_OBJECT", // 33
240  "QUIT", // 34
241  "START", // 35
242  "COVISE_ERROR", // 36
243  "INOBJ", // 37
244  "OUTOBJ", // 38
245  "OBJECT_NO_LONGER_USED", // 39
246  "SET_ACCESS", // 40
247  "FINALL", // 41
248  "ADD_OBJECT", // 42
249  "DELETE_OBJECT", // 43
250  "NEW_OBJECT_VERSION", // 44
251  "RENDER", // 45
252  "WAIT_CONTACT", // 46
253  "PARINFO", // 47
254  "MAKE_DATA_CONNECTION", // 48
255  "COMPLETE_DATA_CONNECTION", // 49
256  "SHM_FREE", // 50
257  "GET_TRANSFER_PORT", // 51
258  "TRANSFER_PORT", // 52
259  "CONNECT_TRANSFERMANAGER", // 53
260  "STDINOUT_EMPTY", // 54
261  "WARNING", // 55
262  "INFO", // 56
263  "REPLACE_OBJECT", // 57
264  "PLOT", // 58
265  "GET_LIST_OF_INTERFACES", // 59
266  "USR1", // 60
267  "USR2", // 61
268  "USR3", // 62
269  "USR4", // 63
270  "NEW_OBJECT_OK", // 64
271  "NEW_OBJECT_FAILED", // 65
272  "NEW_OBJECT_SHM_MALLOC_LIST", // 66
273  "REQ_UI", // 67
274  "NEW_PART_ADDED", // 68
275  "SENDING_NEW_PART", // 69
276  "FINPART", // 70
277  "NEW_PART_AVAILABLE", // 71
278  "OBJECT_ON_HOSTS", // 72
279  "OBJECT_FOLLOWS_CONT", // 73
280  "CRB_EXEC", // 74
281  "COVISE_STOP_PIPELINE", // 75
282  "PREPARE_CONTACT_MODULE", // 76
283  "MODULE_CONTACT_MODULE", // 77
284  "SEND_APPL_PROCID", // 78
285  "INTERFACE_LIST", // 79
286  "MODULE_LIST", // 80
287  "HOSTID", // 81
288  "MODULE_STARTED", // 82
289  "GET_USER", // 83
290  "SOCKET_CLOSED", // 84
291  "NEW_COVISED", // 85
292  "USER_LIST", // 86
293  "STARTUP_INFO", // 87
294  "CO_MODULE", // 88
295  "WRITE_SCRIPT", // 89
296  "CRB", // 90
297  "GENERIC", // 91
298  "RENDER_MODULE", // 92
299  "FEEDBACK", // 93
300  "VRB_CONTACT", // 94
301  "VRB_CONNECT_TO_COVISE", // 95
302  "VRB_CHECK_COVER", // 96
303  "END_IMM_CB", // 97
304  "NEW_DESK", // 98
305  "VRB_SET_USERINFO", // 99
306  "VRB_GET_ID", // 100
307  "VRB_SET_GROUP", // 101
308  "VRB_QUIT", // 102
309  "VRB_SET_MASTER", // 103
310  "VRB_GUI", // 104
311  "VRB_CLOSE_VRB_CONNECTION", // 105
312  "VRB_REQUEST_FILE", // 106
313  "VRB_SEND_FILE", // 107
314  "VRB_CURRENT_FILE", // 108
315  "CRB_QUIT", // 109
316  "REMOVED_HOST", // 110
317  "START_COVER_SLAVE", // 111
318  "VRB_REGISTRY_ENTRY_CHANGED", // 112
319  "VRB_REGISTRY_ENTRY_DELETED", // 113
320  "VRB_REGISTRY_SUBSCRIBE_CLASS", // 114
321  "VRB_REGISTRY_SUBSCRIBE_VARIABLE", // 115
322  "VRB_REGISTRY_CREATE_ENTRY", // 116
323  "VRB_REGISTRY_SET_VALUE", // 117
324  "VRB_REGISTRY_DELETE_ENTRY", // 118
325  "VRB_REGISTRY_UNSUBSCRIBE_CLASS", // 119
326  "VRB_REGISTRY_UNSUBSCRIBE_VARIABLE", // 120
327  "SYNCHRONIZED_ACTION", // 121
328  "ACCESSGRID_DAEMON", // 122
329  "TABLET_UI", // 123
330  "QUERY_DATA_PATH", // 124
331  "SEND_DATA_PATH", // 125
332  "VRB_FB_RQ", // 126
333  "VRB_FB_SET", // 127
334  "VRB_FB_REMREQ", // 128
335  "UPDATE_LOADED_MAPNAME", // 129
336  "CRB_EXEC_DEBUG", // 130
337  "CRB_EXEC_MEMCHECK", // 131
338  "SSLDAEMON", // 132
339  "VISENSO_UI", // 133
340  "GIVE_ME_A_NAME",
341  "GIVE_ME_A_NAME",
342  "GIVE_ME_A_NAME",
343  "GIVE_ME_A_NAME",
344  "GIVE_ME_A_NAME",
345  "GIVE_ME_A_NAME",
346  "GIVE_ME_A_NAME",
347  "GIVE_ME_A_NAME",
348  "GIVE_ME_A_NAME"
349 };
350 #else
351 COVISEEXPORT extern const char *covise_msg_types_array[];
352 #endif
353 
355 {
360  RENDERER = 4,
365  STDINOUT = 9,
366  COVISED = 10
367 };
368 }
369 #endif
Definition: message_types.h:170
Definition: message_types.h:77
Definition: message_types.h:91
Definition: message_types.h:175
Definition: message_types.h:361
Definition: message_types.h:89
Definition: message_types.h:120
Definition: message_types.h:124
Definition: message_types.h:160
Definition: message_types.h:99
Definition: message_types.h:79
Definition: message_types.h:106
Definition: message_types.h:189
Definition: message_types.h:199
Definition: message_types.h:169
Definition: message_types.h:198
Definition: message_types.h:366
Definition: message_types.h:145
#define COVISEEXPORT
Definition: coExport.h:176
Definition: message_types.h:103
Definition: message_types.h:110
Definition: message_types.h:109
Definition: message_types.h:112
Definition: message_types.h:161
Definition: message_types.h:358
Definition: message_types.h:80
Definition: message_types.h:113
Definition: message_types.h:90
Definition: message_types.h:72
Definition: message_types.h:155
Definition: message_types.h:177
Definition: message_types.h:156
Definition: message_types.h:92
Definition: message_types.h:75
Definition: message_types.h:94
Definition: message_types.h:70
Definition: message_types.h:191
Definition: message_types.h:148
Definition: message_types.h:168
Definition: message_types.h:101
Definition: message_types.h:365
Definition: message_types.h:134
Definition: message_types.h:195
Definition: message_types.h:165
Definition: message_types.h:174
Definition: message_types.h:364
Definition: message_types.h:157
Definition: message_types.h:74
Definition: message_types.h:139
Definition: message_types.h:359
Definition: message_types.h:149
Definition: message_types.h:152
Definition: message_types.h:162
Definition: message_types.h:117
Definition: message_types.h:153
Definition: message_types.h:196
Definition: message_types.h:86
Definition: message_types.h:102
Definition: message_types.h:118
Definition: message_types.h:362
Definition: message_types.h:356
Definition: message_types.h:83
Definition: message_types.h:100
Definition: message_types.h:140
Definition: message_types.h:360
Definition: message_types.h:108
sender_type
Definition: message_types.h:354
Definition: message_types.h:97
Definition: message_types.h:136
Definition: message_types.h:357
Definition: message_types.h:142
Definition: message_types.h:88
Definition: message_types.h:166
Definition: message_types.h:197
Definition: message_types.h:128
Definition: message_types.h:107
Definition: message_types.h:96
Definition: message_types.h:127
Definition: message_types.h:76
Definition: message_types.h:123
Definition: message_types.h:85
Definition: message_types.h:114
Definition: message_types.h:192
Definition: message_types.h:171
Definition: message_types.h:130
Definition: message_types.h:68
Definition: message_types.h:129
Definition: message_types.h:147
Definition: message_types.h:194
Definition: message_types.h:81
Definition: message_types.h:200
Definition: message_types.h:84
Definition: message_types.h:132
Definition: message_types.h:82
Definition: message_types.h:67
Definition: message_types.h:131
covise_msg_type
Definition: message_types.h:64
Definition: message_types.h:193
Definition: message_types.h:95
Definition: message_types.h:121
Definition: message_types.h:150
Definition: message_types.h:78
Definition: message_types.h:188
Definition: message_types.h:125
Definition: message_types.h:151
Definition: message_types.h:105
Definition: message_types.h:111
Definition: message_types.h:115
Definition: message_types.h:104
Definition: message_types.h:71
Definition: message_types.h:66
Definition: message_types.h:122
Definition: message_types.h:144
Definition: message_types.h:173
Definition: message_types.h:178
Definition: message_types.h:164
Definition: message_types.h:163
Definition: message_types.h:93
Definition: message_types.h:176
Definition: message_types.h:154
Definition: message_types.h:73
COVISEEXPORT const char * covise_msg_types_array[]
Definition: message_types.h:201
Definition: message_types.h:119
Definition: message_types.h:159
Definition: message_types.h:69
Definition: message_types.h:363
Definition: message_types.h:138
Definition: message_types.h:146
Definition: message_types.h:167
Definition: message_types.h:141
Definition: message_types.h:87
Definition: message_types.h:137
Definition: message_types.h:143
Definition: message_types.h:184
Definition: message_types.h:135
Definition: message_types.h:98
Definition: message_types.h:190
Definition: message_types.h:158
Definition: message_types.h:126