2
0

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