text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: rclcpp/test/rclcpp/waitables/test_intra_process_waitable.cpp
// Copyright 2024 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/waitables/test_intra_process_waitable.cpp", "license": "apache-2.0", "size": 1618} |
### File: rclcpp/test/rclcpp/waitables/waitable_test_helpers.hpp
// Copyright 2024 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/waitables/waitable_test_helpers.hpp", "license": "apache-2.0", "size": 4577} |
### File: rclcpp/test/utils/rclcpp_gtest_macros.hpp
// Copyright 2020 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/utils/rclcpp_gtest_macros.hpp", "license": "apache-2.0", "size": 8122} |
### File: rclcpp/test/utils/test_rclcpp_gtest_macros.cpp
// Copyright 2020 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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/utils/test_rclcpp_gtest_macros.cpp", "license": "apache-2.0", "size": 6919} |
### File: rclcpp_action/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rclcpp_action)
find_package(ament_cmake_ros REQUIRED)
find_package(action_msgs REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rcl REQUIRED)
find_package(rcl_action REQUIRED)
find_package(rcpputils REQUIRED)
find_package(rosidl_ru... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/CMakeLists.txt", "license": "apache-2.0", "size": 3732} |
### File: rclcpp_action/include/rclcpp_action/client.hpp
// Copyright 2018 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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/client.hpp", "license": "apache-2.0", "size": 28909} |
### File: rclcpp_action/include/rclcpp_action/client_goal_handle.hpp
// Copyright 2018 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/client_goal_handle.hpp", "license": "apache-2.0", "size": 4938} |
### File: rclcpp_action/include/rclcpp_action/client_goal_handle_impl.hpp
// Copyright 2018 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/client_goal_handle_impl.hpp", "license": "apache-2.0", "size": 4941} |
### File: rclcpp_action/include/rclcpp_action/create_client.hpp
// Copyright 2018 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/create_client.hpp", "license": "apache-2.0", "size": 4517} |
### File: rclcpp_action/include/rclcpp_action/create_server.hpp
// Copyright 2018 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/create_server.hpp", "license": "apache-2.0", "size": 6325} |
### File: rclcpp_action/include/rclcpp_action/exceptions.hpp
// Copyright 2018 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/exceptions.hpp", "license": "apache-2.0", "size": 1282} |
### File: rclcpp_action/include/rclcpp_action/qos.hpp
// 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/qos.hpp", "license": "apache-2.0", "size": 964} |
### File: rclcpp_action/include/rclcpp_action/rclcpp_action.hpp
// Copyright 2018 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/rclcpp_action.hpp", "license": "apache-2.0", "size": 1553} |
### File: rclcpp_action/include/rclcpp_action/server.hpp
// Copyright 2018 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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/server.hpp", "license": "apache-2.0", "size": 19559} |
### File: rclcpp_action/include/rclcpp_action/server_goal_handle.hpp
// Copyright 2018 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/server_goal_handle.hpp", "license": "apache-2.0", "size": 8598} |
### File: rclcpp_action/include/rclcpp_action/types.hpp
// Copyright 2018 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/types.hpp", "license": "apache-2.0", "size": 2258} |
### File: rclcpp_action/include/rclcpp_action/visibility_control.hpp
// Copyright 2018 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/include/rclcpp_action/visibility_control.hpp", "license": "apache-2.0", "size": 2225} |
### File: rclcpp_action/src/client.cpp
// Copyright 2018 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/LIC... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/src/client.cpp", "license": "apache-2.0", "size": 27049} |
### File: rclcpp_action/src/qos.cpp
// 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/LICENS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/src/qos.cpp", "license": "apache-2.0", "size": 958} |
### File: rclcpp_action/src/server.cpp
// Copyright 2018 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/LIC... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/src/server.cpp", "license": "apache-2.0", "size": 29192} |
### File: rclcpp_action/src/server_goal_handle.cpp
// Copyright 2018 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/src/server_goal_handle.cpp", "license": "apache-2.0", "size": 4057} |
### File: rclcpp_action/src/types.cpp
// Copyright 2018 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/LICE... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/src/types.cpp", "license": "apache-2.0", "size": 1569} |
### File: rclcpp_action/test/benchmark/CMakeLists.txt
find_package(performance_test_fixture REQUIRED)
# These benchmarks are only being created and run for the default RMW
# implementation. We are looking to test the performance of the ROS 2 code, not
# the underlying middleware.
add_performance_test(
benchmark_act... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/benchmark/CMakeLists.txt", "license": "apache-2.0", "size": 704} |
### File: rclcpp_action/test/benchmark/benchmark_action_client.cpp
// Copyright 2020 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/benchmark/benchmark_action_client.cpp", "license": "apache-2.0", "size": 12064} |
### File: rclcpp_action/test/benchmark/benchmark_action_server.cpp
// Copyright 2020 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/benchmark/benchmark_action_server.cpp", "license": "apache-2.0", "size": 11381} |
### File: rclcpp_action/test/mocking_utils/patch.hpp
// Copyright 2020 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.or... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/mocking_utils/patch.hpp", "license": "apache-2.0", "size": 12835} |
### File: rclcpp_action/test/test_client.cpp
// Copyright 2018 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/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/test_client.cpp", "license": "apache-2.0", "size": 40779} |
### File: rclcpp_action/test/test_server.cpp
// Copyright 2018 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/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/test_server.cpp", "license": "apache-2.0", "size": 44686} |
### File: rclcpp_action/test/test_server_goal_handle.cpp
// Copyright 2020 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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/test_server_goal_handle.cpp", "license": "apache-2.0", "size": 6242} |
### File: rclcpp_action/test/test_traits.cpp
// 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/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/test_traits.cpp", "license": "apache-2.0", "size": 4634} |
### File: rclcpp_action/test/test_types.cpp
// Copyright 2020 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/license... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_action/test/test_types.cpp", "license": "apache-2.0", "size": 3228} |
### File: rclcpp_components/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rclcpp_components)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/CMakeLists.txt", "license": "apache-2.0", "size": 6156} |
### File: rclcpp_components/cmake/rclcpp_components_package_hook.cmake
# 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/cmake/rclcpp_components_package_hook.cmake", "license": "apache-2.0", "size": 892} |
### File: rclcpp_components/cmake/rclcpp_components_register_node.cmake
# 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/cmake/rclcpp_components_register_node.cmake", "license": "apache-2.0", "size": 3443} |
### File: rclcpp_components/cmake/rclcpp_components_register_nodes.cmake
# 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://... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/cmake/rclcpp_components_register_nodes.cmake", "license": "apache-2.0", "size": 2609} |
### File: rclcpp_components/include/rclcpp_components/component_manager.hpp
// 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/include/rclcpp_components/component_manager.hpp", "license": "apache-2.0", "size": 8409} |
### File: rclcpp_components/include/rclcpp_components/component_manager_isolated.hpp
// Copyright 2021 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 a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/include/rclcpp_components/component_manager_isolated.hpp", "license": "apache-2.0", "size": 4676} |
### File: rclcpp_components/include/rclcpp_components/node_factory.hpp
// 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/include/rclcpp_components/node_factory.hpp", "license": "apache-2.0", "size": 1552} |
### File: rclcpp_components/include/rclcpp_components/node_factory_template.hpp
// 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/include/rclcpp_components/node_factory_template.hpp", "license": "apache-2.0", "size": 1747} |
### File: rclcpp_components/include/rclcpp_components/node_instance_wrapper.hpp
// 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/include/rclcpp_components/node_instance_wrapper.hpp", "license": "apache-2.0", "size": 2235} |
### File: rclcpp_components/include/rclcpp_components/register_node_macro.hpp
// 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
//
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/include/rclcpp_components/register_node_macro.hpp", "license": "apache-2.0", "size": 1623} |
### File: rclcpp_components/include/rclcpp_components/visibility_control.hpp
// Copyright 2020 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/include/rclcpp_components/visibility_control.hpp", "license": "apache-2.0", "size": 2313} |
### File: rclcpp_components/rclcpp_components-extras.cmake.in
# 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/rclcpp_components-extras.cmake.in", "license": "apache-2.0", "size": 1385} |
### File: rclcpp_components/src/component_container.cpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/src/component_container.cpp", "license": "apache-2.0", "size": 1033} |
### File: rclcpp_components/src/component_container_isolated.cpp
// Copyright 2021 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/src/component_container_isolated.cpp", "license": "apache-2.0", "size": 1856} |
### File: rclcpp_components/src/component_container_mt.cpp
// 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.apa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/src/component_container_mt.cpp", "license": "apache-2.0", "size": 1335} |
### File: rclcpp_components/src/component_manager.cpp
// 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/src/component_manager.cpp", "license": "apache-2.0", "size": 11262} |
### File: rclcpp_components/test/benchmark/benchmark_components.cpp
// Copyright 2020 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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/test/benchmark/benchmark_components.cpp", "license": "apache-2.0", "size": 3810} |
### File: rclcpp_components/test/components/test_component.cpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/test/components/test_component.cpp", "license": "apache-2.0", "size": 1968} |
### File: rclcpp_components/test/test_component_manager.cpp
// 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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/test/test_component_manager.cpp", "license": "apache-2.0", "size": 3664} |
### File: rclcpp_components/test/test_component_manager_api.cpp
// 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_components/test/test_component_manager_api.cpp", "license": "apache-2.0", "size": 15969} |
### File: rclcpp_lifecycle/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rclcpp_lifecycle)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/CMakeLists.txt", "license": "apache-2.0", "size": 6587} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp
// Copyright 2016 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp", "license": "apache-2.0", "size": 36397} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node_impl.hpp
// Copyright 2016 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node_impl.hpp", "license": "apache-2.0", "size": 9010} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_publisher.hpp
// Copyright 2016 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_publisher.hpp", "license": "apache-2.0", "size": 4287} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/managed_entity.hpp
// Copyright 2022 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/managed_entity.hpp", "license": "apache-2.0", "size": 1650} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp
// Copyright 2016 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 t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp", "license": "apache-2.0", "si... |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/state.hpp
// Copyright 2016 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/state.hpp", "license": "apache-2.0", "size": 2544} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/transition.hpp
// Copyright 2016 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/transition.hpp", "license": "apache-2.0", "size": 3463} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/type_traits/is_manageable_node.hpp
// Copyright 2016 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/type_traits/is_manageable_node.hpp", "license": "apache-2.0", "size": 1712} |
### File: rclcpp_lifecycle/include/rclcpp_lifecycle/visibility_control.h
// Copyright 2016 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/include/rclcpp_lifecycle/visibility_control.h", "license": "apache-2.0", "size": 2281} |
### File: rclcpp_lifecycle/src/lifecycle_node.cpp
// Copyright 2016 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/l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/src/lifecycle_node.cpp", "license": "apache-2.0", "size": 19720} |
### File: rclcpp_lifecycle/src/lifecycle_node_interface_impl.cpp
// Copyright 2016 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/src/lifecycle_node_interface_impl.cpp", "license": "apache-2.0", "size": 22723} |
### File: rclcpp_lifecycle/src/lifecycle_node_interface_impl.hpp
// Copyright 2016 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/src/lifecycle_node_interface_impl.hpp", "license": "apache-2.0", "size": 6297} |
### File: rclcpp_lifecycle/src/managed_entity.cpp
// Copyright 2022 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/l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/src/managed_entity.cpp", "license": "apache-2.0", "size": 951} |
### File: rclcpp_lifecycle/src/node_interfaces/lifecycle_node_interface.cpp
// Copyright 2016 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/src/node_interfaces/lifecycle_node_interface.cpp", "license": "apache-2.0", "size": 1768} |
### File: rclcpp_lifecycle/src/state.cpp
// Copyright 2016 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/L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/src/state.cpp", "license": "apache-2.0", "size": 4600} |
### File: rclcpp_lifecycle/src/transition.cpp
// Copyright 2016 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/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/src/transition.cpp", "license": "apache-2.0", "size": 7907} |
### File: rclcpp_lifecycle/test/benchmark/benchmark_lifecycle_client.cpp
// Copyright 2020 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/benchmark/benchmark_lifecycle_client.cpp", "license": "apache-2.0", "size": 11508} |
### File: rclcpp_lifecycle/test/benchmark/benchmark_lifecycle_node.cpp
// Copyright 2020 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
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/benchmark/benchmark_lifecycle_node.cpp", "license": "apache-2.0", "size": 6576} |
### File: rclcpp_lifecycle/test/benchmark/benchmark_state.cpp
// Copyright 2020 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/benchmark/benchmark_state.cpp", "license": "apache-2.0", "size": 1476} |
### File: rclcpp_lifecycle/test/benchmark/benchmark_transition.cpp
// Copyright 2020 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/benchmark/benchmark_transition.cpp", "license": "apache-2.0", "size": 1501} |
### File: rclcpp_lifecycle/test/mocking_utils/patch.hpp
// Copyright 2020 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/mocking_utils/patch.hpp", "license": "apache-2.0", "size": 17768} |
### File: rclcpp_lifecycle/test/test_callback_exceptions.cpp
// Copyright 2015 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_callback_exceptions.cpp", "license": "apache-2.0", "size": 4588} |
### File: rclcpp_lifecycle/test/test_client.cpp
// Copyright 2022 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/lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_client.cpp", "license": "apache-2.0", "size": 2571} |
### File: rclcpp_lifecycle/test/test_lifecycle_node.cpp
// Copyright 2015 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_lifecycle_node.cpp", "license": "apache-2.0", "size": 33457} |
### File: rclcpp_lifecycle/test/test_lifecycle_node_errors.cpp
// Copyright 2024 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_lifecycle_node_errors.cpp", "license": "apache-2.0", "size": 2315} |
### File: rclcpp_lifecycle/test/test_lifecycle_publisher.cpp
// Copyright 2020 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_lifecycle_publisher.cpp", "license": "apache-2.0", "size": 6049} |
### File: rclcpp_lifecycle/test/test_lifecycle_service_client.cpp
// Copyright 2020 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://... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_lifecycle_service_client.cpp", "license": "apache-2.0", "size": 17740} |
### File: rclcpp_lifecycle/test/test_register_custom_callbacks.cpp
// Copyright 2015 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:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_register_custom_callbacks.cpp", "license": "apache-2.0", "size": 6663} |
### File: rclcpp_lifecycle/test/test_service.cpp
// Copyright 2022 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/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_service.cpp", "license": "apache-2.0", "size": 1985} |
### File: rclcpp_lifecycle/test/test_state_machine_info.cpp
// Copyright 2015 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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_state_machine_info.cpp", "license": "apache-2.0", "size": 6338} |
### File: rclcpp_lifecycle/test/test_state_wrapper.cpp
// Copyright 2017 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_state_wrapper.cpp", "license": "apache-2.0", "size": 5632} |
### File: rclcpp_lifecycle/test/test_transition_wrapper.cpp
// Copyright 2017 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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp_lifecycle/test/test_transition_wrapper.cpp", "license": "apache-2.0", "size": 6443} |
### File: rmw_dds_common/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rmw_dds_common)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wal... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/CMakeLists.txt", "license": "apache-2.0", "size": 4237} |
### File: rmw_dds_common/include/rmw_dds_common/context.hpp
// 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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/include/rmw_dds_common/context.hpp", "license": "apache-2.0", "size": 7049} |
### File: rmw_dds_common/include/rmw_dds_common/gid_utils.hpp
// 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/include/rmw_dds_common/gid_utils.hpp", "license": "apache-2.0", "size": 1875} |
### File: rmw_dds_common/include/rmw_dds_common/graph_cache.hpp
// Copyright 2020 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/include/rmw_dds_common/graph_cache.hpp", "license": "apache-2.0", "size": 20710} |
### File: rmw_dds_common/include/rmw_dds_common/qos.hpp
// Copyright 2021 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/include/rmw_dds_common/qos.hpp", "license": "apache-2.0", "size": 11636} |
### File: rmw_dds_common/include/rmw_dds_common/security.hpp
// Copyright 2021 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/include/rmw_dds_common/security.hpp", "license": "apache-2.0", "size": 3434} |
### File: rmw_dds_common/include/rmw_dds_common/time_utils.hpp
// Copyright 2020 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/include/rmw_dds_common/time_utils.hpp", "license": "apache-2.0", "size": 1789} |
### File: rmw_dds_common/include/rmw_dds_common/visibility_control.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/include/rmw_dds_common/visibility_control.h", "license": "apache-2.0", "size": 1928} |
### File: rmw_dds_common/msg/Gid.msg
char[16] data
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/msg/Gid.msg", "license": "apache-2.0", "size": 14} |
### File: rmw_dds_common/msg/NodeEntitiesInfo.msg
string<=256 node_namespace
string<=256 node_name
Gid[] reader_gid_seq
Gid[] writer_gid_seq
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/msg/NodeEntitiesInfo.msg", "license": "apache-2.0", "size": 91} |
### File: rmw_dds_common/msg/ParticipantEntitiesInfo.msg
Gid gid
NodeEntitiesInfo[] node_entities_info_seq
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/msg/ParticipantEntitiesInfo.msg", "license": "apache-2.0", "size": 50} |
### File: rmw_dds_common/src/context.cpp
// Copyright 2023 Sony Group Corporation.
//
// 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/src/context.cpp", "license": "apache-2.0", "size": 6716} |
### File: rmw_dds_common/src/gid_utils.cpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/src/gid_utils.cpp", "license": "apache-2.0", "size": 2076} |
### File: rmw_dds_common/src/graph_cache.cpp
// Copyright 2020 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/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/src/graph_cache.cpp", "license": "apache-2.0", "size": 32101} |
### File: rmw_dds_common/src/qos.cpp
// Copyright 2021 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/LICEN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/src/qos.cpp", "license": "apache-2.0", "size": 26179} |
### File: rmw_dds_common/src/security.cpp
// Copyright 2021 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_dds_common", "path": "rmw_dds_common/src/security.cpp", "license": "apache-2.0", "size": 4803} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.