ROSConDemoModuleInterface.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #pragma once
  9. #include "ApplePicker/ApplePickerComponent.h"
  10. #include "ApplePicker/GatheringRowComponent.h"
  11. #include "ApplePicker/KrakenEffectorComponent.h"
  12. #include "DemoStatistics/DemoStatisticsComponent.h"
  13. #include "FruitStorage/FruitStorageComponent.h"
  14. #include "Manipulator/KrakenManipulatorController.h"
  15. #include "KrakenCamera/FollowingCameraComponent.h"
  16. #include "ROSConDemoSystemComponent.h"
  17. #include <AzCore/Memory/SystemAllocator.h>
  18. #include <AzCore/Module/Module.h>
  19. namespace ROSConDemo
  20. {
  21. class ROSConDemoModuleInterface : public AZ::Module
  22. {
  23. public:
  24. AZ_RTTI(ROSConDemoModuleInterface, "{bcfb7709-ca93-8b50-b9c4-caaf1853e479}", AZ::Module);
  25. AZ_CLASS_ALLOCATOR(ROSConDemoModuleInterface, AZ::SystemAllocator);
  26. ROSConDemoModuleInterface()
  27. {
  28. m_descriptors.insert(
  29. m_descriptors.end(),
  30. { ROSConDemoSystemComponent::CreateDescriptor(),
  31. AppleKraken::ApplePickerComponent::CreateDescriptor(),
  32. AppleKraken::GatheringRowComponent::CreateDescriptor(),
  33. AppleKraken::KrakenEffectorComponent::CreateDescriptor(),
  34. AppleKraken::FruitStorageComponent::CreateDescriptor(),
  35. AppleKraken::DemoStatisticsComponent::CreateDescriptor(),
  36. AppleKraken::ManipulatorController::CreateDescriptor(),
  37. AppleKraken::FollowingCameraComponent::CreateDescriptor(),
  38. });
  39. }
  40. //! Add required SystemComponents to the SystemEntity.
  41. AZ::ComponentTypeList GetRequiredSystemComponents() const override
  42. {
  43. return AZ::ComponentTypeList{
  44. azrtti_typeid<ROSConDemoSystemComponent>(),
  45. };
  46. }
  47. };
  48. } // namespace ROS2