ROS2ControllersModule.cpp 915 B

12345678910111213141516171819202122232425262728
  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
  4. * of this distribution.
  5. *
  6. * SPDX-License-Identifier: Apache-2.0 OR MIT
  7. *
  8. */
  9. #include "ROS2ControllersSystemComponent.h"
  10. #include <ROS2Controllers/ROS2ControllersTypeIds.h>
  11. #include <ROS2ControllersModuleInterface.h>
  12. namespace ROS2Controllers
  13. {
  14. class ROS2ControllersModule : public ROS2ControllersModuleInterface
  15. {
  16. public:
  17. AZ_RTTI(ROS2ControllersModule, ROS2ControllersModuleTypeId, ROS2ControllersModuleInterface);
  18. AZ_CLASS_ALLOCATOR(ROS2ControllersModule, AZ::SystemAllocator);
  19. };
  20. } // namespace ROS2Controllers
  21. #if defined(O3DE_GEM_NAME)
  22. AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), ROS2Controllers::ROS2ControllersModule)
  23. #else
  24. AZ_DECLARE_MODULE_CLASS(Gem_ROS2Controllers, ROS2Controllers::ROS2ControllersModule)
  25. #endif