GraphModelSystemComponent.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 <AzCore/Component/Component.h>
  10. // Graph Model
  11. #include <GraphModel/Integration/GraphControllerManager.h>
  12. namespace GraphModel
  13. {
  14. class GraphModelSystemComponent : public AZ::Component
  15. {
  16. public:
  17. AZ_COMPONENT(GraphModelSystemComponent, "{58CE2D43-2DDC-4CEB-BB9F-61B77C50C35D}");
  18. static void Reflect(AZ::ReflectContext* context);
  19. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  20. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  21. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  22. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  23. protected:
  24. ////////////////////////////////////////////////////////////////////////
  25. // AZ::Component interface implementation
  26. void Init() override;
  27. void Activate() override;
  28. void Deactivate() override;
  29. ////////////////////////////////////////////////////////////////////////
  30. private:
  31. AZStd::unique_ptr<GraphModelIntegration::GraphControllerManager> m_graphControllerManager;
  32. };
  33. } // namespace GraphModel