2
0

MachineLearningEditorSystemComponent.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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/API/ToolsApplicationAPI.h>
  10. #include <MachineLearningSystemComponent.h>
  11. namespace MachineLearning
  12. {
  13. /// System component for MachineLearning editor
  14. class MachineLearningEditorSystemComponent
  15. : public MachineLearningSystemComponent
  16. , protected AzToolsFramework::EditorEvents::Bus::Handler
  17. {
  18. using BaseSystemComponent = MachineLearningSystemComponent;
  19. public:
  20. AZ_COMPONENT_DECL(MachineLearningEditorSystemComponent);
  21. static void Reflect(AZ::ReflectContext* context);
  22. MachineLearningEditorSystemComponent();
  23. ~MachineLearningEditorSystemComponent();
  24. private:
  25. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  26. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  27. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  28. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  29. // AZ::Component
  30. void Activate() override;
  31. void Deactivate() override;
  32. };
  33. } // namespace MachineLearning