Program Listing for File node_options.h
↰ Return to documentation for file (include/rcl/node_options.h
)
// Copyright 2019 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef RCL__NODE_OPTIONS_H_
#define RCL__NODE_OPTIONS_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rcl/allocator.h"
#include "rcl/arguments.h"
#include "rcl/domain_id.h"
#define RCL_NODE_OPTIONS_DEFAULT_DOMAIN_ID RCL_DEFAULT_DOMAIN_ID
typedef struct rcl_node_options_s
{
// bool anonymous_name;
// rmw_qos_profile_t parameter_qos;
// bool no_parameters;
rcl_allocator_t allocator;
bool use_global_arguments;
rcl_arguments_t arguments;
bool enable_rosout;
rmw_qos_profile_t rosout_qos;
} rcl_node_options_t;
RCL_PUBLIC
rcl_node_options_t
rcl_node_get_default_options(void);
RCL_PUBLIC
RCL_WARN_UNUSED
rcl_ret_t
rcl_node_options_copy(
const rcl_node_options_t * options,
rcl_node_options_t * options_out);
RCL_PUBLIC
RCL_WARN_UNUSED
rcl_ret_t
rcl_node_options_fini(rcl_node_options_t * options);
#ifdef __cplusplus
}
#endif
#endif // RCL__NODE_OPTIONS_H_