LidarRegistrarEditorSystemComponent.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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 <AzToolsFramework/Entity/EditorEntityContextBus.h>
  10. #include <Lidar/LidarRegistrarSystemComponent.h>
  11. #include <ROS2Sensors/ROS2SensorsTypeIds.h>
  12. namespace ROS2Sensors
  13. {
  14. class LidarRegistrarEditorSystemComponent : public LidarRegistrarSystemComponent
  15. {
  16. public:
  17. AZ_COMPONENT(
  18. LidarRegistrarEditorSystemComponent, ROS2Sensors::LidarRegistrarEditorSystemComponentTypeId, LidarRegistrarSystemComponent);
  19. static void Reflect(AZ::ReflectContext* context);
  20. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  21. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  22. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  23. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  24. LidarRegistrarEditorSystemComponent() = default;
  25. ~LidarRegistrarEditorSystemComponent() = default;
  26. private:
  27. void Activate() override;
  28. void Deactivate() override;
  29. };
  30. } // namespace ROS2Sensors