RTI Connext DDS Micro
Version 2.4.11
Main Page
Related Pages
Manuals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
cdr_log.h
Go to the documentation of this file.
1
/*
2
* FILE: cdr_log.h CDR Log definitions
3
*
4
* (c) Copyright, Real-Time Innovations, 2012-2015.
5
* All rights reserved.
6
*
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
* 14aug2012,kaj Written
15
*/
16
/*ce
17
* \file
18
* \defgroup CDRLogCodesClass CDR
19
* \brief CDR. ModuleID = 5
20
* \ingroup LoggingModule
21
*/
22
#ifndef cdr_log_h
23
#define cdr_log_h
24
25
#ifndef osapi_log_h
26
#include "osapi/osapi_log.h"
27
#endif
28
29
/*ce
30
* \brief Failed to allocate stream or stream buffer
31
* \ingroup CDRLogCodesClass
32
*/
33
#define CDR_LOG_STREAM_ALLOC_EC (CDR_LOG_BASE + 1)
34
#define CDR_LOG_STREAM_ALLOC(level_,size_) \
35
OSAPI_LOG_ENTRY_ADD_1INT((level_),CDR_LOG_STREAM_ALLOC_EC,\
36
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"size",(size_))
37
38
/*ce
39
* \brief Failed to set stream's current offset
40
* \ingroup CDRLogCodesClass
41
*/
42
#define CDR_LOG_SET_OFFSET_EC (CDR_LOG_BASE + 2)
43
#define CDR_LOG_SET_OFFSET(level_,offset_) \
44
OSAPI_LOG_ENTRY_ADD_1INT((level_),CDR_LOG_SET_OFFSET_EC,\
45
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"offset",(offset_))
46
47
48
/*ce
49
* \brief Failed to increament stream's current offset
50
* \ingroup CDRLogCodesClass
51
*/
52
#define CDR_LOG_INCR_OFFSET_EC (CDR_LOG_BASE + 3)
53
#define CDR_LOG_INCR_OFFSET(level_,offset_) \
54
OSAPI_LOG_ENTRY_ADD_1INT((level_),CDR_LOG_INCR_OFFSET_EC,\
55
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,"offset",(offset_))
56
57
58
#endif
/* cdr_log_h */
RTI Connext DDS Micro Version 2.4.11
Copyright © Mon Jul 23 2018
Real-Time Innovations, Inc