rmw  master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
qos_string_conversions.h
Go to the documentation of this file.
1 // Copyright 2020 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_STRING_CONVERSIONS_H_
16 #define RMW__QOS_STRING_CONVERSIONS_H_
17 
18 #include "rmw/types.h"
19 #include "rmw/visibility_control.h"
20 
21 #ifdef __cplusplus
22 extern "C"
23 {
24 #endif
25 
27 
49 const char *
51 
53 
75 const char *
77 
79 
83 const char *
85 
87 
91 const char *
93 
95 
99 const char *
101 
103 
123 rmw_qos_policy_kind_from_str(const char * str);
124 
126 
146 rmw_qos_durability_policy_from_str(const char * str);
147 
149 
154 rmw_qos_history_policy_from_str(const char * str);
155 
157 
162 rmw_qos_liveliness_policy_from_str(const char * str);
163 
164 
166 
171 rmw_qos_reliability_policy_from_str(const char * str);
172 
173 #ifdef __cplusplus
174 }
175 #endif
176 
177 #endif // RMW__QOS_STRING_CONVERSIONS_H_
rmw_qos_reliability_policy_to_str
const char * rmw_qos_reliability_policy_to_str(enum rmw_qos_reliability_policy_t value)
Return a string representing the policy value.
RMW_PUBLIC
#define RMW_PUBLIC
Definition: visibility_control.h:48
types.h
rmw_qos_history_policy_from_str
enum rmw_qos_history_policy_t rmw_qos_history_policy_from_str(const char *str)
Return a enum value based on the provided string.
rmw_qos_liveliness_policy_t
enum RMW_PUBLIC_TYPE rmw_qos_liveliness_policy_t
Definition: types.h:427
rmw_qos_durability_policy_from_str
enum rmw_qos_durability_policy_t rmw_qos_durability_policy_from_str(const char *str)
Return a enum value based on the provided string.
rmw_qos_history_policy_to_str
const char * rmw_qos_history_policy_to_str(enum rmw_qos_history_policy_t value)
Return a string representing the policy value.
rmw_qos_history_policy_t
enum RMW_PUBLIC_TYPE rmw_qos_history_policy_t
QoS history enumerations describing how samples endure.
Definition: types.h:382
rmw_qos_policy_kind_to_str
const char * rmw_qos_policy_kind_to_str(rmw_qos_policy_kind_t kind)
Return a string representing the policy kind.
rmw_qos_durability_policy_to_str
const char * rmw_qos_durability_policy_to_str(enum rmw_qos_durability_policy_t value)
Return a string representing the policy value.
visibility_control.h
rmw_qos_policy_kind_t
enum RMW_PUBLIC_TYPE rmw_qos_policy_kind_t rmw_qos_policy_kind_t
QoS Policy Kinds.
Definition: qos_policy_kind.h:27
rmw_qos_durability_policy_t
enum RMW_PUBLIC_TYPE rmw_qos_durability_policy_t
QoS durability enumerations describing how samples persist.
Definition: types.h:398
rmw_qos_liveliness_policy_from_str
enum rmw_qos_liveliness_policy_t rmw_qos_liveliness_policy_from_str(const char *str)
Return a enum value based on the provided string.
rmw_qos_reliability_policy_from_str
enum rmw_qos_reliability_policy_t rmw_qos_reliability_policy_from_str(const char *str)
Return a enum value based on the provided string.
rmw_qos_reliability_policy_t
enum RMW_PUBLIC_TYPE rmw_qos_reliability_policy_t
Definition: types.h:366
rmw_qos_liveliness_policy_to_str
const char * rmw_qos_liveliness_policy_to_str(enum rmw_qos_liveliness_policy_t value)
Return a string representing the policy value.
rmw_qos_policy_kind_from_str
rmw_qos_policy_kind_t rmw_qos_policy_kind_from_str(const char *str)
Return a policy kind based on the provided string.