rmw  master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
qos_profiles.h
Go to the documentation of this file.
1 // Copyright 2015 Open Source Robotics Foundation, Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef RMW__QOS_PROFILES_H_
16 #define RMW__QOS_PROFILES_H_
17 
18 #if __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 #include "rmw/types.h"
24 
25 static const rmw_qos_profile_t rmw_qos_profile_sensor_data =
26 {
28  5,
29  RMW_QOS_POLICY_RELIABILITY_BEST_EFFORT,
30  RMW_QOS_POLICY_DURABILITY_VOLATILE,
31  false
32 };
33 
34 static const rmw_qos_profile_t rmw_qos_profile_parameters =
35 {
37  1000,
39  RMW_QOS_POLICY_DURABILITY_VOLATILE,
40  false
41 };
42 
43 static const rmw_qos_profile_t rmw_qos_profile_default =
44 {
46  10,
48  RMW_QOS_POLICY_DURABILITY_VOLATILE,
49  false
50 };
51 
52 static const rmw_qos_profile_t rmw_qos_profile_services_default =
53 {
55  10,
57  RMW_QOS_POLICY_DURABILITY_VOLATILE,
58  false
59 };
60 
61 static const rmw_qos_profile_t rmw_qos_profile_parameter_events =
62 {
63  RMW_QOS_POLICY_HISTORY_KEEP_ALL,
64  1000,
66  RMW_QOS_POLICY_DURABILITY_VOLATILE,
67  false
68 };
69 
70 static const rmw_qos_profile_t rmw_qos_profile_system_default =
71 {
76  false
77 };
78 
79 #if __cplusplus
80 }
81 #endif
82 
83 #endif // RMW__QOS_PROFILES_H_
RMW_QOS_POLICY_RELIABILITY_RELIABLE
Definition: types.h:179
RMW_QOS_POLICY_HISTORY_SYSTEM_DEFAULT
Definition: types.h:186
RMW_QOS_POLICY_DURABILITY_SYSTEM_DEFAULT
Definition: types.h:193
RMW_QOS_POLICY_HISTORY_KEEP_LAST
Definition: types.h:186
RMW_QOS_POLICY_RELIABILITY_SYSTEM_DEFAULT
Definition: types.h:179
Definition: types.h:198