RTI Connext Micro
Version 2.4.1.0
Main Page
RTI Connext Micro Documentation
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
dds_c_log.h
Go to the documentation of this file.
1
/*
2
* FILE: dds_c_log.h - DDS log definitions
3
*
4
* (c) Copyright, Real-Time Innovations, 2012-2014.
5
*
6
* All rights reserved.
7
*
8
* No duplications, whole or partial, manual or electronic, may be made
9
* without express written permission. Any such copies, or
10
* revisions thereof, must display this notice unaltered.
11
* This code contains trade secrets of Real-Time Innovations, Inc.
12
*
13
* Modification History
14
* --------------------
15
* 09feb2014,eh MICRO-712: complete HTML doc descriptions
16
* 30may2013,eh MICRO-415: resource limit msgs
17
* 14may2013,eh MICRO-639, MICRO-394: add DDSC_LOG_DR_DESERIALIZE_BAD_PID_LENGTH
18
* 30apr2012,tk Written
19
*/
20
/*ce
21
* \file
22
* \brief DDS_C module log codes
23
*/
24
25
#ifndef dds_c_log_h
26
#define dds_c_log_h
27
28
#include "
dds_c/dds_c_config.h
"
29
30
#ifndef osapi_log_h
31
#include "osapi/osapi_log.h"
32
#endif
33
34
/*ce
35
* \defgroup DDSCLogCodesClass DDS_C
36
* \brief DDS C. ModuleID = 7
37
* \ingroup LoggingModule
38
*/
39
40
/*ce
41
* \brief Failed to create database
42
* \ingroup DDSCLogCodesClass
43
*/
44
#define DDSC_LOG_DB_INIT (DDSC_LOG_BASE + 1)
45
#define DDSC_Log_db_init(level_,dbrc_) \
46
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DB_INIT,\
47
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
48
"dbrc=%d",(dbrc_))
49
50
/*ce
51
* \brief Failed to set name string for database table
52
* \ingroup DDSCLogCodesClass
53
*/
54
#define DDSC_LOG_SET_TABLE_NAME (DDSC_LOG_BASE + 2)
55
#define DDSC_Log_set_table_name(level_,name_,len_,max_) \
56
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_TABLE_NAME,\
57
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,3,\
58
"name=%s,len=%d,max=%d",(name_),(len_),(max_))
59
60
/*ce
61
* \brief Failed to create database table
62
* \ingroup DDSCLogCodesClass
63
*/
64
#define DDSC_LOG_TABLE_CREATE (DDSC_LOG_BASE + 3)
65
#define DDSC_Log_table_create(level_,name_,dbrc_) \
66
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TABLE_CREATE,\
67
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
68
"name=%s,dbrc=%d",(name_),(dbrc_))
69
70
/*ce
71
* \brief Failed to set name string for a DDS entity
72
* \ingroup DDSCLogCodesClass
73
*/
74
#define DDSC_LOG_SET_ENTITY_NAME (DDSC_LOG_BASE + 4)
75
#define DDSC_Log_set_entity_name(level_,name_,len_,max_) \
76
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_ENTITY_NAME,\
77
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,3,\
78
"name=%s,len=%d,max=%d",(name_),(len_),(max_))
79
80
/*ce
81
* \brief Failed to delete a scheduled timer event
82
* \ingroup DDSCLogCodesClass
83
*/
84
#define DDSC_LOG_DELETE_TIMEOUT (DDSC_LOG_BASE + 5)
85
#define DDSC_Log_delete_timeout(level_) \
86
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_TIMEOUT,\
87
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
88
89
/*ce
90
* \brief Failed when finalizing a select from a database table
91
* \ingroup DDSCLogCodesClass
92
*/
93
#define DDSC_LOG_FINALIZE_SELECT (DDSC_LOG_BASE + 6)
94
#define DDSC_Log_finalize_select(level_,dbrc_) \
95
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_FINALIZE_SELECT,\
96
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
97
"dbrc=%d",(dbrc_))
98
99
/*ce
100
* \brief Failed to delete a database table due to in-use entries
101
* \ingroup DDSCLogCodesClass
102
*/
103
#define DDSC_LOG_TABLE_INUSE (DDSC_LOG_BASE + 7)
104
#define DDSC_Log_table_inuse(level_,name_,count_) \
105
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TABLE_INUSE,\
106
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
107
"name=%s,count=%d",(name_),(count_))
108
109
/*ce
110
* \brief Failed to delete a database table
111
* \ingroup DDSCLogCodesClass
112
*/
113
#define DDSC_LOG_DELETE_TABLE (DDSC_LOG_BASE + 8)
114
#define DDSC_Log_delete_table(level_,name_,dbrc_) \
115
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_TABLE,\
116
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
117
"name=%s,dbrc=%d",(name_),(dbrc_))
118
119
/*ce
120
* \brief Failed to finalize builtin topic data
121
* \details Upon deletion of a DDS entity, resources used for builtin topic
122
* data for discovery are reclaimed. This message is logged when some
123
* field failed to be reclaimed.
124
* \ingroup DDSCLogCodesClass
125
*/
126
#define DDSC_LOG_FINALIZE_BUILTIN (DDSC_LOG_BASE + 9)
127
#define DDSC_Log_finalize_builtin(level_,type_) \
128
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_FINALIZE_BUILTIN,\
129
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
130
"type=%s",(type_))
131
132
/*ce
133
* \brief Failed to delete a database record
134
* \ingroup DDSCLogCodesClass
135
*/
136
#define DDSC_LOG_DELETE_RECORD (DDSC_LOG_BASE + 10)
137
#define DDSC_Log_delete_record(level_,type_,dbrc_) \
138
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_RECORD,\
139
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
140
"type=%s,dbrc=%d",(type_),(dbrc_))
141
142
/*ce
143
* \brief Failed to release resources for multicast discovery locators
144
* \ingroup DDSCLogCodesClass
145
*/
146
#define DDSC_LOG_RELEASE_META_MC (DDSC_LOG_BASE + 11)
147
#define DDSC_Log_release_meta_mc(level_) \
148
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RELEASE_META_MC,\
149
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
150
151
/*ce
152
* \brief Failed to release resources for unicast discovery locators
153
* \ingroup DDSCLogCodesClass
154
*/
155
#define DDSC_LOG_RELEASE_META_UC (DDSC_LOG_BASE + 12)
156
#define DDSC_Log_release_meta_uc(level_) \
157
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RELEASE_META_UC,\
158
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
159
160
/*ce
161
* \brief Failed to release resources for multicast user locators
162
* \ingroup DDSCLogCodesClass
163
*/
164
#define DDSC_LOG_RELEASE_USER_MC (DDSC_LOG_BASE + 13)
165
#define DDSC_Log_release_user_mc(level_) \
166
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RELEASE_USER_MC,\
167
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
168
169
/*ce
170
* \brief Failed to release resources for unicast user locators
171
* \ingroup DDSCLogCodesClass
172
*/
173
#define DDSC_LOG_RELEASE_USER_UC (DDSC_LOG_BASE + 14)
174
#define DDSC_Log_release_user_uc(level_) \
175
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RELEASE_USER_UC,\
176
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
177
178
/*ce
179
* \brief Failed to set maximum of routes sequence
180
* \ingroup DDSCLogCodesClass
181
*/
182
#define DDSC_LOG_SET_ROUTE_MAX (DDSC_LOG_BASE + 15)
183
#define DDSC_Log_set_route_max(level_,length_) \
184
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_ROUTE_MAX,\
185
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
186
"length=%d",(length_))
187
188
/*ce
189
* \brief Failed to set length of routes sequence
190
* \ingroup DDSCLogCodesClass
191
*/
192
#define DDSC_LOG_SET_ROUTE_LEN (DDSC_LOG_BASE + 16)
193
#define DDSC_Log_set_route_len(level_,length_) \
194
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_ROUTE_LEN,\
195
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
196
"length=%d",(length_))
197
198
/*ce
199
* \brief Failed to set maximum of netmask sequence
200
* \ingroup DDSCLogCodesClass
201
*/
202
#define DDSC_LOG_SET_NETMASK_MAX (DDSC_LOG_BASE + 17)
203
#define DDSC_Log_set_netmask_max(level_,length_) \
204
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_NETMASK_MAX,\
205
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
206
"length=%d",(length_))
207
208
/*ce
209
* \brief Failed to set length of netmask sequence
210
* \ingroup DDSCLogCodesClass
211
*/
212
#define DDSC_LOG_SET_NETMASK_LEN (DDSC_LOG_BASE + 18)
213
#define DDSC_Log_set_netmask_len(level_,length_) \
214
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_NETMASK_LEN,\
215
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
216
"length=%d",(length_))
217
218
/*ce
219
* \brief Did not find a component factory with the given name in the registry
220
* \ingroup DDSCLogCodesClass
221
*/
222
#define DDSC_LOG_REGISTRY_LOOKUP (DDSC_LOG_BASE + 19)
223
#define DDSC_Log_registry_lookup(level_,factory_) \
224
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REGISTRY_LOOKUP,\
225
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
226
"factory=%s",(factory_))
227
228
/*ce
229
* \brief Failed to finalize an entity's sequence of routes
230
* \ingroup DDSCLogCodesClass
231
*/
232
#define DDSC_LOG_ROUTE_FINALIZE (DDSC_LOG_BASE + 20)
233
#define DDSC_Log_route_finalize(level_) \
234
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ROUTE_FINALIZE,\
235
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
236
237
/*ce
238
* \brief Failed to finalize an entity's sequence of netmasks
239
* \ingroup DDSCLogCodesClass
240
*/
241
#define DDSC_LOG_NETMASK_FINALIZE (DDSC_LOG_BASE + 21)
242
#define DDSC_Log_netmask_finalize(level_) \
243
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_NETMASK_FINALIZE,\
244
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
245
246
/*ce
247
* \brief Failed to delete the bind-resolver database table
248
* \ingroup DDSCLogCodesClass
249
*/
250
#define DDSC_LOG_BIND_RESOLVE_DELETE (DDSC_LOG_BASE + 22)
251
#define DDSC_Log_bind_resolve_delete(level_) \
252
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_BIND_RESOLVE_DELETE,\
253
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
254
255
/*ce
256
* \brief Failed to delete the route-resolver database table
257
* \ingroup DDSCLogCodesClass
258
*/
259
#define DDSC_LOG_ROUTE_RESOLVE_DELETE (DDSC_LOG_BASE + 23)
260
#define DDSC_Log_route_resolve_delete(level_) \
261
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ROUTE_RESOLVE_DELETE,\
262
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
263
264
/*ce
265
* \brief Failed to find the named discovery component in the registry
266
* \ingroup DDSCLogCodesClass
267
*/
268
#define DDSC_LOG_DISCOVERY_LOOKUP (DDSC_LOG_BASE + 24)
269
#define DDSC_Log_discovery_lookup(level_,name_) \
270
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISCOVERY_LOOKUP,\
271
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
272
"name=%s",(name_))
273
274
/*ce
275
* \brief Failed to finalize DomainParticiantQos
276
* \ingroup DDSCLogCodesClass
277
*/
278
#define DDSC_LOG_DOMAIN_PARTICIPANT_QOS_FINALIZE (DDSC_LOG_BASE + 25)
279
#define DDSC_Log_domain_participant_qos_finalize(level_) \
280
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DOMAIN_PARTICIPANT_QOS_FINALIZE,\
281
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
282
283
/*ce
284
* \brief Failed to finalize PublisherQos
285
* \ingroup DDSCLogCodesClass
286
*/
287
#define DDSC_LOG_PUBLISHER_QOS_FINALIZE (DDSC_LOG_BASE + 26)
288
#define DDSC_Log_publisher_qos_finalize(level_) \
289
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUBLISHER_QOS_FINALIZE,\
290
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
291
292
/*ce
293
* \brief Failed to finalize SubscriberQos
294
* \ingroup DDSCLogCodesClass
295
*/
296
#define DDSC_LOG_SUBSCRIBER_QOS_FINALIZE (DDSC_LOG_BASE + 27)
297
#define DDSC_Log_subscriber_qos_finalize(level_) \
298
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUBSCRIBER_QOS_FINALIZE,\
299
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
300
301
/*ce
302
* \brief Failed to delete database
303
* \ingroup DDSCLogCodesClass
304
*/
305
#define DDSC_LOG_DELETE_DATABASE (DDSC_LOG_BASE + 28)
306
#define DDSC_Log_delete_database(level_,dbrc_) \
307
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_DATABASE,\
308
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
309
"dbrc=%d",(dbrc_))
310
311
/*ce
312
* \brief Failed to delete timer
313
* \ingroup DDSCLogCodesClass
314
*/
315
#define DDSC_LOG_DELETE_TIMER (DDSC_LOG_BASE + 29)
316
#define DDSC_Log_delete_timer(level_) \
317
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_TIMER,\
318
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
319
320
/*ce
321
* \brief Failed to create DomainParticipant due to inconsistent
322
* DomainParticipantQos
323
* \ingroup DDSCLogCodesClass
324
*/
325
#define DDSC_LOG_INCONSISTENT_QOS (DDSC_LOG_BASE + 30)
326
#define DDSC_Log_inconsistent_qos(level_) \
327
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INCONSISTENT_QOS,\
328
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
329
330
/*ce
331
* \brief Failed to create DomainParticipant due to inconsistent listener and
332
* status mask
333
* \details Logged when listener is NULL and status mask is not
334
* DDS_STATUS_MASK_NONE
335
* \ingroup DDSCLogCodesClass
336
*/
337
#define DDSC_LOG_INCONSISTENT_LISTENER (DDSC_LOG_BASE + 31)
338
#define DDSC_Log_inconsistent_listener(level_,listener_,mask_) \
339
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INCONSISTENT_LISTENER,\
340
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
341
"listener=%p,mask=%x",(listener_),(mask_))
342
343
/*ce
344
* \brief Failed to get default DomainParticipantQos
345
* \ingroup DDSCLogCodesClass
346
*/
347
#define DDSC_LOG_GET_DEFAULT_PARTICIPANT_QOS (DDSC_LOG_BASE + 32)
348
#define DDSC_Log_get_default_participant_qos(level_) \
349
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_GET_DEFAULT_PARTICIPANT_QOS,\
350
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
351
352
/*ce
353
* \brief Failed to copy DomainParticipantQos
354
* \ingroup DDSCLogCodesClass
355
*/
356
#define DDSC_LOG_COPY_PARTICIPANT_QOS (DDSC_LOG_BASE + 33)
357
#define DDSC_Log_copy_participant_qos(level_) \
358
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_PARTICIPANT_QOS,\
359
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
360
361
/*ce
362
* \brief Failed to set the listener for a DDS entity
363
* \ingroup DDSCLogCodesClass
364
*/
365
#define DDSC_LOG_SET_LISTENER (DDSC_LOG_BASE + 34)
366
#define DDSC_Log_set_listener(level_,listener_,mask_) \
367
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_LISTENER,\
368
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
369
"listener=%p,mask=%x",(listener_),(mask_))
370
371
/*ce
372
* \brief Failed to initialize PublisherQos
373
* \ingroup DDSCLogCodesClass
374
*/
375
#define DDSC_LOG_INITIALIZE_PUBLISHER_QOS (DDSC_LOG_BASE + 35)
376
#define DDSC_Log_initialize_publisher_qos(level_,ddsrc_) \
377
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INITIALIZE_PUBLISHER_QOS,\
378
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
379
"ddsrc=%d",(ddsrc_))
380
381
/*ce
382
* \brief Failed to initialize SubscriberQos
383
* \ingroup DDSCLogCodesClass
384
*/
385
#define DDSC_LOG_INITIALIZE_SUBSCRIBER_QOS (DDSC_LOG_BASE + 36)
386
#define DDSC_Log_initialize_subscriber_qos(level_,ddsrc_) \
387
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INITIALIZE_SUBSCRIBER_QOS,\
388
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
389
"ddsrc=%d",(ddsrc_))
390
391
/*ce
392
* \brief Failed to find the named discovery plugin in the registry
393
* \ingroup DDSCLogCodesClass
394
*/
395
#define DDSC_LOG_DISCOVERY_PLUGIN_LOOKUP (DDSC_LOG_BASE + 37)
396
#define DDSC_Log_discovery_plugin_lookup(level_,plugin_) \
397
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISCOVERY_PLUGIN_LOOKUP,\
398
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
399
"plugin=%s",(plugin_))
400
401
/*ce
402
* \brief Out of resources to initialize builtin topic data
403
* \ingroup DDSCLogCodesClass
404
*/
405
#define DDSC_LOG_INITIALIZE_BUILTIN (DDSC_LOG_BASE + 38)
406
#define DDSC_Log_initialize_builtin(level_,kind_) \
407
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INITIALIZE_BUILTIN,\
408
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
409
"kind=%s",(kind_))
410
411
/*ce
412
* \brief Failed to set maximum of sequence of enabled transports
413
* \ingroup DDSCLogCodesClass
414
*/
415
#define DDSC_LOG_SET_TRANSPORT_MAX (DDSC_LOG_BASE + 39)
416
#define DDSC_Log_set_transport_max(level_,len_) \
417
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_TRANSPORT_MAX,\
418
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
419
"len=%d",(len_))
420
421
/*ce
422
* \brief Failed to set length of sequence of enabled transports
423
* \ingroup DDSCLogCodesClass
424
*/
425
#define DDSC_LOG_SET_TRANSPORT_LENGTH (DDSC_LOG_BASE + 40)
426
#define DDSC_Log_set_transport_length(level_,len_) \
427
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_TRANSPORT_LENGTH,\
428
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
429
"len=%d",(len_))
430
431
/*ce
432
* \brief Failed to find the named transport in the registry
433
* \ingroup DDSCLogCodesClass
434
*/
435
#define DDSC_LOG_TRANSPORT_LOOKUP (DDSC_LOG_BASE + 41)
436
#define DDSC_Log_transport_lookup(level_,name_) \
437
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TRANSPORT_LOOKUP,\
438
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
439
"name=%s",(name_))
440
441
/*ce
442
* \brief An unsupported transport class is being registered
443
* \ingroup DDSCLogCodesClass
444
*/
445
#define DDSC_LOG_TRANSPORT_CLASS (DDSC_LOG_BASE + 42)
446
#define DDSC_Log_transport_class(level_,class_) \
447
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TRANSPORT_CLASS,\
448
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
449
"class=%d",(class_))
450
451
/*ce
452
* \brief Failed to create a factory component interface with the given name
453
* \ingroup DDSCLogCodesClass
454
*/
455
#define DDSC_LOG_INTERFACE_CREATE (DDSC_LOG_BASE + 43)
456
#define DDSC_Log_interface_create(level_,factory_) \
457
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INTERFACE_CREATE,\
458
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
459
"factory=%s",(factory_))
460
461
/*ce
462
* \brief Failed setting max of reserved address sequence
463
* \ingroup DDSCLogCodesClass
464
*/
465
#define DDSC_LOG_SET_RESERVED_MAX (DDSC_LOG_BASE + 44)
466
#define DDSC_Log_set_reserved_max(level_,len_) \
467
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_RESERVED_MAX,\
468
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
469
"len=%d",(len_))
470
471
/*ce
472
* \brief Failed setting length of reserved address sequence
473
* \ingroup DDSCLogCodesClass
474
*/
475
#define DDSC_LOG_SET_RESERVED_LENGTH (DDSC_LOG_BASE + 45)
476
#define DDSC_Log_set_reserved_length(level_,len_) \
477
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_RESERVED_LENGTH,\
478
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
479
"len=%d",(len_))
480
481
/*ce
482
* \brief Failed finalization of reserved address sequence
483
* \ingroup DDSCLogCodesClass
484
*/
485
#define DDSC_LOG_SET_RESERVED_FINALIZE (DDSC_LOG_BASE + 46)
486
#define DDSC_Log_set_reserved_finalize(level_) \
487
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_RESERVED_FINALIZE,\
488
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
489
490
/*ce
491
* \brief Failed to create type record.
492
*
493
* \details The creation of an internal database record failed when registering
494
* a type. The failure may have been caused by insufficient resources,
495
* where DomainParticipantQos.resource_limit.local_type_allocation
496
* limits the number of type records.
497
*
498
* \ingroup DDSCLogCodesClass
499
*/
500
#define DDSC_LOG_CREATE_TYPE_RECORD (DDSC_LOG_BASE + 47)
501
#define DDSC_Log_create_type_record(level_,dbrc_) \
502
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_TYPE_RECORD,\
503
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
504
"dbrc=%d",(dbrc_))
505
506
/*ce
507
* \brief Failed to initialize a record for a type being registered
508
* \ingroup DDSCLogCodesClass
509
*/
510
#define DDSC_LOG_INIT_TYPE_RECORD (DDSC_LOG_BASE + 48)
511
#define DDSC_Log_init_type_record(level_) \
512
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INIT_TYPE_RECORD,\
513
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
514
515
/*ce
516
* \brief Failed registering a type that already exists
517
* \ingroup DDSCLogCodesClass
518
*/
519
#define DDSC_LOG_TYPE_RECORD_EXISTS (DDSC_LOG_BASE + 49)
520
#define DDSC_Log_type_record_exists(level_) \
521
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_RECORD_EXISTS,\
522
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
523
524
/*ce
525
* \brief Failed database select for a type being unregistered
526
* \ingroup DDSCLogCodesClass
527
*/
528
#define DDSC_LOG_TYPE_RECORD_SELECT (DDSC_LOG_BASE + 50)
529
#define DDSC_Log_type_record_select(level_,dbrc_) \
530
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_RECORD_SELECT,\
531
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
532
"dbrc=%d",(dbrc_))
533
534
/*ce
535
* \brief Failed to unregister a type with non-zero reference count
536
* \ingroup DDSCLogCodesClass
537
*/
538
#define DDSC_LOG_TYPE_RECORD_REFCOUNT (DDSC_LOG_BASE + 51)
539
#define DDSC_Log_type_record_refcount(level_,refcount_) \
540
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_RECORD_REFCOUNT,\
541
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
542
"refcount=%d",(refcount_))
543
544
/*ce
545
* \brief Failed to remove a database record for a registered type
546
* \ingroup DDSCLogCodesClass
547
*/
548
#define DDSC_LOG_TYPE_RECORD_REMOVE (DDSC_LOG_BASE + 52)
549
#define DDSC_Log_type_record_remove(level_,dbrc_) \
550
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_RECORD_REMOVE,\
551
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
552
"dbrc=%d",(dbrc_))
553
554
/*ce
555
* \brief Failed to delete a database record for a registered type
556
* \ingroup DDSCLogCodesClass
557
*/
558
#define DDSC_LOG_TYPE_RECORD_DELETE (DDSC_LOG_BASE + 53)
559
#define DDSC_Log_type_record_delete(level_,dbrc_) \
560
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_RECORD_DELETE,\
561
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
562
"dbrc=%d",(dbrc_))
563
564
/*ce
565
* \brief Failed a select operation for a database table
566
* \ingroup DDSCLogCodesClass
567
*/
568
#define DDSC_LOG_TABLE_SELECT (DDSC_LOG_BASE + 54)
569
#define DDSC_Log_table_select(level_,table_,dbrc_) \
570
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TABLE_SELECT,\
571
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
572
"table=%s,dbrc=%d",(table_),(dbrc_))
573
574
/*ce
575
* \brief Failed to get the next automatically generated object ID for an
576
* entity's GUID
577
* \ingroup DDSCLogCodesClass
578
*/
579
#define DDSC_LOG_GET_NEXT_OBJECT_ID (DDSC_LOG_BASE + 55)
580
#define DDSC_Log_get_next_object_id(level_) \
581
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_GET_NEXT_OBJECT_ID,\
582
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
583
584
/*ce
585
* \brief Failed to create publisher record.
586
*
587
* \details The creation of an internal database record failed when creating
588
* a publisher. The failure may have been caused by
589
* insufficient resources, where
590
* DomainParticipantQos.resource_limit.local_publisher_allocation
591
* limits the number of publisher records.
592
*
593
* \ingroup DDSCLogCodesClass
594
*/
595
#define DDSC_LOG_CREATE_PUBLISHER_RECORD (DDSC_LOG_BASE + 56)
596
#define DDSC_Log_create_publisher_record(level_,dbrc_) \
597
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_PUBLISHER_RECORD,\
598
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
599
"dbrc=%d",(dbrc_))
600
601
/*ce
602
* \brief Failed to insert a database record when creating a Publisher
603
* \ingroup DDSCLogCodesClass
604
*/
605
#define DDSC_LOG_INSERT_PUBLISHER_RECORD (DDSC_LOG_BASE + 57)
606
#define DDSC_Log_insert_publisher_record(level_,dbrc_) \
607
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSERT_PUBLISHER_RECORD,\
608
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
609
"dbrc=%d",(dbrc_))
610
611
/*ce
612
* \brief Failed to delete a database record of a created Publisher
613
* \ingroup DDSCLogCodesClass
614
*/
615
#define DDSC_LOG_DELETE_PUBLISHER_RECORD (DDSC_LOG_BASE + 58)
616
#define DDSC_Log_delete_publisher_record(level_,dbrc_) \
617
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_PUBLISHER_RECORD,\
618
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
619
"dbrc=%d",(dbrc_))
620
621
/*ce
622
* \brief Failed to create subscription record.
623
*
624
* \details The creation of an internal database record failed when creating
625
* a subscriber. The failure may have been caused by
626
* insufficient resources, where
627
* DomainParticipantQos.resource_limit.local_subscriber_allocation
628
* limits the number of subscriber records.
629
*
630
* \ingroup DDSCLogCodesClass
631
*/
632
#define DDSC_LOG_CREATE_SUBSCRIBER_RECORD (DDSC_LOG_BASE + 59)
633
#define DDSC_Log_create_subscriber_record(level_,dbrc_) \
634
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_SUBSCRIBER_RECORD,\
635
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
636
"dbrc=%d",(dbrc_))
637
638
/*ce
639
* \brief Failed to insert a database record when creating a Subscriber
640
* \ingroup DDSCLogCodesClass
641
*/
642
#define DDSC_LOG_INSERT_SUBSCRIBER_RECORD (DDSC_LOG_BASE + 60)
643
#define DDSC_Log_insert_subscriber_record(level_,dbrc_) \
644
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSERT_SUBSCRIBER_RECORD,\
645
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
646
"dbrc=%d",(dbrc_))
647
648
/*ce
649
* \brief Failed to delete a database record of a created Subscriber
650
* \ingroup DDSCLogCodesClass
651
*/
652
#define DDSC_LOG_DELETE_SUBSCRIBER_RECORD (DDSC_LOG_BASE + 61)
653
#define DDSC_Log_delete_subscriber_record(level_,dbrc_) \
654
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_SUBSCRIBER_RECORD,\
655
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
656
"dbrc=%d",(dbrc_))
657
658
/*ce
659
* \brief Failed to find a registered type of the given name when creating a
660
* Topic
661
* \ingroup DDSCLogCodesClass
662
*/
663
#define DDSC_LOG_TYPE_LOOKUP (DDSC_LOG_BASE + 62)
664
#define DDSC_Log_type_lookup(level_,type_) \
665
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_LOOKUP,\
666
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
667
"type=%s",(type_))
668
669
/*ce
670
* \brief Failed to create local topic record.
671
*
672
* * \details The creation of an internal database record failed when creating
673
* a topic. The failure may have been caused by insufficient resources,
674
* where
675
* DomainParticipantQos.resource_limit.local_topic_allocation
676
* limits the number of topic records.
677
*
678
* \ingroup DDSCLogCodesClass
679
*/
680
#define DDSC_LOG_CREATE_TOPIC_RECORD (DDSC_LOG_BASE + 62)
681
#define DDSC_Log_create_topic_record(level_,dbrc_) \
682
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_TOPIC_RECORD,\
683
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
684
"dbrc=%d",(dbrc_))
685
686
/*ce
687
* \brief Failed to insert a database record when creating a Topic
688
* \ingroup DDSCLogCodesClass
689
*/
690
#define DDSC_LOG_INSERT_TOPIC_RECORD (DDSC_LOG_BASE + 63)
691
#define DDSC_Log_insert_topic_record(level_,dbrc_) \
692
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSERT_TOPIC_RECORD,\
693
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
694
"dbrc=%d",(dbrc_))
695
696
/*ce
697
* \brief Failed to delete a database record for a created Topic
698
* \ingroup DDSCLogCodesClass
699
*/
700
#define DDSC_LOG_DELETE_TOPIC_RECORD (DDSC_LOG_BASE + 64)
701
#define DDSC_Log_delete_topic_record(level_,dbrc_) \
702
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_TOPIC_RECORD,\
703
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
704
"dbrc=%d",(dbrc_))
705
706
/*ce
707
* \brief Failed to find a topic created by a DomainParticipant
708
* \ingroup DDSCLogCodesClass
709
*/
710
#define DDSC_LOG_TOPIC_FIND (DDSC_LOG_BASE + 65)
711
#define DDSC_Log_topic_find(level_,topic_,dbrc_) \
712
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_FIND,\
713
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
714
"topic=%,dbrc=%d",(topic_),(dbrc_))
715
716
/*ce
717
* \brief Illegal combination of NULL listener and non-NONE status mask when
718
* setting a listener for an Entity
719
* \ingroup DDSCLogCodesClass
720
*/
721
#define DDSC_LOG_SET_LISTENER_ILLEGAL_NULL (DDSC_LOG_BASE + 66)
722
#define DDSC_Log_set_listener_illegal_null(level_) \
723
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_LISTENER_ILLEGAL_NULL,\
724
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
725
726
/*ce
727
* \brief Cannot set Qos for an already enabled Entity
728
* \ingroup DDSCLogCodesClass
729
*/
730
#define DDSC_LOG_SET_QOS_ON_ENABLED_ENTITY (DDSC_LOG_BASE + 67)
731
#define DDSC_Log_set_qos_on_enabled_entity(level_) \
732
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_QOS_ON_ENABLED_ENTITY,\
733
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
734
735
/*ce
736
* \brief Failed to copy DomainParticipantQos.discovery.initial_peers
737
* \ingroup DDSCLogCodesClass
738
*/
739
#define DDSC_LOG_COPY_INITIAL_PEERS (DDSC_LOG_BASE + 68)
740
#define DDSC_Log_copy_initial_peers(level_) \
741
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_INITIAL_PEERS,\
742
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
743
744
/*ce
745
* \brief Failed to copy DomainParticipantQos.transports.enabled_transports
746
* \ingroup DDSCLogCodesClass
747
*/
748
#define DDSC_LOG_COPY_ENABLED_TRANSPORTS (DDSC_LOG_BASE + 69)
749
#define DDSC_Log_copy_enabled_transports(level_) \
750
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_ENABLED_TRANSPORTS,\
751
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
752
753
/*ce
754
* \brief Failed to copy DomainParticipantQos.discovery.enabled_transports
755
* \ingroup DDSCLogCodesClass
756
*/
757
#define DDSC_LOG_COPY_ENABLED_DISCOVERY_TRANSPORTS (DDSC_LOG_BASE + 70)
758
#define DDSC_Log_copy_enabled_discovery_transports(level_) \
759
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_ENABLED_DISCOVERY_TRANSPORTS,\
760
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
761
762
/*ce
763
* \brief Failed to copy DomainParticipantQos.user_traffic.enabled_transports
764
* \ingroup DDSCLogCodesClass
765
*/
766
#define DDSC_LOG_COPY_ENABLED_USER_TRANSPORTS (DDSC_LOG_BASE + 71)
767
#define DDSC_Log_copy_enabled_user_transports(level_) \
768
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_ENABLED_USER_TRANSPORTS,\
769
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
770
771
/*ce
772
* \brief DomainParticipantQos resource_limits has invalid value(s).
773
*
774
* \details Each limit of DomainParticipantQos.resource_limits must be finite
775
* and non-zero.
776
*
777
* \ingroup DDSCLogCodesClass
778
*/
779
#define DDSC_LOG_INCONSISTENT_RESOURCE_LIMITS (DDSC_LOG_BASE + 71)
780
#define DDSC_Log_inconsistent_resource_limits(level_) \
781
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INCONSISTENT_RESOURCE_LIMITS,\
782
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
783
784
/*ce
785
* \brief Illegal value for DomainParticipantQos.protocol.participant_id
786
* \ingroup DDSCLogCodesClass
787
*/
788
#define DDSC_LOG_ILLEGAL_PARTICIPANT_ID (DDSC_LOG_BASE + 72)
789
#define DDSC_Log_illegal_participant_id(level_,id_) \
790
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ILLEGAL_PARTICIPANT_ID,\
791
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
792
"id=%d",(id_))
793
794
/*ce
795
* \brief Failed endpoint discovery when name of remote participant not found
796
* from previously discovered remote participants
797
* \ingroup DDSCLogCodesClass
798
*/
799
#define DDSC_LOG_UNKNOWN_REMOTE_PARTICIPANT_NAME (DDSC_LOG_BASE + 73)
800
#define DDSC_Log_unknown_remote_participant_name(level_,name_) \
801
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_UNKNOWN_REMOTE_PARTICIPANT_NAME,\
802
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
803
"name=%s",(name_))
804
805
/*ce
806
* \brief Failed endpoint discovery when key of remote participant not found
807
* for previously discovered remote participants
808
* \ingroup DDSCLogCodesClass
809
*/
810
#define DDSC_LOG_UNKNOWN_REMOTE_PARTICIPANT_KEY (DDSC_LOG_BASE + 74)
811
#define DDSC_Log_unknown_remote_participant_key(level_,key0_,key1_,key2_,key3_) \
812
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_UNKNOWN_REMOTE_PARTICIPANT_KEY,\
813
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,4,\
814
"key0=%x,key1=%x,key2=%x,key3=%x",(key0_),(key1_),(key2_),(key3_))
815
816
/*ce
817
* \brief Failed endpoint discovery when key does not match for remote
818
* participant
819
* \ingroup DDSCLogCodesClass
820
*/
821
#define DDSC_LOG_REMOTE_PARTICIPANT_KEY_NOT_EQUAL (DDSC_LOG_BASE + 75)
822
#define DDSC_Log_remote_participant_key_not_equal(level_,name_) \
823
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REMOTE_PARTICIPANT_KEY_NOT_EQUAL,\
824
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
825
"name=%s",(name_))
826
827
/*ce
828
* \brief Failed endpoint discovery due to an invalid or unknown endpoint GUID
829
* \ingroup DDSCLogCodesClass
830
*/
831
#define DDSC_LOG_INVALID_ENDPOINT_GUID (DDSC_LOG_BASE + 76)
832
#define DDSC_Log_invalid_endpoint_guid(level_) \
833
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INVALID_ENDPOINT_GUID,\
834
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
835
836
/*ce
837
* \brief Failed endpoint discovery when endpoint is determined to belong to
838
* a different remote participant
839
* \ingroup DDSCLogCodesClass
840
*/
841
#define DDSC_LOG_ENDPOINT_NOT_CHILD_OF_PARTICIPANT (DDSC_LOG_BASE + 77)
842
#define DDSC_Log_endpoint_not_child_of_participant(level_,participant_) \
843
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ENDPOINT_NOT_CHILD_OF_PARTICIPANT,\
844
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
845
"participant=%s",(participant_))
846
847
/*ce
848
* \brief Failed participant discovery, where a remote participant that should
849
* have been already asserted locally was not found
850
* \ingroup DDSCLogCodesClass
851
*/
852
#define DDSC_LOG_PARTICIPANT_DOES_NOT_EXIST (DDSC_LOG_BASE + 78)
853
#define DDSC_Log_participant_does_not_exist(level_,participant_) \
854
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PARTICIPANT_DOES_NOT_EXIST,\
855
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
856
"participant=%s",(participant_))
857
858
/*ce
859
* \brief Failed to create remote participant record.
860
*
861
* \details The creation of an internal database record failed when asserting
862
* a remote DomainParticipant, which is done for participant discovery.
863
* The failure may have been caused by insufficient resources,
864
* where
865
* DomainParticipantQos.resource_limits.remote_participant_allocation
866
* sets the limit of remote participant records.
867
*
868
* \ingroup DDSCLogCodesClass
869
*/
870
#define DDSC_LOG_CREATE_REM_PARTICIPANT_RECORD (DDSC_LOG_BASE + 79)
871
#define DDSC_Log_create_rem_participant_record(level_,dbrc_) \
872
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_REM_PARTICIPANT_RECORD,\
873
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
874
"dbrc=%d",(dbrc_))
875
876
/*ce
877
* \brief Out of memory to copy participant builtin topic data
878
* \ingroup DDSCLogCodesClass
879
*/
880
#define DDSC_LOG_COPY_BUILTIN_PARTICIPANT (DDSC_LOG_BASE + 80)
881
#define DDSC_Log_copy_builtin_participant(level_) \
882
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_BUILTIN_PARTICIPANT,\
883
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
884
885
/*ce
886
* \brief Failed to insert a database record for a remote participant
887
* \details Likely results in a failed participant discovery
888
* \ingroup DDSCLogCodesClass
889
*/
890
#define DDSC_LOG_INSERT_REM_PARTICIPANT_RECORD (DDSC_LOG_BASE + 81)
891
#define DDSC_Log_insert_rem_participant_record(level_,dbrc_) \
892
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSERT_REM_PARTICIPANT_RECORD,\
893
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
894
"dbrc=%d",(dbrc_))
895
896
/*ce
897
* \brief Failed assertion of an unknown remote participant
898
* \ingroup DDSCLogCodesClass
899
*/
900
#define DDSC_LOG_ASSERT_REM_PARTICIPANT_UNKNOWN (DDSC_LOG_BASE + 82)
901
#define DDSC_Log_assert_rem_participant_unknown(level_,dbrc_) \
902
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ASSERT_REM_PARTICIPANT_UNKNOWN,\
903
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
904
"dbrc=%d",(dbrc_))
905
906
/*ce
907
* \brief Did not find a remote participant in database when asserting
908
* participant liveliness for it
909
* \ingroup DDSCLogCodesClass
910
*/
911
#define DDSC_LOG_REFRESH_REM_PARTICIPANT (DDSC_LOG_BASE + 83)
912
#define DDSC_Log_refresh_rem_participant(level_,name_) \
913
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REFRESH_REM_PARTICIPANT,\
914
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
915
"name=%s",(name_))
916
917
/*ce
918
* \brief Failed to assert participant liveliness to a remote participant
919
* \ingroup DDSCLogCodesClass
920
*/
921
#define DDSC_LOG_REFRESH_REM_PARTICIPANT_TIMEOUT (DDSC_LOG_BASE + 84)
922
#define DDSC_Log_refresh_rem_participant_timeout(level_,name_,ms_) \
923
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REFRESH_REM_PARTICIPANT_TIMEOUT,\
924
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
925
"name=%s,ms=%d",(name_),(ms_))
926
927
/*ce
928
* \brief Failed to remove a database record of a remote participant
929
* \ingroup DDSCLogCodesClass
930
*/
931
#define DDSC_LOG_REMOVE_REM_PARTICIPANT_RECORD (DDSC_LOG_BASE + 85)
932
#define DDSC_Log_remove_rem_participant_record(level_,dbrc_) \
933
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REMOVE_REM_PARTICIPANT_RECORD,\
934
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
935
"dbrc=%d",(dbrc_))
936
937
/*ce
938
* \brief Failed to find a remote participant as previously discovered
939
* \ingroup DDSCLogCodesClass
940
*/
941
#define DDSC_LOG_PARTICIPANT_LOOKUP (DDSC_LOG_BASE + 86)
942
#define DDSC_Log_participant_lookup(level_,name_) \
943
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PARTICIPANT_LOOKUP,\
944
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
945
"name=%s",(name_))
946
947
/*ce
948
* \brief Failed to remove resources for a remote publication
949
* \ingroup DDSCLogCodesClass
950
*/
951
#define DDSC_LOG_REMOVE_PUBLICATION (DDSC_LOG_BASE + 87)
952
#define DDSC_Log_remove_publication(level_) \
953
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REMOVE_PUBLICATION,\
954
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
955
956
/*ce
957
* \brief Failed to remove resources for a remote subscription
958
* \ingroup DDSCLogCodesClass
959
*/
960
#define DDSC_LOG_REMOVE_SUBSCRIPTION (DDSC_LOG_BASE + 88)
961
#define DDSC_Log_remove_subscription(level_) \
962
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REMOVE_SUBSCRIPTION,\
963
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
964
965
/*ce
966
* \brief Failed to delete a database record of a remote participant
967
* \ingroup DDSCLogCodesClass
968
*/
969
#define DDSC_LOG_DELETE_REM_PARTICIPANT_RECORD (DDSC_LOG_BASE + 89)
970
#define DDSC_Log_delete_rem_participant_record(level_,dbrc_) \
971
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_REM_PARTICIPANT_RECORD,\
972
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
973
"dbrc=%d",(dbrc_))
974
975
/*ce
976
* \brief Cannot determine the participant of a remote publication
977
* \ingroup DDSCLogCodesClass
978
*/
979
#define DDSC_LOG_FIND_PUBLICATION_PARENT (DDSC_LOG_BASE + 90)
980
#define DDSC_Log_find_publication_parent(level_) \
981
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_FIND_PUBLICATION_PARENT,\
982
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
983
984
/*ce
985
* \brief Out of memory to copy publication builtin topic data
986
* \ingroup DDSCLogCodesClass
987
*/
988
#define DDSC_LOG_COPY_BUILTIN_PUBLICATION (DDSC_LOG_BASE + 91)
989
#define DDSC_Log_copy_builtin_publication(level_) \
990
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_BUILTIN_PUBLICATION,\
991
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
992
993
/*ce
994
* \brief Failed to create remote publication record.
995
*
996
* \details The creation of an internal database record failed when asserting
997
* a remote publication, which is done for endpoint discovery.
998
* The failure may have been caused by insufficient resources,
999
* where
1000
* DomainParticipantQos.resource_limits.remote_writer_allocation
1001
* sets the limit of remote publication records.
1002
*
1003
* \ingroup DDSCLogCodesClass
1004
*/
1005
#define DDSC_LOG_CREATE_PUBLICATION_RECORD (DDSC_LOG_BASE + 92)
1006
#define DDSC_Log_create_publication_record(level_,dbrc_) \
1007
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_PUBLICATION_RECORD,\
1008
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1009
"dbrc=%d",(dbrc_))
1010
1011
/*ce
1012
* \brief Cannot insert a database record of a discovered remote publication
1013
* \ingroup DDSCLogCodesClass
1014
*/
1015
#define DDSC_LOG_INSERT_PUBLICATION_RECORD (DDSC_LOG_BASE + 93)
1016
#define DDSC_Log_insert_publication_record(level_,dbrc_) \
1017
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSERT_PUBLICATION_RECORD,\
1018
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1019
"dbrc=%d",(dbrc_))
1020
1021
/*ce
1022
* \brief Cannot find a database record of a remote publication
1023
* \ingroup DDSCLogCodesClass
1024
*/
1025
#define DDSC_LOG_LOOKUP_PUBLICATION_RECORD (DDSC_LOG_BASE + 94)
1026
#define DDSC_Log_lookup_publication_record(level_) \
1027
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_LOOKUP_PUBLICATION_RECORD,\
1028
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1029
1030
/*ce
1031
* \brief Cannot find a database record for a remote participant
1032
* \ingroup DDSCLogCodesClass
1033
*/
1034
#define DDSC_LOG_LOOKUP_REMOTE_PARTICIPANT_RECORD (DDSC_LOG_BASE + 95)
1035
#define DDSC_Log_lookup_remote_participant_record(level_,dbrc_) \
1036
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_LOOKUP_REMOTE_PARTICIPANT_RECORD,\
1037
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1038
"dbrc=%d",(dbrc_))
1039
1040
/*ce
1041
* \brief Failed to remove a database record of a remote publication
1042
* \ingroup DDSCLogCodesClass
1043
*/
1044
#define DDSC_LOG_REMOVE_PUBLICATION_RECORD (DDSC_LOG_BASE + 96)
1045
#define DDSC_Log_remove_publication_record(level_,dbrc_) \
1046
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REMOVE_PUBLICATION_RECORD,\
1047
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1048
"dbrc=%d",(dbrc_))
1049
1050
/*ce
1051
* \brief Failed to delete a database record of a remote publication
1052
* \ingroup DDSCLogCodesClass
1053
*/
1054
#define DDSC_LOG_DELETE_PUBLICATION_RECORD (DDSC_LOG_BASE + 97)
1055
#define DDSC_Log_delete_publication_record(level_,dbrc_) \
1056
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_PUBLICATION_RECORD,\
1057
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1058
"dbrc=%d",(dbrc_))
1059
1060
/*ce
1061
* \brief Cannot determine the participant of a remote subscription
1062
* \ingroup DDSCLogCodesClass
1063
*/
1064
#define DDSC_LOG_FIND_SUBSCRIPTION_PARENT (DDSC_LOG_BASE + 98)
1065
#define DDSC_Log_find_subscription_parent(level_) \
1066
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_FIND_SUBSCRIPTION_PARENT,\
1067
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1068
1069
/*ce
1070
* \brief Failed to create remote subscription record.
1071
*
1072
* \details The creation of an internal database record failed when asserting
1073
* a remote subscription, which is done for endpoint discovery.
1074
* The failure may have been caused by insufficient resources,
1075
* where
1076
* DomainParticipantQos.resource_limits.remote_reader_allocation
1077
* sets the limit of remote subscription records.
1078
*
1079
* \ingroup DDSCLogCodesClass
1080
*/
1081
#define DDSC_LOG_CREATE_SUBSCRIPTION_RECORD (DDSC_LOG_BASE + 99)
1082
#define DDSC_Log_create_subscription_record(level_,dbrc_) \
1083
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_SUBSCRIPTION_RECORD,\
1084
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1085
"dbrc=%d",(dbrc_))
1086
1087
/*ce
1088
* \brief Out of resources to copy subscription builtin topic data
1089
* \ingroup DDSCLogCodesClass
1090
*/
1091
#define DDSC_LOG_COPY_BUILTIN_SUBSCRIPTION (DDSC_LOG_BASE + 100)
1092
#define DDSC_Log_copy_builtin_subscription(level_) \
1093
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_COPY_BUILTIN_SUBSCRIPTION,\
1094
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1095
1096
/*ce
1097
* \brief Failed to delete a database record for a remote subscription
1098
* \ingroup DDSCLogCodesClass
1099
*/
1100
#define DDSC_LOG_DELETE_SUBSCRIPTION_RECORD (DDSC_LOG_BASE + 102)
1101
#define DDSC_Log_delete_subscription_record(level_,dbrc_) \
1102
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_SUBSCRIPTION_RECORD,\
1103
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1104
"dbrc=%d",(dbrc_))
1105
1106
/*ce
1107
* \brief Failed to insert a database record for a remote subscription
1108
* \ingroup DDSCLogCodesClass
1109
*/
1110
#define DDSC_LOG_INSERT_SUBSCRIPTION_RECORD (DDSC_LOG_BASE + 103)
1111
#define DDSC_Log_insert_subscription_record(level_,dbrc_) \
1112
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSERT_SUBSCRIPTION_RECORD,\
1113
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1114
"dbrc=%d",(dbrc_))
1115
1116
/*ce
1117
* \brief Cannot find a database record for a remote subscription
1118
* \ingroup DDSCLogCodesClass
1119
*/
1120
#define DDSC_LOG_LOOKUP_SUBSCRIPTION_RECORD (DDSC_LOG_BASE + 105)
1121
#define DDSC_Log_lookup_subscription_record(level_) \
1122
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_LOOKUP_SUBSCRIPTION_RECORD,\
1123
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1124
1125
/*ce
1126
* \brief Failed to remove a database record of a remote subscription
1127
* \ingroup DDSCLogCodesClass
1128
*/
1129
#define DDSC_LOG_REMOVE_SUBSCRIPTION_RECORD (DDSC_LOG_BASE + 106)
1130
#define DDSC_Log_remove_subscription_record(level_,dbrc_) \
1131
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REMOVE_SUBSCRIPTION_RECORD,\
1132
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1133
"dbrc=%d",(dbrc_))
1134
1135
/*ce
1136
* \brief Failed to add a route for an anonymous participant discovery
1137
* datawriter
1138
* \ingroup DDSCLogCodesClass
1139
*/
1140
#define DDSC_LOG_ADD_ANON_TOPIC_ROUTE (DDSC_LOG_BASE + 108)
1141
#define DDSC_Log_add_anon_topic_route(level_,entity_,key_,topic_) \
1142
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ADD_TOPIC_ROUTE,\
1143
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1144
"%s[%x.%x.%x.%x]: add anon route for topic=%s",\
1145
(entity_),(key_)->value[0],(key_)->value[1],\
1146
(key_)->value[2],(key_)->value[3],(topic_))
1147
1148
/*ce
1149
* \brief Failed to add a route for a datawriter of a topic
1150
* \ingroup DDSCLogCodesClass
1151
*/
1152
#define DDSC_LOG_ADD_TOPIC_ROUTE (DDSC_LOG_BASE + 109)
1153
#define DDSC_Log_add_topic_route(level_,entity_,key_,topic_) \
1154
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ADD_TOPIC_ROUTE,\
1155
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1156
"%s[%x.%x.%x.%x]: add route for topic=%s",\
1157
(entity_),(key_)->value[0],(key_)->value[1],\
1158
(key_)->value[2],(key_)->value[3],(topic_))
1159
1160
/*ce
1161
* \brief Failed to delete a route of a topic
1162
* \ingroup DDSCLogCodesClass
1163
*/
1164
#define DDSC_LOG_DELETE_TOPIC_ROUTE (DDSC_LOG_BASE + 110)
1165
#define DDSC_Log_delete_topic_route(level_,entity_,key_,topic_) \
1166
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ADD_TOPIC_ROUTE,\
1167
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1168
"%s[%x.%x.%x.%x]: delete route for topic=%s",\
1169
(entity_),(key_)->value[0],(key_)->value[1],\
1170
(key_)->value[2],(key_)->value[3],(topic_))
1171
1172
/*ce
1173
* \brief Failed to create an index of a database table
1174
* \ingroup DDSCLogCodesClass
1175
*/
1176
#define DDSC_LOG_CREATE_INDEX (DDSC_LOG_BASE + 111)
1177
#define DDSC_Log_create_index(level_,table_,dbrc_) \
1178
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_INDEX,\
1179
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1180
"table=%s,dbrc=%d",(table_),(dbrc_))
1181
1182
/*ce
1183
* \brief Failed to allocate an internal sequence of destination addresses
1184
* \ingroup DDSCLogCodesClass
1185
*/
1186
#define DDSC_LOG_SET_MAX_SENDDST (DDSC_LOG_BASE + 112)
1187
#define DDSC_Log_set_max_senddst(level_,len_) \
1188
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_MAX_SENDDST,\
1189
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1190
"len=%d",(len_))
1191
1192
/*ce
1193
* \brief Failed to initialize an internal sequence of destination addresses
1194
* \ingroup DDSCLogCodesClass
1195
*/
1196
#define DDSC_LOG_INIT_SENDDST (DDSC_LOG_BASE + 113)
1197
#define DDSC_Log_init_senddst(level_) \
1198
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INIT_SENDDST,\
1199
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1200
1201
/*ce
1202
* \brief Failed to delete an index of a database table
1203
* \ingroup DDSCLogCodesClass
1204
*/
1205
#define DDSC_LOG_DELETE_INDEX (DDSC_LOG_BASE + 114)
1206
#define DDSC_Log_delete_index(level_,table_,dbrc_) \
1207
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_INDEX,\
1208
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1209
"table=%s,dbrc=%d",(table_),(dbrc_))
1210
1211
/*ce
1212
* \brief Failed to finalize an internal sequence of destination addresses
1213
* \ingroup DDSCLogCodesClass
1214
*/
1215
#define DDSC_LOG_FINALIZE_SENDDST (DDSC_LOG_BASE + 115)
1216
#define DDSC_Log_finalize_senddst(level_) \
1217
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_FINALIZE_SENDDST,\
1218
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1219
1220
/*ce
1221
* \brief Failed to set the length of an internal sequence of destination
1222
* addresses
1223
* \ingroup DDSCLogCodesClass
1224
*/
1225
#define DDSC_LOG_SET_LENGTH_SENDDST (DDSC_LOG_BASE + 116)
1226
#define DDSC_Log_set_length_senddst(level_,len_) \
1227
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SET_LENGTH_SENDDST,\
1228
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1229
"len=%d",(len_))
1230
1231
/*ce
1232
* \brief Failed to select records from a database table of routes
1233
* \ingroup DDSCLogCodesClass
1234
*/
1235
#define DDSC_LOG_ROUTE_SELECT (DDSC_LOG_BASE + 117)
1236
#define DDSC_Log_route_select(level_,dbrc_) \
1237
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ROUTE_SELECT,\
1238
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1239
"dbrc=%d",(dbrc_))
1240
1241
/*ce
1242
* \brief Failed to send a sample of a topic forward or downstream
1243
* \ingroup DDSCLogCodesClass
1244
*/
1245
#define DDSC_LOG_FORWARD_TOPIC (DDSC_LOG_BASE + 118)
1246
#define DDSC_Log_forward_topic(level_,topic_) \
1247
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_FORWARD_TOPIC,\
1248
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1249
"topic=%s",(topic_))
1250
1251
/*ce
1252
* \brief Failed to return a sample loan from writer history
1253
* \ingroup DDSCLogCodesClass
1254
*/
1255
#define DDSC_LOG_WH_LOAN_FINISHED_FAILED (DDSC_LOG_BASE + 119)
1256
#define DDSC_Log_wh_loan_finished_failed(level_,topic_,sn_h_,sn_l_) \
1257
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_WH_LOAN_FINISHED_FAILED,\
1258
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,3,\
1259
"topic=%s,sn_h=%d,sn_l=%d",(topic_),(sn_h_),(sn_l_))
1260
1261
/*ce
1262
* \brief Failed to create route record for DataWriter.
1263
*
1264
* \details The creation of an internal database record failed when creating
1265
* a route from a DataWriter to a DataReader. The failure may have
1266
* been caused by insufficient resources, where
1267
* DataWriterQos.writer_resource_limits.max_remote_readers
1268
* sets the limit of route records for remote DataReaders.
1269
*
1270
* \ingroup DDSCLogCodesClass
1271
*/
1272
#define DDSC_LOG_CREATE_ROUTE_RECORD (DDSC_LOG_BASE + 120)
1273
#define DDSC_Log_create_route_record(level_,dbrc_) \
1274
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_ROUTE_RECORD,\
1275
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1276
"dbrc=%d",(dbrc_))
1277
1278
/*ce
1279
* \brief Failed to insert a database record into a routes table
1280
* \ingroup DDSCLogCodesClass
1281
*/
1282
#define DDSC_LOG_INSERT_ROUTE_RECORD (DDSC_LOG_BASE + 121)
1283
#define DDSC_Log_insert_route_record(level_,dbrc_) \
1284
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSERT_ROUTE_RECORD,\
1285
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1286
"dbrc=%d",(dbrc_))
1287
1288
/*ce
1289
* \brief Failed to add a route
1290
* \ingroup DDSCLogCodesClass
1291
*/
1292
#define DDSC_LOG_UNKNOWN_ROUTE_RECORD (DDSC_LOG_BASE + 122)
1293
#define DDSC_Log_unknown_route_record(level_,dbrc_) \
1294
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_UNKNOWN_ROUTE_RECORD,\
1295
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1296
"dbrc=%d",(dbrc_))
1297
1298
/*ce
1299
* \brief Failed to remove a database record from a route table
1300
* \ingroup DDSCLogCodesClass
1301
*/
1302
#define DDSC_LOG_REMOVE_ROUTE_RECORD (DDSC_LOG_BASE + 123)
1303
#define DDSC_Log_remove_route_record(level_,dbrc_) \
1304
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_REMOVE_ROUTE_RECORD,\
1305
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1306
"dbrc=%d",(dbrc_))
1307
1308
/*ce
1309
* \brief Failed to delete a database record from a route table
1310
* \ingroup DDSCLogCodesClass
1311
*/
1312
#define DDSC_LOG_DELETE_ROUTE_RECORD (DDSC_LOG_BASE + 124)
1313
#define DDSC_Log_delete_route_record(level_,dbrc_) \
1314
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DELETE_ROUTE_RECORD,\
1315
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1316
"dbrc=%d",(dbrc_))
1317
1318
/*ce
1319
* \brief A DataWriter failed to unbind an external interface
1320
* \ingroup DDSCLogCodesClass
1321
*/
1322
#define DDSC_LOG_DW_UNBIND_EXTERNAL (DDSC_LOG_BASE + 125)
1323
#define DDSC_Log_dw_unbind_external(level_) \
1324
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_UNBIND_EXTERNAL,\
1325
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1326
1327
/*ce
1328
* \brief A DataWriter failed to unbind an internal interface
1329
* \ingroup DDSCLogCodesClass
1330
*/
1331
#define DDSC_LOG_DW_UNBIND (DDSC_LOG_BASE + 126)
1332
#define DDSC_Log_dw_unbind(level_) \
1333
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_UNBIND,\
1334
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1335
1336
/*ce
1337
* \brief Did not find a registered Writer History of this name
1338
* \ingroup DDSCLogCodesClass
1339
*/
1340
#define DDSC_LOG_WH_HISTORY_LOOKUP (DDSC_LOG_BASE + 128)
1341
#define DDSC_Log_wh_history_lookup(level_,name_) \
1342
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_WH_HISTORY_LOOKUP,\
1343
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1344
"name=%s",(name_))
1345
1346
/*ce
1347
* \brief Did not find a registered DataWriter Interface of this name
1348
* \ingroup DDSCLogCodesClass
1349
*/
1350
#define DDSC_LOG_DWI_LOOKUP (DDSC_LOG_BASE + 129)
1351
#define DDSC_Log_dwi_lookup(level_,name_) \
1352
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DWI_LOOKUP,\
1353
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1354
"name=%s",(name_))
1355
1356
/*ce
1357
* \brief Did not find a registered RTPS interface of this name
1358
* \ingroup DDSCLogCodesClass
1359
*/
1360
#define DDSC_LOG_RTPS_LOOKUP (DDSC_LOG_BASE + 130)
1361
#define DDSC_Log_rtps_lookup(level_,name_) \
1362
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RTPS_LOOKUP,\
1363
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1364
"name=%s",(name_))
1365
1366
/*ce
1367
* \brief Failed to reclaim resources when finalizing DataWriterQos
1368
* \ingroup DDSCLogCodesClass
1369
*/
1370
#define DDSC_LOG_DW_QOS_FINALIZE (DDSC_LOG_BASE + 131)
1371
#define DDSC_Log_dw_qos_finalize(level_) \
1372
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_QOS_FINALIZE,\
1373
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1374
1375
/*ce
1376
* \brief Failed to initialize DataWriterQos
1377
* \ingroup DDSCLogCodesClass
1378
*/
1379
#define DDSC_LOG_DW_QOS_INITIALIZE (DDSC_LOG_BASE + 132)
1380
#define DDSC_Log_dw_qos_initialize(level_) \
1381
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_QOS_INITIALIZE,\
1382
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1383
1384
/*ce
1385
* \brief DataWriter creation failed due to inconsistent DataWriterQos
1386
* \ingroup DDSCLogCodesClass
1387
*/
1388
#define DDSC_LOG_DW_QOS_INCONSISTENT (DDSC_LOG_BASE + 133)
1389
#define DDSC_Log_dw_qos_inconsistent(level_) \
1390
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_QOS_INCONSISTENT,\
1391
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1392
1393
/*ce
1394
* \brief DataWriter creation failed due to inconsistent listener and status
1395
* mask
1396
* \ingroup DDSCLogCodesClass
1397
*/
1398
#define DDSC_LOG_DW_LISTENER_INCONSISTENT (DDSC_LOG_BASE + 134)
1399
#define DDSC_Log_dw_listener_inconsistent(level_,l_,mask_) \
1400
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_LISTENER_INCONSISTENT,\
1401
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1402
"l=%p,mask=%x",(l_),(mask_))
1403
1404
/*ce
1405
* \brief Failed to copy DataWriterQos
1406
* \ingroup DDSCLogCodesClass
1407
*/
1408
#define DDSC_LOG_DW_QOS_COPY (DDSC_LOG_BASE + 135)
1409
#define DDSC_Log_dw_qos_copy(level_) \
1410
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_QOS_COPY,\
1411
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1412
1413
/*ce
1414
* \brief Out of memory to allocate CDR stream for MD5 hash
1415
* \ingroup DDSCLogCodesClass
1416
*/
1417
#define DDSC_LOG_DW_MD5STREAM_ALLOC (DDSC_LOG_BASE + 136)
1418
#define DDSC_Log_dw_md5stream_alloc(level_,size_) \
1419
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_MD5STREAM_ALLOC,\
1420
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1421
"size=%d",(size_))
1422
1423
/*ce
1424
* \brief Out of memory to allocate pool of CDR samples
1425
* \ingroup DDSCLogCodesClass
1426
*/
1427
#define DDSC_LOG_DW_CDR_POOL_ALLOC (DDSC_LOG_BASE + 137)
1428
#define DDSC_Log_dw_cdr_pool_alloc(level_,size_,count_) \
1429
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_CDR_POOL_ALLOC,\
1430
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1431
"size=%d,count=%d",(size_),(count_))
1432
1433
/*ce
1434
* \brief Failed to create a Writer History for a DataWriter
1435
* \ingroup DDSCLogCodesClass
1436
*/
1437
#define DDSC_LOG_WH_CREATE (DDSC_LOG_BASE + 138)
1438
#define DDSC_Log_wh_create(level_) \
1439
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_WH_CREATE,\
1440
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1441
1442
/*ce
1443
* \brief Failed to create a DataWriter Interface for a DataWriter
1444
* \ingroup DDSCLogCodesClass
1445
*/
1446
#define DDSC_LOG_DWI_CREATE (DDSC_LOG_BASE + 139)
1447
#define DDSC_Log_dwi_create(level_) \
1448
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DWI_CREATE,\
1449
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1450
1451
/*ce
1452
* \brief Failed to create an RTPS interface for a DataWriter or DataReader
1453
* \ingroup DDSCLogCodesClass
1454
*/
1455
#define DDSC_LOG_RTPS_CREATE (DDSC_LOG_BASE + 140)
1456
#define DDSC_Log_rtps_create(level_) \
1457
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RTPS_CREATE,\
1458
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1459
1460
/*ce
1461
* \brief Failed to create keyhash of instance handle
1462
* \ingroup DDSCLogCodesClass
1463
*/
1464
#define DDSC_LOG_DW_KEYHASH_CREATE (DDSC_LOG_BASE + 141)
1465
#define DDSC_Log_dw_keyhash_create(level_) \
1466
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_KEYHASH_CREATE,\
1467
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1468
1469
/*ce
1470
* \brief Failed a write due to an invalid key kind for the type being written
1471
* \ingroup DDSCLogCodesClass
1472
*/
1473
#define DDSC_LOG_DW_ILLEGAL_KEY_KIND (DDSC_LOG_BASE + 142)
1474
#define DDSC_Log_dw_illegal_key_kind(level_,kind_) \
1475
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_ILLEGAL_KEY_KIND,\
1476
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1477
"kind=%d",(kind_))
1478
1479
/*ce
1480
* \brief Exceeded resource limits for writer history queue.
1481
*
1482
* \details A DataWriter failed to get a queue entry for a new sample it is
1483
* attempting to send, due to exceeding a limit:
1484
* - When the sample is for new instance,
1485
* DataWriterQos.resource_limits.max_instances may have been exceeded.
1486
* - When the sample is for an existing instance, and History kind is
1487
* KEEP_ALL, DataWriterQos.resource_limits.max_samples_per_instance
1488
* may have been exceeded.
1489
* - The limit on the total number of samples in the queue,
1490
* DataWriterQos.resource_limits.max_samples, may have been exceeded.
1491
*
1492
* \ingroup DDSCLogCodesClass
1493
*/
1494
#define DDSC_LOG_DW_HISTORY_RESOURCES_EXCEEDED (DDSC_LOG_BASE + 143)
1495
#define DDSC_Log_dw_history_resources_exceeded(level_) \
1496
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_HISTORY_RESOURCES_EXCEEDED,\
1497
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1498
1499
/*ce
1500
* \brief Failed to get resource for new sample due to resource limit.
1501
*
1502
* \details A DataWriter failed to get a buffer for a new sample being written
1503
* because the limit DataWriterQos.resource_limits.max_samples was
1504
* exceeded.
1505
*
1506
* \ingroup DDSCLogCodesClass
1507
*/
1508
#define DDSC_LOG_DW_SAMPLE_RESOURCES_EXCEEDED (DDSC_LOG_BASE + 144)
1509
#define DDSC_Log_dw_sample_resources_exceeded(level_) \
1510
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_SAMPLE_RESOURCES_EXCEEDED,\
1511
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1512
1513
/*ce
1514
* \brief Failed to initialize a packet
1515
* \ingroup DDSCLogCodesClass
1516
*/
1517
#define DDSC_LOG_DW_PACKET_INIT (DDSC_LOG_BASE + 145)
1518
#define DDSC_Log_dw_packet_init(level_) \
1519
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_PACKET_INIT,\
1520
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1521
1522
/*ce
1523
* \brief Failed to set the head of a packet
1524
* \ingroup DDSCLogCodesClass
1525
*/
1526
#define DDSC_LOG_DW_PACKET_SET_HEAD (DDSC_LOG_BASE + 146)
1527
#define DDSC_Log_dw_packet_set_head(level_,adjust_) \
1528
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_PACKET_SET_HEAD,\
1529
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1530
"adjust=%d",(adjust_))
1531
1532
/*ce
1533
* \brief Failed to set the buffer for a packet
1534
* \ingroup DDSCLogCodesClass
1535
*/
1536
#define DDSC_LOG_DW_CDR_BUFFER_SET (DDSC_LOG_BASE + 147)
1537
#define DDSC_Log_dw_cdr_buffer_set(level_,stream_,buf_,length_) \
1538
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_CDR_BUFFER_SET,\
1539
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,3,\
1540
"stream=%p,buf=%p,length=%d",(stream_),(buf_),(length_))
1541
1542
/*ce
1543
* \brief Failed serializing a parameter ID
1544
* \ingroup DDSCLogCodesClass
1545
*/
1546
#define DDSC_LOG_DW_CDR_SERIALIZE_PID (DDSC_LOG_BASE + 148)
1547
#define DDSC_Log_dw_cdr_serialize_pid(level_,pid_) \
1548
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_CDR_SERIALIZE_PID,\
1549
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1550
"pid=%d",(pid_))
1551
1552
/*ce
1553
* \brief Failed serializing a parameter length
1554
* \ingroup DDSCLogCodesClass
1555
*/
1556
#define DDSC_LOG_DW_CDR_SERIALIZE_PID_LEN (DDSC_LOG_BASE + 149)
1557
#define DDSC_Log_dw_cdr_serialize_pid_len(level_,length_) \
1558
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_CDR_SERIALIZE_PID_LEN,\
1559
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1560
"length=%d",(length_))
1561
1562
/*ce
1563
* \brief Failed serializing a key-hash
1564
* \ingroup DDSCLogCodesClass
1565
*/
1566
#define DDSC_LOG_DW_CDR_SERIALIZE_KEYHASH (DDSC_LOG_BASE + 150)
1567
#define DDSC_Log_dw_cdr_serialize_keyhash(level_,length_) \
1568
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_CDR_SERIALIZE_KEYHASH,\
1569
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1570
"length=%d",(length_))
1571
1572
/*ce
1573
* \brief Failed to serialize payload data
1574
* \ingroup DDSCLogCodesClass
1575
*/
1576
#define DDSC_LOG_DW_CDR_SERIALIZE_DATA (DDSC_LOG_BASE + 151)
1577
#define DDSC_Log_dw_cdr_serialize_data(level_) \
1578
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_CDR_SERIALIZE_DATA,\
1579
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1580
1581
/*ce
1582
* \brief Failed to set the tail of a packet
1583
* \ingroup DDSCLogCodesClass
1584
*/
1585
#define DDSC_LOG_DW_PACKET_SET_TAIL (DDSC_LOG_BASE + 152)
1586
#define DDSC_Log_dw_packet_set_tail(level_,adjust_) \
1587
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_PACKET_SET_TAIL,\
1588
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1589
"adjust=%d",(adjust_))
1590
1591
/*ce
1592
* \brief DataWriterQos contains inconsistent DeadlineQos
1593
* \ingroup DDSCLogCodesClass
1594
*/
1595
#define DDSC_LOG_DW_INCONSISTENT_DEADLINE (DDSC_LOG_BASE + 153)
1596
#define DDSC_Log_dw_inconsistent_deadline(level_) \
1597
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_DEADLINE,\
1598
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1599
1600
/*ce
1601
* \brief DataWriterQos contains inconsistent LivelinessQos
1602
* \ingroup DDSCLogCodesClass
1603
*/
1604
#define DDSC_LOG_DW_INCONSISTENT_LIVELINESS (DDSC_LOG_BASE + 154)
1605
#define DDSC_Log_dw_inconsistent_liveliness(level_) \
1606
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_LIVELINESS,\
1607
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1608
1609
/*ce
1610
* \brief DataWriterQos contains inconsistent HistoryQos
1611
* \ingroup DDSCLogCodesClass
1612
*/
1613
#define DDSC_LOG_DW_INCONSISTENT_HISTORY (DDSC_LOG_BASE + 155)
1614
#define DDSC_Log_dw_inconsistent_history(level_) \
1615
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_HISTORY,\
1616
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1617
1618
/*ce
1619
* \brief Invalid value(s) for DataWriterQos resource_limits.
1620
*
1621
* \details An invalid value has been set for a limit of
1622
* DataWriterQos.resource_limits. Each limit must be positive and
1623
* finite.
1624
*
1625
* \ingroup DDSCLogCodesClass
1626
*/
1627
#define DDSC_LOG_DW_INCONSISTENT_RESOURCE_LIMIT (DDSC_LOG_BASE + 156)
1628
#define DDSC_Log_dw_inconsistent_resource_limit(level_) \
1629
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_RESOURCE_LIMIT,\
1630
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1631
1632
/*ce
1633
* \brief DataWriterQos contains inconsistent DataWriterProtocolQos
1634
* \ingroup DDSCLogCodesClass
1635
*/
1636
#define DDSC_LOG_DW_INCONSISTENT_PROTOCOL (DDSC_LOG_BASE + 157)
1637
#define DDSC_Log_dw_inconsistent_protocol(level_) \
1638
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_PROTOCOL,\
1639
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1640
1641
/*ce
1642
* \brief DataWriterQos contains inconsistent TypeSupportQos
1643
* \ingroup DDSCLogCodesClass
1644
*/
1645
#define DDSC_LOG_DW_INCONSISTENT_TYPE_SUPPORT (DDSC_LOG_BASE + 158)
1646
#define DDSC_Log_dw_inconsistent_type_support(level_) \
1647
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_TYPE_SUPPORT,\
1648
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1649
1650
/*ce
1651
* \brief DataWriterQos contains inconsistent ReliabilityQos
1652
* \ingroup DDSCLogCodesClass
1653
*/
1654
#define DDSC_LOG_DW_INCONSISTENT_RELIABILITY (DDSC_LOG_BASE + 159)
1655
#define DDSC_Log_dw_inconsistent_reliability(level_) \
1656
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_RELIABILITY,\
1657
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1658
1659
/*ce
1660
* \brief DataWriterQos contains inconsistent DurabilityQos
1661
* \ingroup DDSCLogCodesClass
1662
*/
1663
#define DDSC_LOG_DW_INCONSISTENT_DURABILITY (DDSC_LOG_BASE + 160)
1664
#define DDSC_Log_dw_inconsistent_durability(level_) \
1665
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_DURABILITY,\
1666
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1667
1668
/*ce
1669
* \brief DataWriterQos contains inconsistent OwnershipQos
1670
* \ingroup DDSCLogCodesClass
1671
*/
1672
#define DDSC_LOG_DW_INCONSISTENT_OWNERSHIP (DDSC_LOG_BASE + 161)
1673
#define DDSC_Log_dw_inconsistent_ownership(level_) \
1674
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_OWNERSHIP,\
1675
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1676
1677
/*ce
1678
* \brief DataWriterQos contains inconsistent OwnershipStrengthQos
1679
* \ingroup DDSCLogCodesClass
1680
*/
1681
#define DDSC_LOG_DW_INCONSISTENT_OWNERSHIP_STRENGTH (DDSC_LOG_BASE + 162)
1682
#define DDSC_Log_dw_inconsistent_ownership_strength(level_) \
1683
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_OWNERSHIP_STRENGTH,\
1684
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1685
1686
/*ce
1687
* \brief DataWriterQos contains inconsistent Qos related to RTPS Heartbeats
1688
* \details When configured for reliable communication,
1689
* heartbeats_per_max_samples must be fit within max_samples
1690
* \ingroup DDSCLogCodesClass
1691
*/
1692
#define DDSC_LOG_DW_INCONSISTENT_HEARTBEATS (DDSC_LOG_BASE + 164)
1693
#define DDSC_Log_dw_inconsistent_heartbeats(level_) \
1694
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_HEARTBEATS,\
1695
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1696
1697
/*ce
1698
* \brief Invalid value(s) for DataWriterQos writer_resource_limits
1699
*
1700
* \details An invalid value has been set for a limit of
1701
* DataWriterQos.writer_resource_limits. Each value must be positive
1702
* and finite.
1703
* May be logged by Discovery writers with no initial_peers set.
1704
*
1705
* \ingroup DDSCLogCodesClass
1706
*/
1707
#define DDSC_LOG_DW_INCONSISTENT_W_RESOURCE (DDSC_LOG_BASE + 165)
1708
#define DDSC_Log_dw_inconsistent_w_resource(level_) \
1709
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_INCONSISTENT_W_RESOURCE,\
1710
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1711
1712
/*ce
1713
* \brief Failed to select a database record of a DataWriter
1714
* \ingroup DDSCLogCodesClass
1715
*/
1716
#define DDSC_LOG_PUB_SELECT_WRITER (DDSC_LOG_BASE + 166)
1717
#define DDSC_Log_pub_select_writer(level_,dbrc_) \
1718
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_SELECT_WRITER,\
1719
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1720
"dbrc=%d",(dbrc_))
1721
1722
/*ce
1723
* \brief Failed to enable a DataWriter
1724
* \ingroup DDSCLogCodesClass
1725
*/
1726
#define DDSC_LOG_PUB_ENABLE_WRITER (DDSC_LOG_BASE + 167)
1727
#define DDSC_Log_pub_enable_writer(level_) \
1728
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_ENABLE_WRITER,\
1729
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1730
1731
/*ce
1732
* \brief Failed to create local writer record.
1733
*
1734
* \details The creation of an internal database record failed when creating
1735
* a DataWriter. The failure may have been caused by
1736
* insufficient resources, where
1737
* DomainParticipantQos.resource_limits.local_writer_allocation
1738
* limits the number of DataWriter records.
1739
*
1740
* \ingroup DDSCLogCodesClass
1741
*/
1742
#define DDSC_LOG_PUB_CREATE_WRITER_RECORD (DDSC_LOG_BASE + 168)
1743
#define DDSC_Log_pub_create_writer_record(level_,dbrc_) \
1744
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_CREATE_WRITER_RECORD,\
1745
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1746
"dbrc=%d",(dbrc_))
1747
1748
/*ce
1749
* \brief Failed to insert a database record of a DataWriter
1750
* \ingroup DDSCLogCodesClass
1751
*/
1752
#define DDSC_LOG_PUB_INSERT_WRITER_RECORD (DDSC_LOG_BASE + 169)
1753
#define DDSC_Log_pub_insert_writer_record(level_,dbrc_) \
1754
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_INSERT_WRITER_RECORD,\
1755
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1756
"dbrc=%d",(dbrc_))
1757
1758
/*ce
1759
* \brief Failed to delete a database record of a DataWriter
1760
* \ingroup DDSCLogCodesClass
1761
*/
1762
#define DDSC_LOG_PUB_DELETE_WRITER_RECORD (DDSC_LOG_BASE + 170)
1763
#define DDSC_Log_pub_delete_writer_record(level_,dbrc_) \
1764
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_DELETE_WRITER_RECORD,\
1765
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1766
"dbrc=%d",(dbrc_))
1767
1768
/*ce
1769
* \brief Failed to create a Publisher due to inconsistent PublisherQos
1770
* \ingroup DDSCLogCodesClass
1771
*/
1772
#define DDSC_LOG_PUB_QOS_INCONSISTENT (DDSC_LOG_BASE + 171)
1773
#define DDSC_Log_pub_qos_inconsistent(level_) \
1774
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_QOS_INCONSISTENT,\
1775
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1776
1777
/*ce
1778
* \brief Cannot delete a Publisher containing non-zero DataWriters
1779
* \ingroup DDSCLogCodesClass
1780
*/
1781
#define DDSC_LOG_PUB_CONTAINS_DATAWRITERS (DDSC_LOG_BASE + 172)
1782
#define DDSC_Log_pub_contains_datawriters(level_,count_) \
1783
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_CONTAINS_DATAWRITERS,\
1784
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1785
"count=%d",(count_))
1786
1787
/*ce
1788
* \brief Failed to create a Publisher due to inconsistent listener and status
1789
* mask
1790
* \ingroup DDSCLogCodesClass
1791
*/
1792
#define DDSC_LOG_PUB_LISTENER_INCONSISTENT (DDSC_LOG_BASE + 173)
1793
#define DDSC_Log_pub_listener_inconsistent(level_,l_,mask_) \
1794
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_LISTENER_INCONSISTENT,\
1795
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1796
"l=%p,mask=%x",(l_),(mask_))
1797
1798
/*ce
1799
* \brief Failed to set the listener for a Publisher
1800
* \ingroup DDSCLogCodesClass
1801
*/
1802
#define DDSC_LOG_PUB_SET_LISTENER (DDSC_LOG_BASE + 174)
1803
#define DDSC_Log_pub_set_listener(level_,l_,mask_) \
1804
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_SET_LISTENER,\
1805
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1806
"l=%p,mask=%x",(l_),(mask_))
1807
1808
/*ce
1809
* \brief Failed to copy a sample upon reception, read, or take
1810
* \ingroup DDSCLogCodesClass
1811
*/
1812
#define DDSC_LOG_DR_COPY_DATA_SAMPLE (DDSC_LOG_BASE + 175)
1813
#define DDSC_Log_dr_copy_data_sample(level_) \
1814
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_COPY_DATA_SAMPLE,\
1815
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1816
1817
/*ce
1818
* \brief Failed to commit a sample to be available to be read or taken
1819
* \ingroup DDSCLogCodesClass
1820
*/
1821
#define DDSC_LOG_DR_COMMIT_SAMPLE (DDSC_LOG_BASE + 176)
1822
#define DDSC_Log_dr_commit_sample(level_,sn_high_,sn_low_,rc_) \
1823
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_COMMIT_SAMPLE,\
1824
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,3,\
1825
"sn_high=%d,sn_low=%d,rc=%d",(sn_high_),(sn_low_),(rc_))
1826
1827
/*ce
1828
* \brief DataReader failed to get the current time
1829
* \ingroup DDSCLogCodesClass
1830
*/
1831
#define DDSC_LOG_DR_GETTIME_FAILED (DDSC_LOG_BASE + 177)
1832
#define DDSC_Log_dr_gettime_failed(level_) \
1833
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_GETTIME_FAILED,\
1834
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1835
1836
/*ce
1837
* \brief Failed to find a registered Reader History with this name
1838
* \ingroup DDSCLogCodesClass
1839
*/
1840
#define DDSC_LOG_RH_LOOKUP (DDSC_LOG_BASE + 178)
1841
#define DDSC_Log_rh_lookup(level_,name_) \
1842
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RH_LOOKUP,\
1843
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1844
"name=%s",(name_))
1845
1846
/*ce
1847
* \brief Failed to find a registerd DataReader Interface with this name
1848
* \ingroup DDSCLogCodesClass
1849
*/
1850
#define DDSC_LOG_DRI_LOOKUP (DDSC_LOG_BASE + 179)
1851
#define DDSC_Log_dri_lookup(level_,name_) \
1852
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DRI_LOOKUP,\
1853
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1854
"name=%s",(name_))
1855
1856
/*ce
1857
* \brief Failed DataReader creation due to inconsistent DataReaderQos
1858
* \ingroup DDSCLogCodesClass
1859
*/
1860
#define DDSC_LOG_DR_QOS_INCONSISTENT (DDSC_LOG_BASE + 180)
1861
#define DDSC_Log_dr_qos_inconsistent(level_) \
1862
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_QOS_INCONSISTENT,\
1863
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1864
1865
/*ce
1866
* \brief Failed DataReader creation due to inconsistent listener and status
1867
* mask parameters
1868
* \ingroup DDSCLogCodesClass
1869
*/
1870
#define DDSC_LOG_DR_LISTENER_INCONSISTENT (DDSC_LOG_BASE + 181)
1871
#define DDSC_Log_dr_listener_inconsistent(level_,l_,mask_) \
1872
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_LISTENER_INCONSISTENT,\
1873
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1874
"l=%p,mask=%x",(l_),(mask_))
1875
1876
/*ce
1877
* \brief Failed to initialize DataReaderQos
1878
* \ingroup DDSCLogCodesClass
1879
*/
1880
#define DDSC_LOG_DR_QOS_INITIALIZE (DDSC_LOG_BASE + 182)
1881
#define DDSC_Log_dr_qos_initialize(level_) \
1882
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_QOS_INITIALIZE,\
1883
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1884
1885
/*ce
1886
* \brief Failed to copy DataReaderQos
1887
* \ingroup DDSCLogCodesClass
1888
*/
1889
#define DDSC_LOG_DR_QOS_COPY (DDSC_LOG_BASE + 183)
1890
#define DDSC_Log_dr_qos_copy(level_) \
1891
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_QOS_COPY,\
1892
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1893
1894
/*ce
1895
* \brief Failed to narrow a TopicDescription to the named Topic
1896
* \ingroup DDSCLogCodesClass
1897
*/
1898
#define DDSC_LOG_TOPIC_NARROW (DDSC_LOG_BASE + 184)
1899
#define DDSC_Log_topic_narrow(level_,topic_) \
1900
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_NARROW,\
1901
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1902
"topic=%s",(topic_))
1903
1904
/*ce
1905
* \brief Out of memory to allocate CDR sample pool
1906
* \ingroup DDSCLogCodesClass
1907
*/
1908
#define DDSC_LOG_DR_CDR_POOL_ALLOC (DDSC_LOG_BASE + 185)
1909
#define DDSC_Log_dr_cdr_pool_alloc(level_,size_,count_) \
1910
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_CDR_POOL_ALLOC,\
1911
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
1912
"size=%d,count=%d",(size_),(count_))
1913
1914
/*ce
1915
* \brief Failed to create a Reader History for a DataReader
1916
* \ingroup DDSCLogCodesClass
1917
*/
1918
#define DDSC_LOG_RH_CREATE (DDSC_LOG_BASE + 186)
1919
#define DDSC_Log_rh_create(level_) \
1920
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RH_CREATE,\
1921
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1922
1923
/*ce
1924
* \brief Failed to create a DataReader Interface for a DataReader
1925
* \ingroup DDSCLogCodesClass
1926
*/
1927
#define DDSC_LOG_DRI_CREATE (DDSC_LOG_BASE + 187)
1928
#define DDSC_Log_dri_create(level_) \
1929
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DRI_CREATE,\
1930
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1931
1932
/*ce
1933
* \brief Failed to deserialize a key-hash parameter
1934
* \ingroup DDSCLogCodesClass
1935
*/
1936
#define DDSC_LOG_DR_DESERIALIZE_KEYHASH (DDSC_LOG_BASE + 189)
1937
#define DDSC_Log_dr_deserialize_keyhash(level_) \
1938
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_DESERIALIZE_KEYHASH,\
1939
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1940
1941
/*ce
1942
* \brief Failed to set the buffer of a received packet
1943
* \ingroup DDSCLogCodesClass
1944
*/
1945
#define DDSC_LOG_DR_CDR_SET_BUFFER (DDSC_LOG_BASE + 190)
1946
#define DDSC_Log_dr_cdr_set_buffer(level_,stream_,buf_,length_) \
1947
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_CDR_SET_BUFFER,\
1948
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,3,\
1949
"stream=%p,buf=%p,length=%d",(stream_),(buf_),(length_))
1950
1951
/*ce
1952
* \brief Failed to deserialize the ID of an inline parameter
1953
* \ingroup DDSCLogCodesClass
1954
*/
1955
#define DDSC_LOG_DR_CDR_DESERIALIZE_PID (DDSC_LOG_BASE + 191)
1956
#define DDSC_Log_dr_cdr_deserialize_pid(level_) \
1957
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_CDR_DESERIALIZE_PID,\
1958
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
1959
1960
/*ce
1961
* \brief Failed to deserialize the length of an inline parameter
1962
* \ingroup DDSCLogCodesClass
1963
*/
1964
#define DDSC_LOG_DR_CDR_DESERIALIZE_PID_LENGTH (DDSC_LOG_BASE + 192)
1965
#define DDSC_Log_dr_cdr_deserialize_pid_length(level_,pid_) \
1966
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_CDR_DESERIALIZE_PID_LENGTH,\
1967
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1968
"pid=%d",(pid_))
1969
1970
/*ce
1971
* \brief Failed to increment to the position of the next inline parameter
1972
* \ingroup DDSCLogCodesClass
1973
*/
1974
#define DDSC_LOG_DR_CDR_INCREMENT_POS (DDSC_LOG_BASE + 193)
1975
#define DDSC_Log_dr_cdr_increment_pos(level_,adjust_) \
1976
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_CDR_INCREMENT_POS,\
1977
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1978
"adjust=%d",(adjust_))
1979
1980
/*ce
1981
* \brief Failed to set the reception stream position
1982
* \ingroup DDSCLogCodesClass
1983
*/
1984
#define DDSC_LOG_DR_CDR_SET_POS (DDSC_LOG_BASE + 194)
1985
#define DDSC_Log_dr_cdr_set_pos(level_,pos_) \
1986
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_CDR_SET_POS,\
1987
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
1988
"pos=%d",(pos_))
1989
1990
/*ce
1991
* \brief Exceeded DataReaderQos.resource_limits.max_samples
1992
*
1993
* \details A DataReader failed in getting a buffer for a newly received sample
1994
* because DataReaderQos.resource_limits.max_samples was exceeded.
1995
*
1996
* \ingroup DDSCLogCodesClass
1997
*/
1998
#define DDSC_LOG_DR_SAMPLE_RESOURCES_EXCEEDED (DDSC_LOG_BASE + 195)
1999
#define DDSC_Log_dr_sample_resources_exceeded(level_) \
2000
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_SAMPLE_RESOURCES_EXCEEDED,\
2001
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2002
2003
/*ce
2004
* \brief Failed to deserialize the data encapsulation header
2005
* \ingroup DDSCLogCodesClass
2006
*/
2007
#define DDSC_LOG_CDR_DESERIALIZE_HEADER (DDSC_LOG_BASE + 196)
2008
#define DDSC_Log_cdr_deserialize_header(level_) \
2009
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CDR_DESERIALIZE_HEADER,\
2010
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2011
2012
/*ce
2013
* \brief Failed to deserialize payload data
2014
* \ingroup DDSCLogCodesClass
2015
*/
2016
#define DDSC_LOG_DR_CDR_DESERIALIZE_DATA (DDSC_LOG_BASE + 197)
2017
#define DDSC_Log_dr_cdr_deserialize_data(level_) \
2018
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_CDR_DESERIALIZE_DATA,\
2019
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2020
2021
/*ce
2022
* \brief Failed to get a Reader History entry for a received sample
2023
* \ingroup DDSCLogCodesClass
2024
*/
2025
#define DDSC_LOG_DR_GET_ENTRY_FAILED (DDSC_LOG_BASE + 198)
2026
#define DDSC_Log_dr_get_entry_failed(level_,reason_) \
2027
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_GET_ENTRY_FAILED,\
2028
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"reason=%d",(reason_))
2029
2030
/*ce
2031
* \brief Failed to commit a receive sample to Reader History to be read or
2032
* taken
2033
* \ingroup DDSCLogCodesClass
2034
*/
2035
#define DDSC_LOG_DR_COMMIT_ENTRY (DDSC_LOG_BASE + 199)
2036
#define DDSC_Log_dr_commit_entry(level_,_,sn_low_) \
2037
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_COMMIT_ENTRY,\
2038
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
2039
"=sn_high=%d,sn_low=%d",(_),(sn_low_))
2040
2041
/*ce
2042
* \brief A DataReader failed to unregister an instance
2043
* \ingroup DDSCLogCodesClass
2044
*/
2045
#define DDSC_LOG_DR_UNREGISTER_KEY (DDSC_LOG_BASE + 200)
2046
#define DDSC_Log_dr_unregister_key(level_) \
2047
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_UNREGISTER_KEY,\
2048
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2049
2050
/*ce
2051
* \brief A DataReader failed to dispose an instance
2052
* \ingroup DDSCLogCodesClass
2053
*/
2054
#define DDSC_LOG_DR_DISPOSE_KEY (DDSC_LOG_BASE + 201)
2055
#define DDSC_Log_dr_dispose_key(level_) \
2056
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_DISPOSE_KEY,\
2057
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2058
2059
/*ce
2060
* \brief DataReaderQos contains inconsistent DeadlineQos
2061
* \ingroup DDSCLogCodesClass
2062
*/
2063
#define DDSC_LOG_DR_INCONSISTENT_DEADLINE (DDSC_LOG_BASE + 202)
2064
#define DDSC_Log_dr_inconsistent_deadline(level_) \
2065
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_DEADLINE,\
2066
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2067
2068
/*ce
2069
* \brief DataReaderQos contains inconsistent LivelinessQos
2070
* \ingroup DDSCLogCodesClass
2071
*/
2072
#define DDSC_LOG_DR_INCONSISTENT_LIVELINESS (DDSC_LOG_BASE + 203)
2073
#define DDSC_Log_dr_inconsistent_liveliness(level_) \
2074
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_LIVELINESS,\
2075
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2076
2077
/*ce
2078
* \brief DataReaderQos contains inconsistent HistoryQos
2079
* \ingroup DDSCLogCodesClass
2080
*/
2081
#define DDSC_LOG_DR_INCONSISTENT_HISTORY (DDSC_LOG_BASE + 204)
2082
#define DDSC_Log_dr_inconsistent_history(level_) \
2083
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_HISTORY,\
2084
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2085
2086
/*ce
2087
* \brief Invalid value(s) for DataReaderQos resource_limits
2088
* \ingroup DDSCLogCodesClass
2089
*/
2090
#define DDSC_LOG_DR_INCONSISTENT_RESOURCE_LIMITS (DDSC_LOG_BASE + 205)
2091
#define DDSC_Log_dr_inconsistent_resource_limits(level_) \
2092
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_RESOURCE_LIMITS,\
2093
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2094
2095
/*ce
2096
* \brief DataReaderQos contains inconsistent OwnershipQos
2097
* \ingroup DDSCLogCodesClass
2098
*/
2099
#define DDSC_LOG_DR_INCONSISTENT_OWNERSHIP (DDSC_LOG_BASE + 206)
2100
#define DDSC_Log_dr_inconsistent_ownership(level_) \
2101
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_OWNERSHIP,\
2102
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2103
2104
/*ce
2105
* \brief DataReaderQos contains inconsistent Time-Based Filter settings
2106
* \ingroup DDSCLogCodesClass
2107
*/
2108
#define DDSC_LOG_DR_INCONSISTENT_TIMEBASED_FILTER (DDSC_LOG_BASE + 207)
2109
#define DDSC_Log_dr_inconsistent_timebased_filter(level_) \
2110
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_TIMEBASED_FILTER,\
2111
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2112
2113
/*ce
2114
* \brief DataReaderQos contains inconsistent TypeSupportQos
2115
* \ingroup DDSCLogCodesClass
2116
*/
2117
#define DDSC_LOG_DR_INCONSISTENT_TYPE_SUPPORT (DDSC_LOG_BASE + 208)
2118
#define DDSC_Log_dr_inconsistent_type_support(level_) \
2119
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_TYPE_SUPPORT,\
2120
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2121
2122
/*ce
2123
* \brief DataReaderQos contains inconsistent ReliabilityQos
2124
* \ingroup DDSCLogCodesClass
2125
*/
2126
#define DDSC_LOG_DR_INCONSISTENT_RELIABILITY (DDSC_LOG_BASE + 210)
2127
#define DDSC_Log_dr_inconsistent_reliability(level_) \
2128
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_RELIABILITY,\
2129
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2130
2131
/*ce
2132
* \brief DataReaderQos contains inconsistent DurabilityQos
2133
* \ingroup DDSCLogCodesClass
2134
*/
2135
#define DDSC_LOG_DR_INCONSISTENT_DURABILITY (DDSC_LOG_BASE + 211)
2136
#define DDSC_Log_dr_inconsistent_durability(level_) \
2137
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_DURABILITY,\
2138
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2139
2140
/*ce
2141
* \brief DataReaderQos contains inconsistent TransportQos
2142
* \ingroup DDSCLogCodesClass
2143
*/
2144
#define DDSC_LOG_DR_INCONSISTENT_TRANSPORT (DDSC_LOG_BASE + 212)
2145
#define DDSC_Log_dr_inconsistent_transport(level_) \
2146
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_TRANSPORT,\
2147
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2148
2149
/*ce
2150
* \brief DataReaderQos contains inconsistent Time-Based Filter and DeadlineQos
2151
* settings
2152
* \ingroup DDSCLogCodesClass
2153
*/
2154
#define DDSC_LOG_DR_INCONSISTENT_TBF_DEADLINE (DDSC_LOG_BASE + 213)
2155
#define DDSC_Log_dr_inconsistent_tbf_deadline(level_) \
2156
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_INCONSISTENT_TBF_DEADLINE,\
2157
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2158
2159
/*ce
2160
* \brief Failed to select a database record of a DataReader
2161
* \ingroup DDSCLogCodesClass
2162
*/
2163
#define DDSC_LOG_SUB_SELECT_READER (DDSC_LOG_BASE + 214)
2164
#define DDSC_Log_sub_select_reader(level_,dbrc_) \
2165
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_SELECT_READER,\
2166
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2167
"dbrc=%d",(dbrc_))
2168
2169
/*ce
2170
* \brief Failed to enable a DataReader
2171
* \ingroup DDSCLogCodesClass
2172
*/
2173
#define DDSC_LOG_SUB_ENABLE_READER (DDSC_LOG_BASE + 215)
2174
#define DDSC_Log_sub_enable_reader(level_) \
2175
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_ENABLE_READER,\
2176
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2177
2178
/*ce
2179
* \brief Failed to create local reader record.
2180
*
2181
* \details The creation of an internal database record failed when creating
2182
* a DataReader. The failure may have been caused by
2183
* insufficient resources, where
2184
* DomainParticipantQos.resource_limits.local_reader_allocation
2185
* limits the number of DataReader records.
2186
*
2187
* \ingroup DDSCLogCodesClass
2188
*/
2189
#define DDSC_LOG_SUB_CREATE_READER_RECORD (DDSC_LOG_BASE + 216)
2190
#define DDSC_Log_sub_create_reader_record(level_,dbrc_) \
2191
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_CREATE_READER_RECORD,\
2192
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2193
"dbrc=%d",(dbrc_))
2194
2195
/*ce
2196
* \brief Failed to insert a database record of a DataReader
2197
* \ingroup DDSCLogCodesClass
2198
*/
2199
#define DDSC_LOG_SUB_INSERT_READER_RECORD (DDSC_LOG_BASE + 217)
2200
#define DDSC_Log_sub_insert_reader_record(level_,dbrc_) \
2201
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_INSERT_READER_RECORD,\
2202
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2203
"dbrc=%d",(dbrc_))
2204
2205
/*ce
2206
* \brief Failed to delete a database record of a DataReader
2207
* \ingroup DDSCLogCodesClass
2208
*/
2209
#define DDSC_LOG_SUB_DELETE_READER_RECORD (DDSC_LOG_BASE + 218)
2210
#define DDSC_Log_sub_delete_reader_record(level_,dbrc_) \
2211
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_DELETE_READER_RECORD,\
2212
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2213
"dbrc=%d",(dbrc_))
2214
2215
/*ce
2216
* \brief Failed to create a Subscriber due to inconsistent SubscriberQos
2217
* \ingroup DDSCLogCodesClass
2218
*/
2219
#define DDSC_LOG_SUB_QOS_INCONSISTENT (DDSC_LOG_BASE + 219)
2220
#define DDSC_Log_sub_qos_inconsistent(level_) \
2221
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_QOS_INCONSISTENT,\
2222
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2223
2224
/*ce
2225
* \brief Cannot delete a Subscriber containing non-zero DataReaders
2226
* \ingroup DDSCLogCodesClass
2227
*/
2228
#define DDSC_LOG_SUB_CONTAINS_DATAREADERS (DDSC_LOG_BASE + 220)
2229
#define DDSC_Log_sub_contains_datareaders(level_,count_) \
2230
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_CONTAINS_DATAREADERS,\
2231
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2232
"count=%d",(count_))
2233
2234
/*ce
2235
* \brief Failed to finalize DataReaderQos
2236
* \ingroup DDSCLogCodesClass
2237
*/
2238
#define DDSC_LOG_DR_QOS_FINALIZE (DDSC_LOG_BASE + 221)
2239
#define DDSC_Log_dr_qos_finalize(level_) \
2240
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_QOS_FINALIZE,\
2241
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2242
2243
/*ce
2244
* \brief Failed to set Subscriber listener due to inconsistent listener and
2245
* status mask parameters
2246
* \ingroup DDSCLogCodesClass
2247
*/
2248
#define DDSC_LOG_SUB_LISTENER_INCONSISTENT (DDSC_LOG_BASE + 222)
2249
#define DDSC_Log_sub_listener_inconsistent(level_,l_,mask_) \
2250
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_LISTENER_INCONSISTENT,\
2251
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
2252
"l=%p,mask=%x",(l_),(mask_))
2253
2254
/*ce
2255
* \brief Failed to set Subscriber listener due to inconsistent listener and
2256
* status mask parameters
2257
* \ingroup DDSCLogCodesClass
2258
*/
2259
#define DDSC_LOG_SUB_SET_LISTENER (DDSC_LOG_BASE + 223)
2260
#define DDSC_Log_sub_set_listener(level_,l_,mask_) \
2261
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_SET_LISTENER,\
2262
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
2263
"l=%p,mask=%x",(l_),(mask_))
2264
2265
/*ce
2266
* \brief Failed to set Topic listener due to inconsistent listener and
2267
* status mask parameters
2268
* \ingroup DDSCLogCodesClass
2269
*/
2270
#define DDSC_LOG_TOPIC_LISTENER_INCONSISTENT (DDSC_LOG_BASE + 224)
2271
#define DDSC_Log_topic_listener_inconsistent(level_,l_,mask_) \
2272
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_LISTENER_INCONSISTENT,\
2273
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
2274
"l=%p,mask=%x",(l_),(mask_))
2275
2276
/*ce
2277
* \brief Inconsistent Topics due to different Topic names
2278
* \ingroup DDSCLogCodesClass
2279
*/
2280
#define DDSC_LOG_TOPIC_NAME_CMP (DDSC_LOG_BASE + 225)
2281
#define DDSC_Log_topic_name_cmp(level_,left_,right_) \
2282
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_NAME_CMP,\
2283
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
2284
"left=%,right=%s",(left_),(right_))
2285
2286
/*ce
2287
* \brief Inconsistent Topics due to different types
2288
* \ingroup DDSCLogCodesClass
2289
*/
2290
#define DDSC_LOG_TYPE_NAME_CMP (DDSC_LOG_BASE + 226)
2291
#define DDSC_Log_type_name_cmp(level_,left_,right_) \
2292
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_NAME_CMP,\
2293
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
2294
"left=%,right=%s",(left_),(right_))
2295
2296
/*ce
2297
* \brief Failed to create Topic due to inconsistent TopicQos
2298
* \ingroup DDSCLogCodesClass
2299
*/
2300
#define DDSC_LOG_TOPIC_QOS_INCONSISTENT (DDSC_LOG_BASE + 227)
2301
#define DDSC_Log_topic_qos_inconsistent(level_) \
2302
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_QOS_INCONSISTENT,\
2303
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2304
2305
/*ce
2306
* \brief Invalid type plugin, where get_serialized_sample_max_size is NULL
2307
* \ingroup DDSCLogCodesClass
2308
*/
2309
#define DDSC_LOG_TYPE_GET_SERIALIZED_SAMPLE_MAX_SIZE_NULL (DDSC_LOG_BASE+228)
2310
#define DDSC_Log_type_get_serialized_sample_max_size_null(level_) \
2311
OSAPI_Log_msg_pN_X2((level_),\
2312
DDSC_LOG_TYPE_GET_SERIALIZED_SAMPLE_MAX_SIZE_NULL,\
2313
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2314
2315
/*ce
2316
* \brief Invalid type plugin, where serialize_data is NULL
2317
* \ingroup DDSCLogCodesClass
2318
*/
2319
#define DDSC_LOG_TYPE_SERIALIZE_DATA_NULL (DDSC_LOG_BASE + 229)
2320
#define DDSC_Log_type_serialize_data_null(level_) \
2321
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_SERIALIZE_DATA_NULL,\
2322
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2323
2324
/*ce
2325
* \brief Invalid type plugin, where deserialize_data is NULL
2326
* \ingroup DDSCLogCodesClass
2327
*/
2328
#define DDSC_LOG_TYPE_DESERIALIZE_DATA_NULL (DDSC_LOG_BASE + 230)
2329
#define DDSC_Log_type_deserialize_data_null(level_) \
2330
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_DESERIALIZE_DATA_NULL,\
2331
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2332
2333
/*ce
2334
* \brief Invalid type plugin, where create_sample is NULL
2335
* \ingroup DDSCLogCodesClass
2336
*/
2337
#define DDSC_LOG_TYPE_CREATE_SAMPLE_NULL (DDSC_LOG_BASE + 231)
2338
#define DDSC_Log_type_create_sample_null(level_) \
2339
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_CREATE_SAMPLE_NULL,\
2340
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2341
2342
/*ce
2343
* \brief Invalid type plugin, where copy_sample is NULL
2344
* \ingroup DDSCLogCodesClass
2345
*/
2346
#define DDSC_LOG_TYPE_COPY_SAMPLE_NULL (DDSC_LOG_BASE + 232)
2347
#define DDSC_Log_type_copy_sample_null(level_) \
2348
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_COPY_SAMPLE_NULL,\
2349
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2350
2351
/*ce
2352
* \brief Invalid type plugin, where delete_sample is NULL
2353
* \ingroup DDSCLogCodesClass
2354
*/
2355
#define DDSC_LOG_TYPE_DELETE_SAMPLE_NULL (DDSC_LOG_BASE + 233)
2356
#define DDSC_Log_type_delete_sample_null(level_) \
2357
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_DELETE_SAMPLE_NULL,\
2358
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2359
2360
/*ce
2361
* \brief Invalid type plugin, where get_key_kind is NULL
2362
* \ingroup DDSCLogCodesClass
2363
*/
2364
#define DDSC_LOG_TYPE_GET_KEY_KIND_NULL (DDSC_LOG_BASE + 234)
2365
#define DDSC_Log_type_get_key_kind_null(level_) \
2366
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_GET_KEY_KIND_NULL,\
2367
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2368
2369
/*ce
2370
* \brief Invalid type plugin, where instance_to_keyhash is NULL
2371
* \ingroup DDSCLogCodesClass
2372
*/
2373
#define DDSC_LOG_TYPE_INSTANCE_TO_KEYHASH_NULL (DDSC_LOG_BASE + 235)
2374
#define DDSC_Log_type_instance_to_keyhash_null(level_) \
2375
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_INSTANCE_TO_KEYHASH_NULL,\
2376
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2377
2378
/*ce
2379
* \brief Failed to enable DomainParticipant
2380
* \ingroup DDSCLogCodesClass
2381
*/
2382
#define DDSC_LOG_DPF_ENABLE_PARTICIPANT (DDSC_LOG_BASE + 236)
2383
#define DDSC_Log_dpf_enable_participant(level_,ddsrc_) \
2384
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DPF_ENABLE_PARTICIPANT,\
2385
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2386
"ddsrc=%d",(ddsrc_))
2387
2388
/*ce
2389
* \brief Failed to create DomainParticipant due to running out of participant
2390
* IDs
2391
* \ingroup DDSCLogCodesClass
2392
*/
2393
#define DDSC_LOG_MAX_PARTICIPANT_ID_REACHED (DDSC_LOG_BASE + 237)
2394
#define DDSC_Log_max_participant_id_reached(level_) \
2395
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_MAX_PARTICIPANT_ID_REACHED,\
2396
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2397
2398
/*ce
2399
* \brief Failed to get an external interface
2400
* \ingroup DDSCLogCodesClass
2401
*/
2402
#define DDSC_LOG_GET_EXTERNAL_INTF (DDSC_LOG_BASE + 238)
2403
#define DDSC_Log_get_external_intf(level_) \
2404
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_GET_EXTERNAL_INTF,\
2405
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2406
2407
/*ce
2408
* \brief Failed to bind an internal interface
2409
* \ingroup DDSCLogCodesClass
2410
*/
2411
#define DDSC_LOG_BIND (DDSC_LOG_BASE + 239)
2412
#define DDSC_Log_bind(level_) \
2413
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_BIND,\
2414
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2415
2416
/*ce
2417
* \brief A DataReader failed a bind due to no existing route
2418
* \ingroup DDSCLogCodesClass
2419
*/
2420
#define DDSC_LOG_NO_ROUTE (DDSC_LOG_BASE + 240)
2421
#define DDSC_Log_no_route(level_) \
2422
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_NO_ROUTE,\
2423
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2424
2425
/*ce
2426
* \brief A DataReader failed to add a route
2427
* \ingroup DDSCLogCodesClass
2428
*/
2429
#define DDSC_LOG_ADD_ROUTE (DDSC_LOG_BASE + 241)
2430
#define DDSC_Log_add_route(level_) \
2431
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ADD_ROUTE,\
2432
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2433
2434
/*ce
2435
* \brief Deserialized an invalid parameter length for a specific parameter ID
2436
* \ingroup DDSCLogCodesClass
2437
*/
2438
#define DDSC_LOG_DR_DESERIALIZE_BAD_PID_LENGTH (DDSC_LOG_BASE + 242)
2439
#define DDSC_Log_dr_deserialize_bad_pid_length(level_) \
2440
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DR_DESERIALIZE_BAD_PID_LENGTH,\
2441
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2442
2443
/*ce
2444
* \brief Failed to register the key of an instance
2445
*
2446
* \details A DataWriter failed to register the key of a new instance
2447
* because DataWriterQos.resource_limits.max_instances was exceeded.
2448
*
2449
* \ingroup DDSCLogCodesClass
2450
*/
2451
#define DDSC_LOG_DW_HISTORY_REGISTER_KEY (DDSC_LOG_BASE + 243)
2452
#define DDSC_Log_dw_history_register_key(level_) \
2453
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_HISTORY_REGISTER_KEY,\
2454
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2455
2456
/*ce
2457
* \brief Failed to create a topic because the name exceeded the maximum
2458
* length of 255 octets (excluding the terminating NUL)
2459
* \ingroup DDSCLogCodesClass
2460
*/
2461
#define DDSC_LOG_TOPIC_TOO_LONG (DDSC_LOG_BASE + 244)
2462
#define DDSC_Log_topic_too_long(level_,length_) \
2463
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_TOO_LONG,\
2464
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2465
"length=%d",(length_))
2466
2467
/*ce
2468
* \brief Failed to create a type because the name exceeded the maximum
2469
* length of 255 octets (excluding the terminating NUL)
2470
* \ingroup DDSCLogCodesClass
2471
*/
2472
#define DDSC_LOG_TYPE_TOO_LONG (DDSC_LOG_BASE + 245)
2473
#define DDSC_Log_type_too_long(level_,length_) \
2474
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TYPE_TOO_LONG,\
2475
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2476
"length=%d",(length_))
2477
2478
/*ce
2479
* \brief Failed to copy PublisherQos
2480
* \ingroup DDSCLogCodesClass
2481
*/
2482
#define DDSC_LOG_PUB_QOS_COPY (DDSC_LOG_BASE + 246)
2483
#define DDSC_Log_pub_qos_copy(level_) \
2484
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PUB_QOS_COPY,\
2485
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2486
2487
/*ce
2488
* \brief Failed to copy SubscriberQos
2489
* \ingroup DDSCLogCodesClass
2490
*/
2491
#define DDSC_LOG_SUB_QOS_COPY (DDSC_LOG_BASE + 247)
2492
#define DDSC_Log_sub_qos_copy(level_) \
2493
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_SUB_QOS_COPY,\
2494
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2495
2496
/*ce
2497
* \brief Failed to copy TopicQos
2498
* \ingroup DDSCLogCodesClass
2499
*/
2500
#define DDSC_LOG_TOPIC_QOS_COPY (DDSC_LOG_BASE + 248)
2501
#define DDSC_Log_topic_qos_copy(level_) \
2502
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_QOS_COPY,\
2503
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2504
2505
/*ce
2506
* \brief Failed to delete the disovery plugin
2507
* \ingroup DDSCLogCodesClass
2508
*/
2509
#define DDSC_LOG_DISC_PLUGIN_DELETE (DDSC_LOG_BASE + 249)
2510
#define DDSC_Log_disc_plugin_delete(level_) \
2511
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_PLUGIN_DELETE,\
2512
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2513
2514
/*ce
2515
* \brief Failed to convert instance to keyhash
2516
* \ingroup DDSCLogCodesClass
2517
*/
2518
#define DDSC_LOG_INSTANCE_TO_KEYHASH (DDSC_LOG_BASE + 250)
2519
#define DDSC_Log_instance_to_keyhash(level_) \
2520
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INSTANCE_TO_KEYHASH,\
2521
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2522
2523
/*ce
2524
* \brief Failed to match local reader with local writer
2525
* \ingroup DDSCLogCodesClass
2526
*/
2527
#define DDSC_LOG_READER_MATCH (DDSC_LOG_BASE + 251)
2528
#define DDSC_Log_reader_match(level_,t_) \
2529
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_READER_MATCH,\
2530
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"topic=%s",(t_))
2531
2532
/*ce
2533
* \brief Failed to match local writer with local reader
2534
* \ingroup DDSCLogCodesClass
2535
*/
2536
#define DDSC_LOG_WRITER_MATCH (DDSC_LOG_BASE + 251)
2537
#define DDSC_Log_writer_match(level_) \
2538
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_WRITER_MATCH,\
2539
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"topic=%s",(t_))
2540
2541
/*ce
2542
* \brief Failed to lock database
2543
* \ingroup DDSCLogCodesClass
2544
*/
2545
#define DDSC_LOG_DB_LOCK (DDSC_LOG_BASE + 252)
2546
#define DDSC_Log_db_lock(level_,dbrc_) \
2547
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DB_LOCK,\
2548
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"dbrc=%d",(dbrc_))
2549
2550
/*ce
2551
* \brief Failed to unlock database
2552
* \ingroup DDSCLogCodesClass
2553
*/
2554
#define DDSC_LOG_DB_UNLOCK (DDSC_LOG_BASE + 253)
2555
#define DDSC_Log_db_unlock(level_,dbrc_) \
2556
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DB_UNLOCK,\
2557
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"dbrc=%d",(dbrc_))
2558
2559
/*ce
2560
* \brief Discovery plugin failed its update after a local DomainParticipant
2561
* was enabled
2562
* \ingroup DDSCLogCodesClass
2563
*/
2564
#define DDSC_LOG_DISC_LOCAL_PARTICIPANT_ENABLED (DDSC_LOG_BASE + 254)
2565
#define DDSC_Log_disc_local_participant_enabled(level_,plugin_) \
2566
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_LOCAL_PARTICIPANT_ENABLED,\
2567
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2568
2569
/*ce
2570
* \brief Discovery plugin failed its update before a local DomainParticipant
2571
* was created
2572
* \ingroup DDSCLogCodesClass
2573
*/
2574
#define DDSC_LOG_DISC_BEFORE_LOCAL_PARTICIPANT_CREATED (DDSC_LOG_BASE + 255)
2575
#define DDSC_Log_disc_before_local_participant_created(level_,plugin_) \
2576
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_BEFORE_LOCAL_PARTICIPANT_CREATED,\
2577
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2578
2579
/*ce
2580
* \brief Discovery plugin failed its update after a local DomainParticipant
2581
* was created
2582
* \ingroup DDSCLogCodesClass
2583
*/
2584
#define DDSC_LOG_DISC_AFTER_LOCAL_PARTICIPANT_CREATED (DDSC_LOG_BASE + 256)
2585
#define DDSC_Log_disc_after_local_participant_created(level_,plugin_) \
2586
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_AFTER_LOCAL_PARTICIPANT_CREATED,\
2587
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2588
2589
/*ce
2590
* \brief Discovery plugin failed its update after a local DataReader
2591
* was enabled
2592
* \ingroup DDSCLogCodesClass
2593
*/
2594
#define DDSC_LOG_DISC_AFTER_LOCAL_DATAREADER_ENABLED (DDSC_LOG_BASE + 257)
2595
#define DDSC_Log_disc_after_local_datareader_enabled(level_,plugin_) \
2596
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_AFTER_LOCAL_DATAREADER_ENABLED,\
2597
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2598
2599
/*ce
2600
* \brief Discovery plugin failed its update after a local DataReader
2601
* was deleted
2602
* \ingroup DDSCLogCodesClass
2603
*/
2604
#define DDSC_LOG_DISC_AFTER_LOCAL_DATAREADER_DELETED (DDSC_LOG_BASE + 258)
2605
#define DDSC_Log_disc_after_local_datareader_deleted(level_,plugin_) \
2606
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_AFTER_LOCAL_DATAREADER_DELETED,\
2607
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2608
2609
/*ce
2610
* \brief Discovery plugin failed its update after a local DataWriter
2611
* was enabled
2612
* \ingroup DDSCLogCodesClass
2613
*/
2614
#define DDSC_LOG_DISC_AFTER_LOCAL_DATAWRITER_ENABLED (DDSC_LOG_BASE + 259)
2615
#define DDSC_Log_disc_after_local_datawriter_enabled(level_,plugin_) \
2616
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_AFTER_LOCAL_DATAWRITER_ENABLED,\
2617
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2618
2619
/*ce
2620
* \brief Discovery plugin failed its update after a local DataWriter
2621
* was deleted
2622
* \ingroup DDSCLogCodesClass
2623
*/
2624
#define DDSC_LOG_DISC_AFTER_LOCAL_DATAWRITER_DELETED (DDSC_LOG_BASE + 260)
2625
#define DDSC_Log_disc_after_local_datawriter_deleted(level_,plugin_) \
2626
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_AFTER_LOCAL_DATAWRITER_DELETED,\
2627
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2628
2629
/*ce
2630
* \brief Discovery plugin failed its update after a remote DomainParticipant's
2631
* liveliness expired
2632
* \ingroup DDSCLogCodesClass
2633
*/
2634
#define DDSC_LOG_DISC_REMOTE_PARTICIPANT_EXPIRED (DDSC_LOG_BASE + 261)
2635
#define DDSC_Log_disc_remote_participant_expired(level_,plugin_) \
2636
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_REMOTE_PARTICIPANT_EXPIRED,\
2637
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"plugin=%s",(plugin_))
2638
2639
/*ce
2640
* \brief Failed to add a peer with discovery plugin
2641
* \ingroup DDSCLogCodesClass
2642
*/
2643
#define DDSC_LOG_DISC_ADD_PEER (DDSC_LOG_BASE + 262)
2644
#define DDSC_Log_disc_add_peer(level_,plugin_,peer_) \
2645
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DISC_ADD_PEER,\
2646
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,"plugin=%s,peer=%s",(plugin_),(peer_))
2647
2648
/*ce
2649
* \brief Failed serializing status info parameter
2650
* \ingroup DDSCLogCodesClass
2651
*/
2652
#define DDSC_LOG_DW_CDR_SERIALIZE_STATUS_INFO (DDSC_LOG_BASE + 263)
2653
#define DDSC_Log_dw_cdr_serialize_status_info(level_,info_) \
2654
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_CDR_SERIALIZE_STATUS_INFO,\
2655
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2656
"statusInfo=0x%x",(info_))
2657
2658
2659
/*ce
2660
* \brief Failed to reserve endpoint locators due
2661
* \ingroup DDSCLogCodesClass
2662
*/
2663
#define DDSC_LOG_RESERVE_LOCATORS (DDSC_LOG_BASE + 264)
2664
#define DDSC_Log_reserve_locators(level_) \
2665
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_RESERVE_LOCATORS,\
2666
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2667
2668
2669
/*ce
2670
* \brief Failed to finalize TopicQos
2671
* \ingroup DDSCLogCodesClass
2672
*/
2673
#define DDSC_LOG_TOPIC_QOS_FINALIZE (DDSC_LOG_BASE + 265)
2674
#define DDSC_Log_topic_qos_finalize(level_) \
2675
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TOPIC_QOS_FINALIZE,\
2676
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2677
2678
/*ce
2679
* \brief Failed to initialize TopicQos
2680
* \ingroup DDSCLogCodesClass
2681
*/
2682
#define DDSC_LOG_INITIALIZE_TOPIC_QOS (DDSC_LOG_BASE + 266)
2683
#define DDSC_Log_initialize_topic_qos(level_,ddsrc_) \
2684
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INITIALIZE_TOPIC_QOS,\
2685
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2686
"ddsrc=%d",(ddsrc_))
2687
2688
/*ce
2689
* \brief Failed to create a timeout
2690
* \ingroup DDSCLogCodesClass
2691
*/
2692
#define DDSC_LOG_TIMER_CREATE_TIMEOUT (DDSC_LOG_BASE + 267)
2693
#define DDSC_Log_timer_create_timeout(level_) \
2694
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_TIMER_CREATE_TIMEOUT,\
2695
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2696
2697
/*ce
2698
* \brief Failed to set an interface state
2699
* \ingroup DDSCLogCodesClass
2700
*/
2701
#define DDSC_LOG_INTERFACE_SET_STATE (DDSC_LOG_BASE + 268)
2702
#define DDSC_Log_interface_set_state(level_,state_) \
2703
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_INTERFACE_SET_STATE,\
2704
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"state=%d",(state_))
2705
2706
/*ce
2707
* \brief Datawriter did not find a peer
2708
* \ingroup DDSCLogCodesClass
2709
*/
2710
#define DDSC_LOG_DW_PEER_LOOKUP (DDSC_LOG_BASE + 269)
2711
#define DDSC_Log_dw_peer_lookup(level_) \
2712
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_PEER_LOOKUP,\
2713
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2714
2715
/*ce
2716
* \brief A type-plugin for the given type could not be found
2717
* \ingroup DDSCLogCodesClass
2718
*/
2719
#define DDSC_LOG_LOOKUP_TYPE_PLUGIN (DDSC_LOG_BASE + 270)
2720
#define DDSC_Log_lookup_type_plugin(level_,name_) \
2721
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_LOOKUP_TYPE_PLUGIN,\
2722
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"type=%s",(name_))
2723
2724
/*ce
2725
* \brief The participant qos changed
2726
*
2727
* \details
2728
* An existing participant was re-asserted with a different qos
2729
*
2730
* \ingroup DDSCLogCodesClass
2731
*/
2732
#define DDSC_LOG_PARTICIPANT_QOS_CHANGED (DDSC_LOG_BASE + 271)
2733
#define DDSC_Log_participant_qos_changed(level_) \
2734
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_PARTICIPANT_QOS_CHANGED,\
2735
OSAPI_LOG_MSG_PN_X2_STD_PARAM,0)
2736
2737
/*ce
2738
* \brief Forced removal of sample downstream failed
2739
*
2740
* \details
2741
*
2742
* The datawriter failed to force a sample removal downstream
2743
*
2744
* \ingroup DDSCLogCodesClass
2745
*/
2746
#define DDSC_LOG_DW_FORCED_REMOVE (DDSC_LOG_BASE + 272)
2747
#define DDSC_Log_dw_forced_remove(level_) \
2748
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DW_FORCED_REMOVE,\
2749
OSAPI_LOG_MSG_PN_X2_STD_PARAM,0)
2750
2751
2752
/*ce
2753
* \brief Failed to create record.
2754
*
2755
* \details
2756
*
2757
* Failed to create a record for a table
2758
* DataWriterQos.reader_resource_limits.max_remote_readers
2759
* DataReaderQos.reader_resource_limits.max_remote_writers
2760
*
2761
* \ingroup DDSCLogCodesClass
2762
*/
2763
#define DDSC_LOG_CREATE_REMOTE_BIND_RECORD (DDSC_LOG_BASE + 273)
2764
#define DDSC_Log_create_remote_bind_record(level_,dbrc_,kind_) \
2765
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_CREATE_REMOTE_BIND_RECORD,\
2766
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
2767
"dbrc=%d,kind=%s",(dbrc_),(kind_))
2768
2769
/*ce
2770
* \brief Illegal object id specified
2771
*
2772
* \details
2773
*
2774
* Manually specifed object id must be in the range [0,0xffffff]
2775
*
2776
* \ingroup DDSCLogCodesClass
2777
*/
2778
#define DDSC_LOG_ILLEGAL_OBJECTID (DDSC_LOG_BASE + 274)
2779
#define DDSC_Log_illegal_objectid(level_,oid_) \
2780
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_ILLEGAL_OBJECTID,\
2781
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2782
"oid=%d",(oid_))
2783
2784
/*ce
2785
* \brief Entities are in different participants
2786
*
2787
* \details
2788
*
2789
* A factory tried to create an entity using an entity created in a different
2790
* factory. For example, it is illegal to create a datawriter using a topic
2791
* from a different participant.
2792
*
2793
* \ingroup DDSCLogCodesClass
2794
*/
2795
#define DDSC_LOG_DIFFERENT_PARTICIPANTS (DDSC_LOG_BASE + 275)
2796
#define DDSC_Log_different_participants(level_) \
2797
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DIFFERENT_PARTICIPANTS,\
2798
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2799
2800
/*ce
2801
* \brief Failed to update state of StatusCondition
2802
*
2803
* \details
2804
*
2805
* An error occurred when trying to update the state (i.e. the trigger value) of
2806
* a StatusCondition.
2807
*
2808
* \ingroup DDSCLogCodesClass
2809
*/
2810
#define DDSC_LOG_FAILED_UPDATE_STATUS_CONDITION (DDSC_LOG_BASE + 276)
2811
#define DDSC_Log_failed_update_status_condition(level_,entity_) \
2812
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_FAILED_UPDATE_STATUS_CONDITION,\
2813
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
2814
"entity=%s",#entity_)
2815
2816
/*ce
2817
* \brief Entities are in different publishers
2818
*
2819
* \details
2820
*
2821
* A publisher factory tried to create/delete an entity using a different
2822
* factory. For example, it is illegal to delete a datawriter using a different
2823
* publisher than it was created from.
2824
*
2825
* \ingroup DDSCLogCodesClass
2826
*/
2827
#define DDSC_LOG_DIFFERENT_PUBLISHERS (DDSC_LOG_BASE + 277)
2828
#define DDSC_Log_different_publishers(level_) \
2829
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DIFFERENT_PUBLISHERS,\
2830
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2831
2832
/*ce
2833
* \brief Entities are in different subscribers
2834
*
2835
* \details
2836
*
2837
* A subscriber factory tried to create/delete an entity using a different
2838
* factory. For example, it is illegal to delete a datawriter using a different
2839
* subscriber than it was created from.
2840
*
2841
* \ingroup DDSCLogCodesClass
2842
*/
2843
#define DDSC_LOG_DIFFERENT_SUBSCRIBERS (DDSC_LOG_BASE + 278)
2844
#define DDSC_Log_different_subscribers(level_) \
2845
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DIFFERENT_SUBSCRIBERS,\
2846
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2847
2848
/*ce
2849
* \brief Entities are in different participants
2850
*
2851
* \details
2852
*
2853
* A factory tried to create an entity using an entity created in a different
2854
* factory. For example, it is illegal to create a datawriter using a topic
2855
* from a different participant.
2856
*
2857
* \ingroup DDSCLogCodesClass
2858
*/
2859
#define DDSC_LOG_DIFFERENT_PARTICIPANTS (DDSC_LOG_BASE + 275)
2860
#define DDSC_Log_different_participants(level_) \
2861
OSAPI_Log_msg_pN_X2((level_),DDSC_LOG_DIFFERENT_PARTICIPANTS,\
2862
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
2863
2864
#endif
RTI Connext Micro Version 2.4.1.0
Copyright © Thu Nov 20 2014
Real-Time Innovations, Inc