SimulationInterfacesROS2EditorModule.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 "SimulationInterfacesROS2EditorSystemComponent.h"
  9. #include <SimulationInterfacesROS2/SimulationInterfacesROS2TypeIds.h>
  10. #include <SimulationInterfacesROS2ModuleInterface.h>
  11. namespace SimulationInterfacesROS2
  12. {
  13. class SimulationInterfacesROS2EditorModule : public SimulationInterfacesROS2ModuleInterface
  14. {
  15. public:
  16. AZ_RTTI(SimulationInterfacesROS2EditorModule, SimulationInterfacesROS2EditorModuleTypeId, SimulationInterfacesROS2ModuleInterface);
  17. AZ_CLASS_ALLOCATOR(SimulationInterfacesROS2EditorModule, AZ::SystemAllocator);
  18. SimulationInterfacesROS2EditorModule()
  19. {
  20. m_descriptors.insert(
  21. m_descriptors.end(),
  22. {
  23. SimulationInterfacesROS2EditorSystemComponent::CreateDescriptor(),
  24. });
  25. }
  26. AZ::ComponentTypeList GetRequiredSystemComponents() const override
  27. {
  28. return AZ::ComponentTypeList{
  29. azrtti_typeid<SimulationInterfacesROS2EditorSystemComponent>(),
  30. };
  31. }
  32. };
  33. } // namespace SimulationInterfacesROS2
  34. AZ_DECLARE_MODULE_CLASS(Gem_SimulationInterfacesROS2_Editor, SimulationInterfacesROS2::SimulationInterfacesROS2EditorModule)