12345678910111213141516171819202122232425262728293031323334353637 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #pragma once
- #include "ROS2ServiceBase.h"
- #include <AzCore/std/string/string_view.h>
- #include <simulation_interfaces/srv/get_entities_states.hpp>
- namespace ROS2SimulationInterfaces
- {
- class GetEntitiesStatesServiceHandler : public ROS2ServiceBase<simulation_interfaces::srv::GetEntitiesStates>
- {
- public:
- AZStd::string_view GetTypeName() const override
- {
- return "GetEntitiesStates";
- }
- AZStd::string_view GetDefaultName() const override
- {
- return "get_entities_states";
- }
- AZStd::unordered_set<SimulationFeatureType> GetProvidedFeatures() override;
- AZStd::optional<Response> HandleServiceRequest(const std::shared_ptr<rmw_request_id_t> header, const Request& request) override;
- private:
- };
- } // namespace ROS2SimulationInterfaces
|