RTI Connext DDS Micro  Version 2.4.6
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rtps_log.h
Go to the documentation of this file.
1 /*
2  * FILE: rtps_log.h - RTPS Log definitions
3  *
4  * Copyright 2013-2015 Real-Time Innovations, Inc.
5  *
6  * All rights reserved.
7  ** No duplications, whole or partial, manual or electronic, may be made
8  * without express written permission. Any such copies, or
9  * revisions thereof, must display this notice unaltered.
10  * This code contains trade secrets of Real-Time Innovations, Inc.
11  *
12  * Modification History
13  * --------------------
14  * 30may2013,eh MICRO-415: resource limit msgs
15  * 28may2013,eh Written for new logging
16  */
17 
18 /*ce
19  * \file
20  * \brief RTPS module log codes
21  *
22  * \details
23  * Log codes of the RTPS module
24  */
25 #ifndef rtps_log_h
26 #define rtps_log_h
27 
28 
29 #ifndef osapi_log_h
30 #include "osapi/osapi_log.h"
31 #endif
32 
33 /*ce
34  * \defgroup RTPSLogCodesClass RTPS
35  * \brief Real-Time Publish-Subscribe. ModuleID = 6
36  * \ingroup LoggingModule
37  */
38 
39 /*ce
40  * \brief Failed to initialize an RTPS interface
41  * \ingroup RTPSLogCodesClass
42  */
43 #define RTPS_LOG_INITIALIZE_INTERFACE_EC (RTPS_LOG_BASE + 1)
44 #define RTPS_LOG_INITIALIZE_INTERFACE(level_) \
45 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INITIALIZE_INTERFACE_EC,\
46  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
47 
48 /*ce
49  * \brief Failed to allocate heap memory for internal resources
50  * \ingroup RTPSLogCodesClass
51  */
52 #define RTPS_LOG_ALLOCATE_EC (RTPS_LOG_BASE + 2)
53 #define RTPS_LOG_ALLOCATE(level_) \
54 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_ALLOCATE_EC,\
55  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
56 
57 /*ce
58  * \brief Failed to create a database table for storing RTPS route info
59  * \ingroup RTPSLogCodesClass
60  */
61 #define RTPS_LOG_CREATE_ROUTE_TABLE_EC (RTPS_LOG_BASE + 3)
62 #define RTPS_LOG_CREATE_ROUTE_TABLE(level_,dbrc_) \
63 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_CREATE_ROUTE_TABLE_EC,\
64  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
65 
66 /*ce
67  * \brief Failed to create database index for route-peer info
68  * \ingroup RTPSLogCodesClass
69  */
70 #define RTPS_LOG_DB_CREATE_ROUTE_PEER_INDEX_EC (RTPS_LOG_BASE + 4)
71 #define RTPS_LOG_DB_CREATE_ROUTE_PEER_INDEX(level_,dbrc_) \
72 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_CREATE_ROUTE_PEER_INDEX_EC,\
73  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
74 
75 /*ce
76  * \brief Failed to create database index for route-transport info
77  * \ingroup RTPSLogCodesClass
78  */
79 #define RTPS_LOG_DB_CREATE_ROUTE_XPORT_INDEX_EC (RTPS_LOG_BASE + 5)
80 #define RTPS_LOG_DB_CREATE_ROUTE_XPORT_INDEX(level_) \
81 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DB_CREATE_ROUTE_XPORT_INDEX_EC,\
82  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
83 
84 /*ce
85  * \brief Failed to create database index for bind-peer info
86  * \ingroup RTPSLogCodesClass
87  */
88 #define RTPS_LOG_DB_CREATE_BIND_PEER_INDEX_EC (RTPS_LOG_BASE + 6)
89 #define RTPS_LOG_DB_CREATE_BIND_PEER_INDEX(level_) \
90 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DB_CREATE_BIND_PEER_INDEX_EC,\
91  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
92 
93 /*ce
94  * \brief Failed to add an entry to a database index
95  * \ingroup RTPSLogCodesClass
96  */
97 #define RTPS_LOG_INDEX_ADD_ENTRY_EC (RTPS_LOG_BASE + 8)
98 #define RTPS_LOG_INDEX_ADD_ENTRY(level_) \
99 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INDEX_ADD_ENTRY_EC,\
100  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
101 
102 /*ce
103  * \brief Failed to select all entries of a database table
104 * \details Failure reason given by database return code (dbrc)
105  * \ingroup RTPSLogCodesClass
106  */
107 #define RTPS_LOG_DB_SELECT_ALL_EC (RTPS_LOG_BASE + 9)
108 #define RTPS_LOG_DB_SELECT_ALL(level_,dbrc_) \
109 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_SELECT_ALL_EC,\
110  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
111 
112 /*ce
113  * \brief Matching entry not found in a database table.
114  * \details Failure reason given by database return code (dbrc)
115  * \ingroup RTPSLogCodesClass
116  */
117 #define RTPS_LOG_DB_SELECT_MATCH_EC (RTPS_LOG_BASE + 10)
118 #define RTPS_LOG_DB_SELECT_MATCH(level_,dbrc_) \
119 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_SELECT_MATCH_EC,\
120  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
121 
122 /*ce
123  * \brief No matching entries found in a database table.
124  * \ingroup RTPSLogCodesClass
125  */
126 #define RTPS_LOG_DB_SELECT_RANGE_EC (RTPS_LOG_BASE + 11)
127 #define RTPS_LOG_DB_SELECT_RANGE(level_,dbrc_) \
128 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_SELECT_RANGE_EC,\
129  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
130 
131 /*ce
132  * \brief Failed to create database entry for route.
133  *
134  * \details May have exceeded
135  * DomainParticipantQos.resource_limits.matching_writer_reader_pair_allocation,
136  * DataWriterQos.writer_resource_limits.max_remote_readers, or
137  * DataReaderQos.reader_resource_limits.max_remote_writers
138  * \ingroup RTPSLogCodesClass
139  */
140 #define RTPS_LOG_DB_CREATE_ROUTE_ENTRY_EC (RTPS_LOG_BASE + 12)
141 #define RTPS_LOG_DB_CREATE_ROUTE_ENTRY(level_,dbrc_) \
142 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_CREATE_ROUTE_ENTRY_EC,\
143  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
144 
145 /*ce
146  * \brief Failed to insert entry into route table
147  * \details Failure reason given by database return code (dbrc)
148  * \ingroup RTPSLogCodesClass
149  */
150 #define RTPS_LOG_DB_INSERT_ROUTE_ENTRY_EC (RTPS_LOG_BASE + 13)
151 #define RTPS_LOG_DB_INSERT_ROUTE_ENTRY(level_,dbrc_) \
152 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_INSERT_ROUTE_ENTRY_EC,\
153  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
154 
155 /*ce
156  * \brief Failed to remove entry from route table
157  * \details Failure reason given by database return code (dbrc)
158  */
159 #define RTPS_LOG_DB_REMOVE_ROUTE_ENTRY_EC (RTPS_LOG_BASE + 14)
160 #define RTPS_LOG_DB_REMOVE_ROUTE_ENTRY(level_,dbrc_) \
161 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_REMOVE_ROUTE_ENTRY_EC,\
162  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
163 
164 /*ce
165  * \brief Failed to delete entry from route table
166  * \details Failure reason given by database return code (dbrc)
167  * \ingroup RTPSLogCodesClass
168  */
169 #define RTPS_LOG_DB_DELETE_ROUTE_ENTRY_EC (RTPS_LOG_BASE + 15)
170 #define RTPS_LOG_DB_DELETE_ROUTE_ENTRY(level_,dbrc_) \
171 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_DELETE_ROUTE_ENTRY_EC,\
172  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
173 
174 /*ce
175  * \brief Failed to create database entry for bind.
176  *
177  * \details If DomainParticipant, may have exceeded
178  * DomainParticipantQos.resource_limits.matching_reader_writer_pair_allocation.
179  * Failure reason given by database return code (dbrc).
180  * \ingroup RTPSLogCodesClass
181  */
182 #define RTPS_LOG_DB_CREATE_BIND_ENTRY_EC (RTPS_LOG_BASE + 16)
183 #define RTPS_LOG_DB_CREATE_BIND_ENTRY(level_,dbrc_) \
184 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_CREATE_BIND_ENTRY_EC,\
185  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
186 
187 /*ce
188  * \brief Failed to insert an entry into the bind table.
189  * \details Failure reason given by database return code (dbrc)
190  * \ingroup RTPSLogCodesClass
191  */
192 #define RTPS_LOG_DB_INSERT_BIND_ENTRY_EC (RTPS_LOG_BASE + 17)
193 #define RTPS_LOG_DB_INSERT_BIND_ENTRY(level_,dbrc_) \
194 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_INSERT_BIND_ENTRY_EC,\
195  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
196 
197 /*ce
198  * \brief Failed to remove an entry from the bind table.
199  * \details Failure reason given by database return code (dbrc)
200  * \ingroup RTPSLogCodesClass
201  */
202 #define RTPS_LOG_DB_REMOVE_BIND_ENTRY_EC (RTPS_LOG_BASE + 18)
203 #define RTPS_LOG_DB_REMOVE_BIND_ENTRY(level_,dbrc_) \
204 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_REMOVE_BIND_ENTRY_EC,\
205  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
206 
207 /*ce
208  * \brief Failed to remove an entry from the external bind table.
209  * \details Failure reason given by database return code (dbrc)
210  * \ingroup RTPSLogCodesClass
211  */
212 #define RTPS_LOG_DB_REMOVE_EXTERNAL_BIND_ENTRY_EC (RTPS_LOG_BASE + 19)
213 #define RTPS_LOG_DB_REMOVE_EXTERNAL_BIND_ENTRY(level_,dbrc_) \
214 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_REMOVE_EXTERNAL_BIND_ENTRY_EC,\
215  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
216 
217 /*ce
218  * \brief Failed to delete entry from external bind table
219  * \details Failure reason given by database return code (dbrc)
220  * \ingroup RTPSLogCodesClass
221  */
222 #define RTPS_LOG_DB_DELETE_EXTERNAL_BIND_ENTRY_EC (RTPS_LOG_BASE + 20)
223 #define RTPS_LOG_DB_DELETE_EXTERNAL_BIND_ENTRY(level_,dbrc_) \
224 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_DELETE_EXTERNAL_BIND_ENTRY_EC,\
225  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
226 
227 /*ce
228  * \brief Failed to send a packet due to a lower module failing to send the
229  * packet.
230  * \ingroup RTPSLogCodesClass
231  */
232 #define RTPS_LOG_SEND_EC (RTPS_LOG_BASE + 21)
233 #define RTPS_LOG_SEND(level_) \
234 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SEND_EC,\
235  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
236 
237 /*ce
238  * \brief Failed to receive a packet due to a higher module failing to receive
239  * the packet.
240  * \ingroup RTPSLogCodesClass
241  */
242 #define RTPS_LOG_RECEIVE_EC (RTPS_LOG_BASE + 22)
243 #define RTPS_LOG_RECEIVE(level_) \
244 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_RECEIVE_EC,\
245  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
246 
247 /*ce
248  * \brief Failed to send a packet, when routing to a lower module or peer
249  * \ingroup RTPSLogCodesClass
250  */
251 #define RTPS_LOG_ROUTE_PACKET_EC (RTPS_LOG_BASE + 23)
252 #define RTPS_LOG_ROUTE_PACKET(level_) \
253 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_ROUTE_PACKET_EC,\
254  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
255 
256 /*ce
257  * \brief Failed to receive a packet, when forwarding to a higher upstream module
258  * \ingroup RTPSLogCodesClass
259  */
260 #define RTPS_LOG_FORWARD_UPSTREAM_EC (RTPS_LOG_BASE + 24)
261 #define RTPS_LOG_FORWARD_UPSTREAM(level_) \
262 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_FORWARD_UPSTREAM_EC,\
263  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
264 
265 /*ce
266  * \brief Bad parameter to an RTPS interface function
267  * \ingroup RTPSLogCodesClass
268  */
269 #define RTPS_LOG_BAD_PARAMETER_EC (RTPS_LOG_BASE + 25)
270 #define RTPS_LOG_BAD_PARAMETER(level_) \
271 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_BAD_PARAMETER_EC,\
272  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
273 
274 /*ce
275  * \brief Failed because interface is not enabled
276  * \ingroup RTPSLogCodesClass
277  */
278 #define RTPS_LOG_NOT_ENABLED_EC (RTPS_LOG_BASE + 26)
279 #define RTPS_LOG_NOT_ENABLED(level_) \
280 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_NOT_ENABLED_EC,\
281  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
282 
283 /*ce
284  * \brief RTPS reader does not support send
285  * \ingroup RTPSLogCodesClass
286  */
287 #define RTPS_LOG_READER_UNSUPPORTED_EC (RTPS_LOG_BASE + 27)
288 #define RTPS_LOG_READER_UNSUPPORTED(level_) \
289 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_READER_UNSUPPORTED_EC,\
290  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
291 
292 /*ce
293  * \brief Upstream interface does not match source or destination of packet
294  * being sent or received
295  * \ingroup RTPSLogCodesClass
296  */
297 #define RTPS_LOG_INTERFACE_MISMATCH_EC (RTPS_LOG_BASE + 28)
298 #define RTPS_LOG_INTERFACE_MISMATCH(level_) \
299 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INTERFACE_MISMATCH_EC,\
300  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
301 
302 /*ce
303  * \brief Failed to send due to reaching maximum send window size
304  * \ingroup RTPSLogCodesClass
305  */
306 #define RTPS_LOG_FULL_SEND_WINDOW_EC (RTPS_LOG_BASE + 29)
307 #define RTPS_LOG_FULL_SEND_WINDOW(level_) \
308 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_FULL_SEND_WINDOW_EC,\
309  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
310 
311 /*ce
312  * \brief Failed to set tail of packet to send
313  * \ingroup RTPSLogCodesClass
314  */
315 #define RTPS_LOG_NETIO_PACKET_SET_TAIL_EC (RTPS_LOG_BASE + 31)
316 #define RTPS_LOG_NETIO_PACKET_SET_TAIL(level_) \
317 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_NETIO_PACKET_SET_TAIL_EC,\
318  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
319 
320 /*ce
321  * \brief RTPS interface does not support this function
322  * \ingroup RTPSLogCodesClass
323  */
324 #define RTPS_LOG_FUNC_UNSUPPORTED_EC (RTPS_LOG_BASE + 32)
325 #define RTPS_LOG_FUNC_UNSUPPORTED(level_) \
326 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_FUNC_UNSUPPORTED_EC,\
327  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
328 
329 /*ce
330  * \brief Out of transport entries.
331  * \details Exceeded either
332  * DataWriterQos.writer_resource_limits.max_remote_readers or
333  * DataReaderQos.reader_resource_limits.max_remote_writers
334  * \ingroup RTPSLogCodesClass
335  */
336 #define RTPS_LOG_EXCEEDED_LIMIT_TRANSPORTS_EC (RTPS_LOG_BASE + 33)
337 #define RTPS_LOG_EXCEEDED_LIMIT_TRANSPORTS(level_) \
338 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_EXCEEDED_LIMIT_TRANSPORTS_EC,\
339  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
340 
341 /*ce
342  * \brief Out of peer entries.
343  *
344  * \details Exceeded either
345  * DataWriterQos.writer_resource_limits.max_remote_readers or
346  * DataReaderQos.reader_resource_limits.max_remote_writers
347  * \ingroup RTPSLogCodesClass
348  */
349 #define RTPS_LOG_EXCEEDED_LIMIT_PEERS_EC (RTPS_LOG_BASE + 34)
350 #define RTPS_LOG_EXCEEDED_LIMIT_PEERS(level_) \
351 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_EXCEEDED_LIMIT_PEERS_EC,\
352  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
353 
354 /*ce
355  * \brief Failed to assert a remote writer or reader
356  * \ingroup RTPSLogCodesClass
357  */
358 #define RTPS_LOG_ASSERT_PEER_EC (RTPS_LOG_BASE + 35)
359 #define RTPS_LOG_ASSERT_PEER(level_) \
360 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_ASSERT_PEER_EC,\
361  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
362 
363 /*ce
364  * \brief Failed to assert a downstream transport
365  * \ingroup RTPSLogCodesClass
366  */
367 #define RTPS_LOG_ASSERT_TRANSPORT_EC (RTPS_LOG_BASE + 36)
368 #define RTPS_LOG_ASSERT_TRANSPORT(level_) \
369 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_ASSERT_TRANSPORT_EC,\
370  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
371 
372 /*ce
373  * \brief Failed to lookup an external interface
374  * \ingroup RTPSLogCodesClass
375  */
376 #define RTPS_LOG_FIND_EXTERNAL_INTERFACE_EC (RTPS_LOG_BASE + 37)
377 #define RTPS_LOG_FIND_EXTERNAL_INTERFACE(level_) \
378 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_FIND_EXTERNAL_INTERFACE_EC,\
379  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
380 
381 /*ce
382  * \brief Failed to delete a nonexistent route
383  * \ingroup RTPSLogCodesClass
384  */
385 #define RTPS_LOG_NONEXISTENT_ROUTE_EC (RTPS_LOG_BASE + 38)
386 #define RTPS_LOG_NONEXISTENT_ROUTE(level_) \
387 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_NONEXISTENT_ROUTE_EC,\
388  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
389 
390 /*ce
391  * \brief Failed to remove a nonexistent bind entry
392  * \ingroup RTPSLogCodesClass
393  */
394 #define RTPS_LOG_NONEXISTENT_BIND_EC (RTPS_LOG_BASE + 39)
395 #define RTPS_LOG_NONEXISTENT_BIND(level_) \
396 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_NONEXISTENT_BIND_EC,\
397  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
398 
399 /*ce
400  * \brief Failed to remove a nonexistent external bind entry
401  * \ingroup RTPSLogCodesClass
402  */
403 #define RTPS_LOG_NONEXISTENT_EXTERNAL_BIND_EC (RTPS_LOG_BASE + 40)
404 #define RTPS_LOG_NONEXISTENT_EXTERNAL_BIND(level_) \
405 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_NONEXISTENT_EXTERNAL_BIND_EC,\
406  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
407 
408 /*ce
409  * \brief Dropped an ACKNACK submessage with an old epoch
410  * \ingroup RTPSLogCodesClass
411  */
412 #define RTPS_LOG_STALE_ACK_EPOCH__EC (RTPS_LOG_BASE + 41)
413 #define RTPS_LOG_STALE_ACK_EPOCH(level_) \
414 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_STALE_ACK_EPOCH__EC,\
415  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
416 
417 /*ce
418  * \brief Dropped a HEARTBEAT submessage with an old epoch
419  * \ingroup RTPSLogCodesClass
420  */
421 #define RTPS_LOG_STALE_HB_EPOCH_EC (RTPS_LOG_BASE + 42)
422 #define RTPS_LOG_STALE_HB_EPOCH(level_) \
423 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_STALE_HB_EPOCH_EC,\
424  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
425 
426 /*ce
427  * \brief Failed an acknack() upstream
428  * \ingroup RTPSLogCodesClass
429  */
430 #define RTPS_LOG_ACK_EC (RTPS_LOG_BASE + 43)
431 #define RTPS_LOG_ACK(level_) \
432 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_ACK_EC,\
433  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
434 
435 /*ce
436  * \brief Failed a request() upstream
437  * \ingroup RTPSLogCodesClass
438  */
439 #define RTPS_LOG_REQUEST_EC (RTPS_LOG_BASE + 45)
440 #define RTPS_LOG_REQUEST(level_) \
441 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_REQUEST_EC,\
442  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
443 
444 /*ce
445  * \brief Failed a return_loan() upstream
446  * \ingroup RTPSLogCodesClass
447  */
448 #define RTPS_LOG_RETURN_LOAN_EC (RTPS_LOG_BASE + 46)
449 #define RTPS_LOG_RETURN_LOAN(level_) \
450 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_RETURN_LOAN_EC,\
451  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
452 
453 /*ce
454  * \brief Failed to set the head of a packet
455  * \ingroup RTPSLogCodesClass
456  */
457 #define RTPS_LOG_NETIO_PACKET_SET_HEAD_EC (RTPS_LOG_BASE + 47)
458 #define RTPS_LOG_NETIO_PACKET_SET_HEAD(level_) \
459 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_NETIO_PACKET_SET_HEAD_EC,\
460  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
461 
462 /*ce
463  * \brief Failed to send a HEARTBEAT submessage
464  * \ingroup RTPSLogCodesClass
465  */
466 #define RTPS_LOG_SEND_HEARTBEAT_EC (RTPS_LOG_BASE + 48)
467 #define RTPS_LOG_SEND_HEARTBEAT(level_) \
468 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SEND_HEARTBEAT_EC,\
469  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
470 
471 /*ce
472  * \brief Failed to shift a bitmap
473  * \ingroup RTPSLogCodesClass
474  */
475 #define RTPS_LOG_SHIFT_BITMAP_EC (RTPS_LOG_BASE + 49)
476 #define RTPS_LOG_SHIFT_BITMAP(level_) \
477 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SHIFT_BITMAP_EC,\
478  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
479 
480 /*ce
481  * \brief A Reader is fully acknowledged and does not need to respond to a
482  * final HEARTBEAT
483  * \ingroup RTPSLogCodesClass
484  */
485 #define RTPS_LOG_FULLY_ACKED_READER_EC (RTPS_LOG_BASE + 50)
486 #define RTPS_LOG_FULLY_ACKED_READER(level_) \
487 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_FULLY_ACKED_READER_EC,\
488  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
489 
490 /*ce
491  * \brief Dropping a DATA submessage whose sequence number is outside of
492  * a Reader's receive window
493  * \ingroup RTPSLogCodesClass
494  */
495 #define RTPS_LOG_DATA_OUT_OF_RANGE_EC (RTPS_LOG_BASE + 51)
496 #define RTPS_LOG_DATA_OUT_OF_RANGE(level_) \
497 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DATA_OUT_OF_RANGE_EC,\
498  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
499 
500 /*ce
501  * \brief Dropping a DATA submessage whose sequence number was previously
502  * received
503  * \ingroup RTPSLogCodesClass
504  */
505 #define RTPS_LOG_DATA_ALREADY_RECEIVED_EC (RTPS_LOG_BASE + 52)
506 #define RTPS_LOG_DATA_ALREADY_RECEIVED(level_) \
507 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DATA_ALREADY_RECEIVED_EC,\
508  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
509 
510 /*ce
511  * \brief Failed to receive a message because interface is not enabled
512  * \ingroup RTPSLogCodesClass
513  */
514 #define RTPS_LOG_INTERFACE_NOT_ENABLED_EC (RTPS_LOG_BASE + 53)
515 #define RTPS_LOG_INTERFACE_NOT_ENABLED(level_) \
516 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INTERFACE_NOT_ENABLED_EC,\
517  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
518 
519 /*ce
520  * \brief Dropped a message with an invalid packet header
521  * \ingroup RTPSLogCodesClass
522  */
523 #define RTPS_LOG_INVALID_PACKET_EC (RTPS_LOG_BASE + 54)
524 #define RTPS_LOG_INVALID_PACKET(level_) \
525 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INVALID_PACKET_EC,\
526  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
527 
528 /*ce
529  * \brief Received a message on an unsupported interface
530  * \ingroup RTPSLogCodesClass
531  */
532 #define RTPS_LOG_UNSUPPORTED_INTERFACE_EC (RTPS_LOG_BASE + 55)
533 #define RTPS_LOG_UNSUPPORTED_INTERFACE(level_) \
534 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_UNSUPPORTED_INTERFACE_EC,\
535  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
536 
537 /*ce
538  * \brief Received a submessage with an unknown ID
539  * \ingroup RTPSLogCodesClass
540  */
541 #define RTPS_LOG_UNKNOWN_SUBMESSAGE_EC (RTPS_LOG_BASE + 56)
542 #define RTPS_LOG_UNKNOWN_SUBMESSAGE(level_) \
543 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_UNKNOWN_SUBMESSAGE_EC,\
544  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
545 
546 /*ce
547  * \brief Failed to process received ACKNACK submessage
548  * \ingroup RTPSLogCodesClass
549  */
550 #define RTPS_LOG_PROCESS_ACKNACK_EC (RTPS_LOG_BASE + 57)
551 #define RTPS_LOG_PROCESS_ACKNACK(level_) \
552 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_PROCESS_ACKNACK_EC,\
553  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
554 
555 /*ce
556  * \brief Failed to process received DATA submessage
557  * \ingroup RTPSLogCodesClass
558  */
559 #define RTPS_LOG_PROCESS_DATA_EC (RTPS_LOG_BASE + 58)
560 #define RTPS_LOG_PROCESS_DATA(level_) \
561 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_PROCESS_DATA_EC,\
562  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
563 
564 /*ce
565  * \brief Failed to process received GAP submessage
566  * \ingroup RTPSLogCodesClass
567  */
568 #define RTPS_LOG_PROCESS_GAP_EC (RTPS_LOG_BASE + 59)
569 #define RTPS_LOG_PROCESS_GAP(level_) \
570 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_PROCESS_GAP_EC,\
571  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
572 
573 /*ce
574  * \brief Failed to process received HEARTBEAT submessage
575  * \ingroup RTPSLogCodesClass
576  */
577 #define RTPS_LOG_PROCESS_HEARTBEAT_EC (RTPS_LOG_BASE + 60)
578 #define RTPS_LOG_PROCESS_HEARTBEAT(level_) \
579 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_PROCESS_HEARTBEAT_EC,\
580  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
581 
582 /*ce
583  * \brief Failed to create periodic HEARTBEAT event
584  * \ingroup RTPSLogCodesClass
585  */
586 #define RTPS_LOG_CREATE_HB_EVENT_EC (RTPS_LOG_BASE + 61)
587 #define RTPS_LOG_CREATE_HB_EVENT(level_) \
588 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_CREATE_HB_EVENT_EC,\
589  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
590 
591 /*ce
592  * \brief Failed to create periodic HEARTBEAT event timer
593  * \ingroup RTPSLogCodesClass
594  */
595 #define RTPS_LOG_CREATE_EVENT_TIMER_EC (RTPS_LOG_BASE + 62)
596 #define RTPS_LOG_CREATE_EVENT_TIMER(level_) \
597 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_CREATE_EVENT_TIMER_EC,\
598  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
599 
600 /*ce
601  * \brief Failed to set bitmap bit due to out-of-range sequence number
602  * \ingroup RTPSLogCodesClass
603  */
604 #define RTPS_LOG_SEQ_NUM_OUT_OF_RANGE_EC (RTPS_LOG_BASE + 63)
605 #define RTPS_LOG_SEQ_NUM_OUT_OF_RANGE(level_,dist_,bc_) \
606 OSAPI_LOG_ENTRY_ADD_2INT((level_),RTPS_LOG_SEQ_NUM_OUT_OF_RANGE_EC,\
607  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,\
608  "distance",(dist_),"bitcount",(bc_))
609 
610 /*ce
611  * \brief Invalid range of sequence numbers to fill in bitmap
612  * \ingroup RTPSLogCodesClass
613  */
614 #define RTPS_LOG_FIRST_SN_GREATER_LAST_SN_EC (RTPS_LOG_BASE + 65)
615 #define RTPS_LOG_FIRST_SN_GREATER_THAN_LAST_SN(level_) \
616 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_FIRST_SN_GREATER_LAST_SN_EC,\
617  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
618 
619 /*ce
620  * \brief Deserialized an invalid out-of-bounds bitcount for a bitmap
621  * \ingroup RTPSLogCodesClass
622  */
623 #define RTPS_LOG_BITCOUNT_OUT_OF_BOUNDS_EC (RTPS_LOG_BASE + 66)
624 #define RTPS_LOG_BITCOUNT_OUT_OF_BOUNDS(level_,bc_) \
625 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_SEQ_NUM_OUT_OF_RANGE_EC,\
626  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"bitcount",(bc_))
627 
628 /*ce
629  * \brief Failed to shift bitmap due to invalid starting sequence number
630  * \ingroup RTPSLogCodesClass
631  */
632 #define RTPS_LOG_SHIFT_SN_OUT_OF_RANGE_EC (RTPS_LOG_BASE + 67)
633 #define RTPS_LOG_SHIFT_SEQ_NUM_OUT_OF_RANGE(level_) \
634 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SHIFT_SN_OUT_OF_RANGE_EC,\
635  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
636 
637 /*ce
638  * \brief Failed to serialize host ID of GUID
639  * \ingroup RTPSLogCodesClass
640  */
641 #define RTPS_LOG_SERIALIZE_HOST_ID_EC (RTPS_LOG_BASE + 68)
642 #define RTPS_LOG_SERIALIZE_HOST_ID(level_) \
643 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SERIALIZE_HOST_ID_EC,\
644  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
645 
646 /*ce
647  * \brief Failed to serialize app ID of GUID
648  * \ingroup RTPSLogCodesClass
649  */
650 #define RTPS_LOG_SERIALIZE_APP_ID_EC (RTPS_LOG_BASE + 69)
651 #define RTPS_LOG_SERIALIZE_APP_ID(level_) \
652 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SERIALIZE_APP_ID_EC,\
653  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
654 
655 /*ce
656  * \brief Failed to serialized instance ID of GUID
657  * \ingroup RTPSLogCodesClass
658  */
659 #define RTPS_LOG_SERIALIZE_INSTANCE_ID_EC (RTPS_LOG_BASE + 70)
660 #define RTPS_LOG_SERIALIZE_INSTANCE_ID(level_) \
661 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SERIALIZE_INSTANCE_ID_EC,\
662  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
663 
664 /*ce
665  * \brief Failed to serialize object ID of GUID
666  * \ingroup RTPSLogCodesClass
667  */
668 #define RTPS_LOG_SERIALIZE_OBJECT_ID_EC (RTPS_LOG_BASE + 71)
669 #define RTPS_LOG_SERIALIZE_OBJECT_ID(level_) \
670 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SERIALIZE_OBJECT_ID_EC,\
671  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
672 
673 /*ce
674  * \brief Failed to deserialize host ID of GUID
675  * \ingroup RTPSLogCodesClass
676  */
677 #define RTPS_LOG_DESERIALIZE_HOST_ID_EC (RTPS_LOG_BASE + 72)
678 #define RTPS_LOG_DESERIALIZE_HOST_ID(level_) \
679 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DESERIALIZE_HOST_ID_EC,\
680  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
681 
682 /*ce
683  * \brief Faild to deserialize app ID of GUID
684  * \ingroup RTPSLogCodesClass
685  */
686 #define RTPS_LOG_DESERIALIZE_APP_ID_EC (RTPS_LOG_BASE + 73)
687 #define RTPS_LOG_DESERIALIZE_APP_ID(level_) \
688 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DESERIALIZE_APP_ID_EC,\
689  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
690 
691 /*ce
692  * \brief Failed to deserialize instance ID of GUID
693  * \ingroup RTPSLogCodesClass
694  */
695 #define RTPS_LOG_DESERIALIZE_INSTANCE_ID_EC (RTPS_LOG_BASE + 74)
696 #define RTPS_LOG_DESERIALIZE_INSTANCE_ID(level_) \
697 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DESERIALIZE_INSTANCE_ID_EC,\
698  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
699 
700 /*ce
701  * \brief Failed to deserialize object ID of GUID
702  * \ingroup RTPSLogCodesClass
703  */
704 #define RTPS_LOG_DESERIALIZE_OBJECT_ID_EC (RTPS_LOG_BASE + 75)
705 #define RTPS_LOG_DESERIALIZE_OBJECT_ID(level_) \
706 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DESERIALIZE_OBJECT_ID_EC,\
707  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
708 
709 /*ce
710  * \brief Failed to create database entry for external bind table.
711  *
712  * \details If DomainParticipant, may have exceeded
713  * DomainParticipantQos.resource_limits.matching_reader_writer_pair_allocation.
714  * \ingroup RTPSLogCodesClass
715  */
716 #define RTPS_LOG_DB_CREATE_EXT_BIND_ENTRY_EC (RTPS_LOG_BASE + 76)
717 #define RTPS_LOG_DB_CREATE_EXT_BIND_ENTRY(level_) \
718 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DB_CREATE_EXT_BIND_ENTRY_EC,\
719  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
720 
721 /*ce
722  * \brief Failed to set bit in bitmap
723  *
724  * \ingroup RTPSLogCodesClass
725  */
726 #define RTPS_LOG_BITMAP_SET_BIT_EC (RTPS_LOG_BASE + 77)
727 #define RTPS_LOG_BITMAP_SET_BIT(level_) \
728 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_BITMAP_SET_BIT_EC,\
729  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
730 
731 /*ce
732  * \brief Received and dropped currently unsupported INFO_REPLY submessage
733  * \ingroup RTPSLogCodesClass
734  */
735 #define RTPS_LOG_UNSUPPORTED_INFO_REPLY_EC (RTPS_LOG_BASE + 78)
736 #define RTPS_LOG_UNSUPPORTED_INFO_REPLY(level_) \
737 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_UNSUPPORTED_INFO_REPLY_EC,\
738  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
739 
740 /*ce
741  * \brief Received and dropped currently unsupported INFO_REPLY_IP4 submessage
742  * \ingroup RTPSLogCodesClass
743  */
744 #define RTPS_LOG_UNSUPPORTED_INFO_REPLY_IP4_EC (RTPS_LOG_BASE + 79)
745 #define RTPS_LOG_UNSUPPORTED_INFO_REPLY_IP4(level_) \
746 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_UNSUPPORTED_INFO_REPLY_IP4_EC,\
747  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
748 
749 /*ce
750  * \brief Received and dropped currently unsupported INFO_SRC submessage
751  * \ingroup RTPSLogCodesClass
752  */
753 #define RTPS_LOG_UNSUPPORTED_INFO_SRC_EC (RTPS_LOG_BASE + 80)
754 #define RTPS_LOG_UNSUPPORTED_INFO_SRC(level_) \
755 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_UNSUPPORTED_INFO_SRC_EC,\
756  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
757 
758 /*ce
759  * \brief Failed to delete index of a database table
760  * \ingroup RTPSLogCodesClass
761  */
762 #define RTPS_LOG_DELETE_INDEX_EC (RTPS_LOG_BASE + 81)
763 #define RTPS_LOG_DELETE_INDEX(level_,dbrc_) \
764 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DELETE_INDEX_EC,\
765  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
766 
767 /*ce
768  * \brief Failed to delete a database table
769  * \ingroup RTPSLogCodesClass
770  */
771 #define RTPS_LOG_DELETE_TABLE_EC (RTPS_LOG_BASE + 82)
772 #define RTPS_LOG_DELETE_TABLE(level_,dbrc_) \
773 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DELETE_TABLE_EC,\
774  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
775 
776 /*ce
777  * \brief Failed to take database lock
778  * \ingroup RTPSLogCodesClass
779  */
780 #define RTPS_LOG_DB_LOCK_EC (RTPS_LOG_BASE + 83)
781 #define RTPS_LOG_DB_LOCK(level_) \
782 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DB_LOCK_EC,\
783  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
784 
785 /*ce
786  * \brief Failed to give database lock
787  * \ingroup RTPSLogCodesClass
788  */
789 #define RTPS_LOG_DB_UNLOCK_EC (RTPS_LOG_BASE + 84)
790 #define RTPS_LOG_DB_UNLOCK(level_) \
791 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DB_UNLOCK_EC,\
792  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
793 
794 /*ce
795  * \brief Failed to create a database table for storing RTPS bind info
796  * \ingroup RTPSLogCodesClass
797  */
798 #define RTPS_LOG_CREATE_BIND_TABLE_EC (RTPS_LOG_BASE + 85)
799 #define RTPS_LOG_CREATE_BIND_TABLE(level_,dbrc_) \
800 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_CREATE_BIND_TABLE_EC,\
801  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
802 
803 /*ce
804  * \brief Failed to update status for reliable reader activity changed.
805  * \ingroup RTPSLogCodesClass
806  */
807 #define RTPS_LOG_STATUS_CHANGE_EC (RTPS_LOG_BASE + 86)
808 #define RTPS_LOG_STATUS_CHANGE(level_) \
809 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_STATUS_CHANGE_EC,\
810  OSAPI_LOG_MSG_PN_X2_STD_PARAM )
811 
812 /*ce
813  * \brief Failed to update status for reliable reader activity changed.
814  * \ingroup RTPSLogCodesClass
815  */
816 #define RTPS_LOG_SET_GAP_EC (RTPS_LOG_BASE + 87)
817 #define RTPS_LOG_SET_GAP(level_,start_,end_,sffx_) \
818 OSAPI_LOG_ENTRY_CREATE((level_),RTPS_LOG_SET_GAP_EC,\
819  OSAPI_LOG_MSG_PN_X2_STD_PARAM,RTI_FALSE)\
820  OSAPI_LOG_ENTRY_ADD_INT("start",(start_),RTI_FALSE)\
821  OSAPI_LOG_ENTRY_ADD_INT("end",(end_),RTI_FALSE)\
822  OSAPI_LOG_ENTRY_ADD_INT("suffix",(sffx_),RTI_TRUE)
823 
824 /*ce
825  * \brief Out of memory to allocate send window pool
826  * \ingroup RTPSLogCodesClass
827  */
828 #define RTPS_LOG_WINDOW_POOL_ALLOC_EC (RTPS_LOG_BASE + 88)
829 #define RTPS_LOG_WINDOW_POOL_ALLOC(level_,size_,count_) \
830 OSAPI_LOG_ENTRY_ADD_2INT((level_),RTPS_LOG_WINDOW_POOL_ALLOC_EC,\
831  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,\
832  "size",(size_),"count",(count_))
833 
834 /*ce
835  * \brief Failed to get buffer from send window pool
836  * \ingroup RTPSLogCodesClass
837  */
838 #define RTPS_LOG_GET_WINDOW_BUFFER_EC (RTPS_LOG_BASE + 89)
839 #define RTPS_LOG_GET_WINDOW_BUFFER(level_) \
840 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_GET_WINDOW_BUFFER_EC,\
841  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
842 
843 /*ce
844  * \brief Cannot insert sample into full window
845  * \ingroup RTPSLogCodesClass
846  */
847 #define RTPS_LOG_INSERT_WINDOW_FULL_EC (RTPS_LOG_BASE + 90)
848 #define RTPS_LOG_INSERT_WINDOW_FULL(level_) \
849 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INSERT_WINDOW_FULL_EC,\
850  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
851 
852 /*ce
853  * \brief Failed to insert sample into send window
854  * \ingroup RTPSLogCodesClass
855  */
856 #define RTPS_LOG_WINDOW_INSERT_EC (RTPS_LOG_BASE + 91)
857 #define RTPS_LOG_WINDOW_INSERT(level_) \
858 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_WINDOW_INSERT_EC,\
859  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
860 
861 /*ce
862  * \brief Failed to delete a timeout event
863  * \ingroup RTPSLogCodesClass
864  */
865 #define RTPS_LOG_TIMER_DELETE_TIMEOUT_EC (RTPS_LOG_BASE + 92)
866 #define RTPS_LOG_TIMER_DELETE_TIMEOUT(level_) \
867 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_TIMER_DELETE_TIMEOUT_EC,\
868  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
869 
870 /*ce
871  * \brief Failed to delete a buffer pool
872  * \ingroup RTPSLogCodesClass
873  */
874 #define RTPS_LOG_BUFFERPOOL_DELETE_EC (RTPS_LOG_BASE + 93)
875 #define RTPS_LOG_BUFFERPOOL_DELETE(level_) \
876 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_BUFFERPOOL_DELETE_EC,\
877  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
878 
879 /*ce
880  * \brief Failed to send a message to a specific peer
881  * \ingroup RTPSLogCodesClass
882  */
883 #define RTPS_LOG_DIRECT_SEND_EC (RTPS_LOG_BASE + 94)
884 #define RTPS_LOG_DIRECT_SEND(level_) \
885 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DIRECT_SEND_EC,\
886  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
887 
888 /*ce
889  * \brief RTPS writer failed to initialize a packet
890  * \ingroup RTPSLogCodesClass
891  */
892 #define RTPS_LOG_PACKET_INITIALIZE_EC (RTPS_LOG_BASE + 95)
893 #define RTPS_LOG_PACKET_INITIALIZE(level_) \
894 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_PACKET_INITIALIZE_EC,\
895  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
896 
897 /*ce
898  * \brief RTPS reliable writer failed to request and resend history
899  * \ingroup RTPSLogCodesClass
900  */
901 #define RTPS_LOG_WRITER_REQUEST_SENT_HISTORY_EC (RTPS_LOG_BASE + 96)
902 #define RTPS_LOG_WRITER_REQUEST_SEND_HISTORY(level_) \
903 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_WRITER_REQUEST_SENT_HISTORY_EC,\
904  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
905 
906 /*ce
907  * \brief Failed to shift bitmap to new lead sequence number
908  * \ingroup RTPSLogCodesClass
909  */
910 #define RTPS_LOG_BITMAP_SHIFT_EC (RTPS_LOG_BASE + 97)
911 #define RTPS_LOG_BITMAP_SHIFT(level_) \
912 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_BITMAP_SHIFT_EC,\
913  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
914 
915 /*ce
916  * \brief Send window of a remote reader failed to advance
917  * \ingroup RTPSLogCodesClass
918  */
919 #define RTPS_LOG_WINDOW_ADVANCE_EC (RTPS_LOG_BASE + 98)
920 #define RTPS_LOG_WINDOW_ADVANCE(level_) \
921 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_WINDOW_ADVANCE_EC,\
922  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
923 
924 /*ce
925  * \brief Failed when advancing window ahead of unacknowledged sequence number
926  * \ingroup RTPSLogCodesClass
927  */
928 #define RTPS_LOG_WINDOW_ADVANCE_UNACKED_EC (RTPS_LOG_BASE + 99)
929 #define RTPS_LOG_WINDOW_ADVANCE_UNACKED(level_) \
930 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_WINDOW_ADVANCE_UNACKED_EC,\
931  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
932 
933 /*ce
934  * \brief Failed to find peer that should exist
935  * \ingroup RTPSLogCodesClass
936  */
937 #define RTPS_LOG_LOOKUP_PEER_EC (RTPS_LOG_BASE + 100)
938 #define RTPS_LOG_LOOKUP_PEER(level_) \
939 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_LOOKUP_PEER_EC,\
940  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
941 
942 /*ce
943  * \brief RTPS reader failed to send an ACKNACK message
944  * \ingroup RTPSLogCodesClass
945  */
946 #define RTPS_LOG_READER_SEND_ACKNACK_EC (RTPS_LOG_BASE + 101)
947 #define RTPS_LOG_READER_SEND_ACKNACK(level_) \
948 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_READER_SEND_ACKNACK_EC,\
949  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
950 
951 /*ce
952  * \brief Failed to finalize an RTPS interface
953  * \ingroup RTPSLogCodesClass
954  */
955 #define RTPS_LOG_FINALIZE_INTERFACE_EC (RTPS_LOG_BASE + 102)
956 #define RTPS_LOG_FINALIZE_INTERFACE(level_) \
957 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_FINALIZE_INTERFACE_EC,\
958  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
959 
960 /*ce
961  * \brief Failed to remove index entry for external interface upon deleting
962  * RTPS interface
963  * \ingroup RTPSLogCodesClass
964  */
965 #define RTPS_LOG_INDEXER_REMOVE_ENTRY_EC (RTPS_LOG_BASE + 103)
966 #define RTPS_LOG_INDEXER_REMOVE_ENTRY(level_) \
967 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INDEXER_REMOVE_ENTRY_EC,\
968  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
969 
970 /*ce
971  * \brief Failed when looking up external bind entry from database
972  * \ingroup RTPSLogCodesClass
973  */
974 #define RTPS_LOG_LOOKUP_EXT_BIND_ENTRY_EC (RTPS_LOG_BASE + 104)
975 #define RTPS_LOG_LOOKUP_EXT_BIND_ENTRY(level_,dbrc_) \
976 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_LOOKUP_EXT_BIND_ENTRY_EC,\
977  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
978 
979 /*ce
980  * \brief Failed to initialize a local sequence
981  * \ingroup RTPSLogCodesClass
982  */
983 #define RTPS_LOG_SEQ_INIT_EC (RTPS_LOG_BASE + 105)
984 #define RTPS_LOG_SEQ_INIT(level_) \
985 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SEQ_INIT_EC,\
986  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
987 
988 /*ce
989  * \brief Failed to set maximum of a local sequence
990  * \ingroup RTPSLogCodesClass
991  */
992 #define RTPS_LOG_SEQ_MAX_EC (RTPS_LOG_BASE + 106)
993 #define RTPS_LOG_SEQ_MAX(level_) \
994 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SEQ_MAX_EC,\
995  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
996 
997 /*ce
998  * \brief Failed to set length of a local sequence
999  * \ingroup RTPSLogCodesClass
1000  */
1001 #define RTPS_LOG_SEQ_LEN_EC (RTPS_LOG_BASE + 107)
1002 #define RTPS_LOG_SEQ_LEN(level_) \
1003 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_SEQ_LEN_EC,\
1004  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
1005 
1006 /*ce
1007  * \brief Initializing an RTPS interface with undefined mode
1008  * \ingroup RTPSLogCodesClass
1009  */
1010 #define RTPS_LOG_INTF_MODE_UNDEF_EC (RTPS_LOG_BASE + 108)
1011 #define RTPS_LOG_INTF_MODE_UNDEF(level_) \
1012 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_INTF_MODE_UNDEF_EC,\
1013  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
1014 
1015 /*ce
1016  * \brief Failed to delete buffer pool
1017  * \details May still have buffers in use, thus cannot delete pool.
1018  * \ingroup RTPSLogCodesClass
1019  */
1020 #define RTPS_LOG_DELETE_BUFFER_POOL_EC (RTPS_LOG_BASE + 109)
1021 #define RTPS_LOG_DELETE_BUFFER_POOL(level_) \
1022 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DELETE_BUFFER_POOL_EC,\
1023  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
1024 
1025 /*ce
1026  * \brief Failed to create buffer pool
1027  * \details May have insufficient memory to allocate pool.
1028  * \ingroup RTPSLogCodesClass
1029  */
1030 #define RTPS_LOG_CREATE_BUFFER_POOL_EC (RTPS_LOG_BASE + 110)
1031 #define RTPS_LOG_CREATE_BUFFER_POOL(level_,size_,count_) \
1032 OSAPI_LOG_ENTRY_ADD_2INT((level_),RTPS_LOG_CREATE_BUFFER_POOL_EC,\
1033  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,\
1034  "size",(size_),"count",(count_))
1035 
1036 /*ce
1037  * \brief Failed to create index of peers
1038  * \details System may have insufficient memory to allocate new index.
1039  * \ingroup RTPSLogCodesClass
1040  */
1041 #define RTPS_LOG_CREATE_PEERS_INDEX_EC (RTPS_LOG_BASE + 111)
1042 #define RTPS_LOG_CREATE_PEERS_INDEX(level_) \
1043 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_CREATE_PEERS_INDEX_EC,\
1044  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
1045 
1046 
1047 /*ce
1048  * \brief Failed to delete indexer
1049  * \ingroup RTPSLogCodesClass
1050  */
1051 #define RTPS_LOG_DELETE_INDEXER_EC (RTPS_LOG_BASE + 112)
1052 #define RTPS_LOG_DELETE_INDEXER(level_) \
1053 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_DELETE_INDEXER_EC,\
1054  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
1055 
1056 /*ce
1057  * \brief Failed to get buffer from peer buffer pool
1058  * \ingroup RTPSLogCodesClass
1059  */
1060 #define RTPS_LOG_GET_PEER_BUFFER_EC (RTPS_LOG_BASE + 113)
1061 #define RTPS_LOG_GET_PEER_BUFFER(level_) \
1062 OSAPI_LOG_ENTRY_ADD((level_),RTPS_LOG_GET_PEER_BUFFER_EC,\
1063  OSAPI_LOG_MSG_PN_X2_STD_PARAM)
1064 
1065 
1066 /*ce
1067  * \brief Failed to create database index for direct sends
1068  * \ingroup RTPSLogCodesClass
1069  */
1070 #define RTPS_LOG_DB_CREATE_DIRECT_INDEX_EC (RTPS_LOG_BASE + 114)
1071 #define RTPS_LOG_DB_CREATE_DIRECT_INDEX(level_,dbrc_) \
1072 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_CREATE_DIRECT_INDEX_EC,\
1073  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
1074 
1075 
1076 /*ce
1077  * \brief Failed to create database index for group sends
1078  * \ingroup RTPSLogCodesClass
1079  */
1080 #define RTPS_LOG_DB_CREATE_GROUP_INDEX_EC (RTPS_LOG_BASE + 115)
1081 #define RTPS_LOG_DB_CREATE_GROUP_INDEX(level_,dbrc_) \
1082 OSAPI_LOG_ENTRY_ADD_1INT((level_),RTPS_LOG_DB_CREATE_GROUP_INDEX_EC,\
1083  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"dbrc",(dbrc_))
1084 
1085 #endif /* rtps_log_h */

RTI Connext DDS Micro Version 2.4.6 Copyright © Sun Jan 24 2016 Real-Time Innovations, Inc