ROS2SensorsModule.cpp 844 B

123456789101112131415161718192021222324252627
  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. #include "ROS2SensorsSystemComponent.h"
  9. #include <ROS2Sensors/ROS2SensorsTypeIds.h>
  10. #include <ROS2SensorsModuleInterface.h>
  11. namespace ROS2Sensors
  12. {
  13. class ROS2SensorsModule : public ROS2SensorsModuleInterface
  14. {
  15. public:
  16. AZ_RTTI(ROS2SensorsModule, ROS2SensorsModuleTypeId, ROS2SensorsModuleInterface);
  17. AZ_CLASS_ALLOCATOR(ROS2SensorsModule, AZ::SystemAllocator);
  18. };
  19. } // namespace ROS2Sensors
  20. #if defined(O3DE_GEM_NAME)
  21. AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), ROS2Sensors::ROS2SensorsModule)
  22. #else
  23. AZ_DECLARE_MODULE_CLASS(Gem_ROS2Sensors, ROS2Sensors::ROS2SensorsModule)
  24. #endif