ROS2RobotImporterModuleInterface.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 "ROS2RobotImporterModuleInterface.h"
  9. #include <AzCore/Memory/Memory.h>
  10. #include <ROS2RobotImporter/ROS2RobotImporterTypeIds.h>
  11. #include <Clients/ROS2RobotImporterSystemComponent.h>
  12. namespace ROS2RobotImporter
  13. {
  14. AZ_TYPE_INFO_WITH_NAME_IMPL(
  15. ROS2RobotImporterModuleInterface, "ROS2RobotImporterModuleInterface", ROS2RobotImporterModuleInterfaceTypeId);
  16. AZ_RTTI_NO_TYPE_INFO_IMPL(ROS2RobotImporterModuleInterface, AZ::Module);
  17. AZ_CLASS_ALLOCATOR_IMPL(ROS2RobotImporterModuleInterface, AZ::SystemAllocator);
  18. ROS2RobotImporterModuleInterface::ROS2RobotImporterModuleInterface()
  19. {
  20. m_descriptors.insert(
  21. m_descriptors.end(),
  22. {
  23. ROS2::ROS2RobotImporterSystemComponent::CreateDescriptor(),
  24. });
  25. }
  26. AZ::ComponentTypeList ROS2RobotImporterModuleInterface::GetRequiredSystemComponents() const
  27. {
  28. return AZ::ComponentTypeList{
  29. azrtti_typeid<ROS2::ROS2RobotImporterSystemComponent>(),
  30. };
  31. }
  32. } // namespace ROS2RobotImporter