MachineLearningEditorSystemComponent.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #include <AzToolsFramework/API/ToolsApplicationAPI.h>
  3. #include <MachineLearningSystemComponent.h>
  4. namespace MachineLearning
  5. {
  6. /// System component for MachineLearning editor
  7. class MachineLearningEditorSystemComponent
  8. : public MachineLearningSystemComponent
  9. , protected AzToolsFramework::EditorEvents::Bus::Handler
  10. {
  11. using BaseSystemComponent = MachineLearningSystemComponent;
  12. public:
  13. AZ_COMPONENT_DECL(MachineLearningEditorSystemComponent);
  14. static void Reflect(AZ::ReflectContext* context);
  15. MachineLearningEditorSystemComponent();
  16. ~MachineLearningEditorSystemComponent();
  17. private:
  18. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  19. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  20. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  21. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  22. // AZ::Component
  23. void Activate() override;
  24. void Deactivate() override;
  25. };
  26. } // namespace MachineLearning