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
wh_sm_log.h
Go to the documentation of this file.
1
/*
2
* FILE: wh_sm_log.h - Writer 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
* \brief WH module log codes
21
*/
22
#ifndef wh_sm_log_h
23
#define wh_sm_log_h
24
25
#ifndef osapi_log_h
26
#include "osapi/osapi_log.h"
27
#endif
28
29
/*ce
30
* \defgroup WHLogCodesClass WH
31
* \brief Writer History. ModuleID = 9
32
* \ingroup LoggingModule
33
*/
34
35
/*ce
36
* \brief KEEP_ALL History kind is not supported
37
* \ingroup WHLogCodesClass
38
*/
39
#define WHSM_LOG_KEEP_ALL_HISTORY_NOT_SUPPORTED (WHSM_LOG_BASE + 1)
40
#define WHSM_Log_keep_all_history_not_supported(level_) \
41
OSAPI_Log_msg_pN_X2((level_),WHSM_LOG_KEEP_ALL_HISTORY_NOT_SUPPORTED,\
42
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
43
44
/*ce
45
* \brief Unlimited length resource limits unsupported
46
* \details Ensure that max_samples, max_samples_per_instance, and max_instances
47
* resource limits are all finite values
48
* \ingroup WHLogCodesClass
49
*/
50
#define WHSM_LOG_UNLIMITED_HISTORY_NOT_SUPPORTED (WHSM_LOG_BASE + 2)
51
#define WHSM_Log_unlimited_history_not_supported(level_) \
52
OSAPI_Log_msg_pN_X2((level_),WHSM_LOG_UNLIMITED_HISTORY_NOT_SUPPORTED,\
53
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
54
55
/*ce
56
* \brief DataWriterQos.resource_limits.max_samples set too small
57
*
58
* \details DataWriterQos.resource_limits.max_samples must be
59
* no less than max_instances * max_samples_per_instance
60
* \ingroup WHLogCodesClass
61
*/
62
#define WHSM_LOG_MAX_SAMPLES_TOO_SMALL (WHSM_LOG_BASE + 3)
63
#define WHSM_Log_max_samples_too_small(level_) \
64
OSAPI_Log_msg_pN_X2((level_),WHSM_LOG_MAX_SAMPLES_TOO_SMALL,\
65
OSAPI_LOG_MSG_PN_X2_STD_PARAM ,0)
66
67
#endif
68
RTI Connext Micro Version 2.4.1.0
Copyright © Thu Nov 20 2014
Real-Time Innovations, Inc