RTI Connext Micro  Version 2.4.1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
disc_dpde_log.h
Go to the documentation of this file.
1 /*
2  * FILE: disc_dpde_log.h - DPDE log definitions
3  *
4  * (c) Copyright 2011-2014 Real-Time Innovations,
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  * 16aug2011,tk Created
16  */
17 
18 /*ce
19  * \file
20  * \defgroup DPDELogCodesClass DPDE
21  * \brief DPDE. ModuleID = 11
22  * \ingroup LoggingModule
23  */
24 #ifndef disc_dpde_log_h
25 #define disc_dpde_log_h
26 
27 #ifndef osapi_log_h
28 #include "osapi/osapi_log.h"
29 #endif
30 
31 /*ce
32  * \brief Failed to set current offset of stream
33  * \ingroup DPDELogCodesClass
34  */
35 #define DPDE_LOG_CDR_SET_OFFSET (DPDE_LOG_BASE + 1)
36 #define DPDE_Log_cdr_set_offset(level_,offset_) \
37 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CDR_SET_OFFSET,\
38  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
39  "offset=%d",(offset_))
40 
41 /*ce
42  * \brief Failed to serialize Entity Name parameter
43  * \ingroup DPDELogCodesClass
44  */
45 #define DPDE_LOG_SERIALIZE_ENTITY_NAME (DPDE_LOG_BASE + 2)
46 #define DPDE_Log_serialize_entity_name(level_) \
47 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_ENTITY_NAME,\
48  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
49 
50 /*ce
51  * \brief Failed to serialize Topic Name parameter
52  * \ingroup DPDELogCodesClass
53  */
54 #define DPDE_LOG_SERIALIZE_TOPIC_NAME (DPDE_LOG_BASE + 3)
55 #define DPDE_Log_serialize_topic_name(level_) \
56 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_TOPIC_NAME,\
57  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
58 
59 /*ce
60  * \brief Failed to serialize Type Name parameter
61  * \ingroup DPDELogCodesClass
62  */
63 #define DPDE_LOG_SERIALIZE_TYPE_NAME (DPDE_LOG_BASE + 4)
64 #define DPDE_Log_serialize_type_name(level_) \
65 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_TYPE_NAME,\
66  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
67 
68 /*ce
69  * \brief Failed to serialize GUID key
70  * \ingroup DPDELogCodesClass
71  */
72 #define DPDE_LOG_SERIALIZE_GUID (DPDE_LOG_BASE + 5)
73 #define DPDE_Log_serialize_guid(level_) \
74 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_GUID,\
75  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
76 
77 /*ce
78  * \brief Failed to serialize Default Unicast Locator parameter
79  * \ingroup DPDELogCodesClass
80  */
81 #define DPDE_LOG_SERIALIZE_DEFAULT_UNICAST (DPDE_LOG_BASE + 6)
82 #define DPDE_Log_serialize_default_unicast(level_) \
83 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_DEFAULT_UNICAST,\
84  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
85 
86 /*ce
87  * \brief Failed to serialize Protocol Version parameter
88  * \ingroup DPDELogCodesClass
89  */
90 #define DPDE_LOG_SERIALIZE_PROTOCOL_VERSION (DPDE_LOG_BASE + 7)
91 #define DPDE_Log_serialize_protocol_version(level_) \
92 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_PROTOCOL_VERSION,\
93  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
94 
95 /*ce
96  * \brief Failed to deserialize Protocol Version parameter
97  * \ingroup DPDELogCodesClass
98  */
99 #define DPDE_LOG_DESERIALIZE_PROTOCOL_VERSION (DPDE_LOG_BASE + 8)
100 #define DPDE_Log_deserialize_protocol_version(level_) \
101 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DESERIALIZE_PROTOCOL_VERSION,\
102  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
103 
104 /*ce
105  * \brief Failed to deserialize Vendor ID parameter
106  * \ingroup DPDELogCodesClass
107  */
108 #define DPDE_LOG_DESERIALIZE_VENDOR_ID (DPDE_LOG_BASE + 9)
109 #define DPDE_Log_deserialize_vendor_id(level_) \
110 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DESERIALIZE_VENDOR_ID,\
111  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
112 
113 /*ce
114  * \brief Failed to serialize Vendor ID parameter
115  * \ingroup DPDELogCodesClass
116  */
117 #define DPDE_LOG_SERIALIZE_VENDOR_ID (DPDE_LOG_BASE + 10)
118 #define DPDE_Log_serialize_vendor_id(level_) \
119 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_VENDOR_ID,\
120  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
121 
122 /*ce
123  * \brief Failed to serialize Product Version parameter
124  * \ingroup DPDELogCodesClass
125  */
126 #define DPDE_LOG_SERIALIZE_PRODUCT_VERSION (DPDE_LOG_BASE + 11)
127 #define DPDE_Log_serialize_product_version(level_) \
128 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_PRODUCT_VERSION,\
129  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
130 
131 /*ce
132  * \brief Failed to serialize Lease Duration parameter
133  * \ingroup DPDELogCodesClass
134  */
135 #define DPDE_LOG_SERIALIZE_LEASE_DURATION (DPDE_LOG_BASE + 12)
136 #define DPDE_Log_serialize_lease_duration(level_) \
137 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_LEASE_DURATION,\
138  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
139 
140 /*ce
141  * \brief Failed to create Publisher for built-in endpoint DataWriters
142  * \ingroup DPDELogCodesClass
143  */
144 #define DPDE_LOG_CREATE_PUBLISHER (DPDE_LOG_BASE + 13)
145 #define DPDE_Log_create_publisher(level_) \
146 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_PUBLISHER,\
147  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
148 
149 /*ce
150  * \brief Failed to create Subscriber for built-in endpoint DataReaders
151  * \ingroup DPDELogCodesClass
152  */
153 #define DPDE_LOG_CREATE_SUBSCRIBER (DPDE_LOG_BASE + 14)
154 #define DPDE_Log_create_subscriber(level_) \
155 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_SUBSCRIBER,\
156  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
157 
158 /*ce
159  * \brief Failed to create built-in endpoint for participant discovery after
160  * creating local user DomainParticipant
161  * \ingroup DPDELogCodesClass
162  */
163 #define DPDE_LOG_CREATE_PARTICIPANT_DISCOVERY (DPDE_LOG_BASE + 15)
164 #define DPDE_Log_create_participant_discovery(level_) \
165 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_PARTICIPANT_DISCOVERY,\
166  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
167 
168 /*ce
169  * \brief Failed to create built-in publication endpoint after creating local
170  * user DomainParticipant
171  * \ingroup DPDELogCodesClass
172  */
173 #define DPDE_LOG_CREATE_PUBLICATION_DISCOVERY (DPDE_LOG_BASE + 16)
174 #define DPDE_Log_create_publication_discovery(level_) \
175 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_PUBLICATION_DISCOVERY,\
176  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
177 
178 /*ce
179  * \brief Failed to create built-in subscription endpoint after creating local
180  * DomainParticipant
181  * \ingroup DPDELogCodesClass
182  */
183 #define DPDE_LOG_CREATE_SUBSCRIPTION_DISCOVERY (DPDE_LOG_BASE + 17)
184 #define DPDE_Log_create_subscription_discovery(level_) \
185 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_SUBSCRIPTION_DISCOVERY,\
186  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
187 
188 /*ce
189  * \brief Failed to delete subscription built-in topic
190  * \ingroup DPDELogCodesClass
191  */
192 #define DPDE_LOG_DELETE_SUBSCRIPTION_TOPIC (DPDE_LOG_BASE + 18)
193 #define DPDE_Log_delete_subscription_topic(level_) \
194 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DELETE_SUBSCRIPTION_TOPIC,\
195  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
196 
197 /*ce
198  * \brief Failed to delete publication built-in topic
199  * \ingroup DPDELogCodesClass
200  */
201 #define DPDE_LOG_DELETE_PUBLICATION_TOPIC (DPDE_LOG_BASE + 19)
202 #define DPDE_Log_delete_publication_topic(level_) \
203 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DELETE_PUBLICATION_TOPIC,\
204  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
205 
206 /*ce
207  * \brief Failed to delete participant built-in topic
208  * \ingroup DPDELogCodesClass
209  */
210 #define DPDE_LOG_DELETE_PARTICIPANT_TOPIC (DPDE_LOG_BASE + 20)
211 #define DPDE_Log_delete_participant_topic(level_) \
212 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DELETE_PARTICIPANT_TOPIC,\
213  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
214 
215 /*ce
216  * \brief Failed to dispose built-in participant when
217  * deleting DomainParticipant
218  * \ingroup DPDELogCodesClass
219  */
220 #define DPDE_LOG_DISPOSE_PARTICIPANT (DPDE_LOG_BASE + 21)
221 #define DPDE_Log_dispose_participant(level_) \
222 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DISPOSE_PARTICIPANT,\
223  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
224 
225 /*ce
226  * \brief Out of memory to allocate discovery plugin
227  * \ingroup DPDELogCodesClass
228  */
229 #define DPDE_LOG_ALLOCATE_DPDE (DPDE_LOG_BASE + 22)
230 #define DPDE_Log_allocate_dpde(level_) \
231 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ALLOCATE_DPDE,\
232  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
233 
234 /*ce
235  * \brief Failed to serialize Builtin Endpoint Mask parameter
236  * \ingroup DPDELogCodesClass
237  */
238 #define DPDE_LOG_SERIALIZE_BUILTIN_ENDPOINTS (DPDE_LOG_BASE + 23)
239 #define DPDE_Log_serialize_builtin_endpoints(level_) \
240 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SERIALIZE_BUILTIN_ENDPOINTS,\
241  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
242 
243 /*ce
244  * \brief Failed to deserialize Builtin Endpoint Mask parameter
245  * \ingroup DPDELogCodesClass
246  */
247 #define DPDE_LOG_DESERIALIZE_BUILTIN_ENDPOINTS (DPDE_LOG_BASE + 24)
248 #define DPDE_Log_deserialize_builtin_endpoints(level_) \
249 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DESERIALIZE_BUILTIN_ENDPOINTS,\
250  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
251 
252 
253 /*ce
254  * \brief Deserialized a parameter of unknown ID
255  * \ingroup DPDELogCodesClass
256  */
257 #define DPDE_LOG_DESERIALIZE_UNKNOWN_PID (DPDE_LOG_BASE + 25)
258 #define DPDE_Log_deserialize_unknown_pid(level_,pid_,length_) \
259 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DESERIALIZE_UNKNOWN_PID,\
260  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
261  "pid=%d,length=%d",(pid_),(length_))
262 
263 /*ce
264  * \brief Failed to write a dynamic participant discovery message
265  * \ingroup DPDELogCodesClass
266  */
267 #define DPDE_LOG_ANNOUNCEMENT (DPDE_LOG_BASE + 26)
268 #define DPDE_Log_announcement(level_) \
269 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ANNOUNCEMENT,\
270  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
271 
272 /*ce
273  * \brief Failed to schedule an event to assert the next participant
274  * discovery announcement
275  * \ingroup DPDELogCodesClass
276  */
277 #define DPDE_LOG_UPDATE_PARTICIPANT_ASSERT_PERIOD (DPDE_LOG_BASE + 27)
278 #define DPDE_Log_update_participant_assert_period(level_) \
279 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_UPDATE_PARTICIPANT_ASSERT_PERIOD,\
280  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
281 
282 /*ce
283  * \brief Failed to advance the sequence number of a participant discovery
284  * announcement
285  * \ingroup DPDELogCodesClass
286  */
287 #define DPDE_LOG_ADVANCE_SN (DPDE_LOG_BASE + 28)
288 #define DPDE_Log_advance_sn(level_) \
289 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ADVANCE_SN,\
290  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
291 
292 /*ce
293  * \brief Failed to write initial participant discovery announcement
294  * \ingroup DPDELogCodesClass
295  */
296 #define DPDE_LOG_ANNOUNCE_WRITE (DPDE_LOG_BASE + 29)
297 #define DPDE_Log_announce_write(level_,ddsrc_) \
298 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ANNOUNCE_WRITE,\
299  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
300  "ddsrc=%d",(ddsrc_))
301 
302 /*ce
303  * \brief Failed to schedule event for asserting participant discovery
304  * announcements
305  * \ingroup DPDELogCodesClass
306  */
307 #define DPDE_LOG_SCHEDULE_FAST_ASSERTION (DPDE_LOG_BASE + 30)
308 #define DPDE_Log_schedule_fast_assertion(level_) \
309 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_SCHEDULE_FAST_ASSERTION,\
310  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
311 
312 /*ce
313  * \brief Failed to register a built-in type for discovery
314  * \ingroup DPDELogCodesClass
315  */
316 #define DPDE_LOG_REGISTER_TYPE (DPDE_LOG_BASE + 32)
317 #define DPDE_Log_register_type(level_,type_) \
318 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_REGISTER_TYPE,\
319  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
320  "type=%s",(type_))
321 
322 /*ce
323  * \brief Failed to create a topic for discovery
324  * \ingroup DPDELogCodesClass
325  */
326 #define DPDE_LOG_CREATE_TOPIC (DPDE_LOG_BASE + 33)
327 #define DPDE_Log_create_topic(level_,topic_,type_) \
328 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_TOPIC,\
329  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,2,\
330  "topic=%s,type=%s",(topic_),(type_))
331 
332 /*ce
333  * \brief Failed to create a built-in DataWriter for discovery
334  * \ingroup DPDELogCodesClass
335  */
336 #define DPDE_LOG_CREATE_WRITER (DPDE_LOG_BASE + 34)
337 #define DPDE_Log_create_writer(level_,topic_) \
338 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_WRITER,\
339  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
340  "topic=%s",(topic_))
341 
342 /*ce
343  * \brief Failed to create a built-in DataReader for discovery
344  * \ingroup DPDELogCodesClass
345  */
346 #define DPDE_LOG_CREATE_READER (DPDE_LOG_BASE + 35)
347 #define DPDE_Log_create_reader(level_,topic_) \
348 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_CREATE_READER,\
349  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
350  "topic=%s",(topic_))
351 
352 /*ce
353  * \brief Failed to assert and complete discovery of a remote participant
354  * \ingroup DPDELogCodesClass
355  */
356 #define DPDE_LOG_ASSERT_REMOTE_PARTICIPANT (DPDE_LOG_BASE + 36)
357 #define DPDE_Log_assert_remote_participant(level_) \
358 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ASSERT_REMOTE_PARTICIPANT,\
359  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
360 
361 /*ce
362  * \brief Failed to enable and complete discovery of a remote participant
363  * \ingroup DPDELogCodesClass
364  */
365 #define DPDE_LOG_ENABLE_REMOTE_PARTICIPANT (DPDE_LOG_BASE + 37)
366 #define DPDE_Log_enable_remote_participant(level_,ddsrc_) \
367 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ENABLE_REMOTE_PARTICIPANT,\
368  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
369  "ddsrc=%d",(ddsrc_))
370 
371 /*ce
372  * \brief Failed to refresh liveliness for a discovered remote participant
373  * \ingroup DPDELogCodesClass
374  */
375 #define DPDE_LOG_REFRESH_REMOTE_PARTICIPANT (DPDE_LOG_BASE + 38)
376 #define DPDE_Log_refresh_remote_participant(level_,ddsrc_) \
377 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_REFRESH_REMOTE_PARTICIPANT,\
378  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
379  "ddsrc=%d",(ddsrc_))
380 
381 /*ce
382  * \brief Failed to take a sample from a participant discovery DataReader
383  * \ingroup DPDELogCodesClass
384  */
385 #define DPDE_LOG_TAKE_PARTICIPANT_SAMPLE (DPDE_LOG_BASE + 39)
386 #define DPDE_Log_take_participant_sample(level_,ddsrc_) \
387 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_TAKE_PARTICIPANT_SAMPLE,\
388  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
389  "ddsrc=%d",(ddsrc_))
390 
391 /*ce
392  * \brief Received a participant discovery announcement with invalid state
393  * \ingroup DPDELogCodesClass
394  */
395 #define DPDE_LOG_INVALID_PARTICIPANT_SAMPLE (DPDE_LOG_BASE + 40)
396 #define DPDE_Log_invalid_participant_sample(level_,val_) \
397 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_INVALID_PARTICIPANT_SAMPLE,\
398  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,"state=%d",(val_))
399 
400 /*ce
401  * \brief Failed to return a loan on a participant discovery sample
402  * \ingroup DPDELogCodesClass
403  */
404 #define DPDE_LOG_RETURN_PARTICIPANT_SAMPLE (DPDE_LOG_BASE + 41)
405 #define DPDE_Log_return_participant_sample(level_,ddsrc_) \
406 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_RETURN_PARTICIPANT_SAMPLE,\
407  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
408  "ddsrc=%d",(ddsrc_))
409 
410 /*ce
411  * \brief Failed to dispose an instance for a publication
412  * \ingroup DPDELogCodesClass
413  */
414 #define DPDE_LOG_DISPOSE_PUBLICATION (DPDE_LOG_BASE + 42)
415 #define DPDE_Log_dispose_publication(level_,ddsrc_) \
416 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DISPOSE_PUBLICATION,\
417  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
418  "ddsrc=%d",(ddsrc_))
419 
420 /*ce
421  * \brief Failed to dispose an instance of a subscription
422  * \ingroup DPDELogCodesClass
423  */
424 #define DPDE_LOG_DISPOSE_SUBSCRIPTION (DPDE_LOG_BASE + 43)
425 #define DPDE_Log_dispose_subscription(level_,ddsrc_) \
426 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_DISPOSE_SUBSCRIPTION,\
427  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
428  "ddsrc=%d",(ddsrc_))
429 
430 /*ce
431  * \brief Failed to assert and complete discovery of a remote publication
432  * \ingroup DPDELogCodesClass
433  */
434 #define DPDE_LOG_ASSERT_REMOTE_PUBLICATION (DPDE_LOG_BASE + 44)
435 #define DPDE_Log_assert_remote_publication(level_,ddsrc_) \
436 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ASSERT_REMOTE_PUBLICATION,\
437  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
438  "ddsrc=%d",(ddsrc_))
439 
440 /*ce
441  * \brief Failed to assert and complete discovery of a remote subscription
442  * \ingroup DPDELogCodesClass
443  */
444 #define DPDE_LOG_ASSERT_REMOTE_SUBSCRIPTION (DPDE_LOG_BASE + 45)
445 #define DPDE_Log_assert_remote_subscription(level_,ddsrc_) \
446 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_ASSERT_REMOTE_SUBSCRIPTION,\
447  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
448  "ddsrc=%d",(ddsrc_))
449 
450 /*ce
451  * \brief Failed to take a sample from a publication discovery DataReader
452  * \ingroup DPDELogCodesClass
453  */
454 #define DPDE_LOG_TAKE_PUBLICATION_SAMPLE (DPDE_LOG_BASE + 46)
455 #define DPDE_Log_take_publication_sample(level_,ddsrc_) \
456 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_TAKE_PUBLICATION_SAMPLE,\
457  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
458  "ddsrc=%d",(ddsrc_))
459 
460 /*ce
461  * \brief Failed to dispose or unregister a remote publication instance
462  * \ingroup DPDELogCodesClass
463  */
464 #define DPDE_LOG_REMOVE_REMOTE_PUBLICATION (DPDE_LOG_BASE + 47)
465 #define DPDE_Log_remove_remote_publication(level_,ddsrc_) \
466 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_REMOVE_REMOTE_PUBLICATION,\
467  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
468  "ddsrc=%d",(ddsrc_))
469 
470 /*ce
471  * \brief Received a publication discovery announcement with invalid state
472  * \ingroup DPDELogCodesClass
473  */
474 #define DPDE_LOG_INVALID_PUBLICATION_SAMPLE (DPDE_LOG_BASE + 48)
475 #define DPDE_Log_invalid_publication_sample(level_) \
476 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_INVALID_PUBLICATION_SAMPLE,\
477  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
478 
479 /*ce
480  * \brief Failed to return a loan on a publication discovery sample
481  * \ingroup DPDELogCodesClass
482  */
483 #define DPDE_LOG_RETURN_PUBLICATION_SAMPLE (DPDE_LOG_BASE + 49)
484 #define DPDE_Log_return_publication_sample(level_,ddsrc_) \
485 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_RETURN_PUBLICATION_SAMPLE,\
486  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
487  "ddsrc=%d",(ddsrc_))
488 
489 /*ce
490  * \brief Failed to take a sample from a subscription discovery DataReader
491  * \ingroup DPDELogCodesClass
492  */
493 #define DPDE_LOG_TAKE_SUBSCRIPTION_SAMPLE (DPDE_LOG_BASE + 51)
494 #define DPDE_Log_take_subscription_sample(level_,ddsrc_) \
495 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_TAKE_SUBSCRIPTION_SAMPLE,\
496  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
497  "ddsrc=%d",(ddsrc_))
498 
499 /*ce
500  * \brief Received a subscription discovery sample with invalid state
501  * \ingroup DPDELogCodesClass
502  */
503 #define DPDE_LOG_INVALID_SUBSCRIPTION_SAMPLE (DPDE_LOG_BASE + 52)
504 #define DPDE_Log_invalid_subscription_sample(level_) \
505 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_INVALID_SUBSCRIPTION_SAMPLE,\
506  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
507 
508 /*ce
509  * \brief Failed to return a loan on a subscription discovery sample
510  * \ingroup DPDELogCodesClass
511  */
512 #define DPDE_LOG_RETURN_SUBSCRIPTION_SAMPLE (DPDE_LOG_BASE + 53)
513 #define DPDE_Log_return_subscription_sample(level_,ddsrc_) \
514 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_RETURN_SUBSCRIPTION_SAMPLE,\
515  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
516  "ddsrc=%d",(ddsrc_))
517 
518 /*ce
519  * \brief Failed to dispose or unregister a remote subscription instance
520  * \ingroup DPDELogCodesClass
521  */
522 #define DPDE_LOG_REMOVE_REMOTE_SUBSCRIPTION (DPDE_LOG_BASE + 54)
523 #define DPDE_Log_remove_remote_subscription(level_,ddsrc_) \
524 OSAPI_Log_msg_pN_X2((level_),DPDE_LOG_REMOVE_REMOTE_SUBSCRIPTION,\
525  OSAPI_LOG_MSG_PN_X2_STD_PARAM ,1,\
526  "ddsrc=%d",(ddsrc_))
527 
528 #endif
529 

RTI Connext Micro Version 2.4.1.0 Copyright © Thu Nov 20 2014 Real-Time Innovations, Inc