ISimulationFeaturesBase.h 937 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/std/containers/unordered_set.h>
  10. #include <AzCore/std/string/string_view.h>
  11. #include <SimulationInterfaces/ROS2SimulationInterfacesRequestBus.h>
  12. #include <rclcpp/rclcpp.hpp>
  13. namespace ROS2SimulationInterfaces
  14. {
  15. // common interface to force implementation of provided features
  16. using SimulationFeatures = simulation_interfaces::msg::SimulatorFeatures;
  17. class ISimulationFeaturesBase
  18. {
  19. public:
  20. using SimulationFeatureType = ROS2SimulationInterfaces::SimulationFeatureType;
  21. virtual ~ISimulationFeaturesBase() = default;
  22. virtual AZStd::unordered_set<SimulationFeatureType> GetProvidedFeatures() = 0;
  23. };
  24. } // namespace ROS2SimulationInterfaces