ReflectComponent.h 1.1 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 <AzCore/Component/Component.h>
  10. namespace ScriptCanvasEditor
  11. {
  12. /*!
  13. System Component for managing the class reflections of Editor introduced types
  14. */
  15. class ReflectComponent
  16. : public AZ::Component
  17. {
  18. public:
  19. AZ_COMPONENT(ReflectComponent, "{5F1D37D8-A72A-4C38-B7E7-6BBC90272F92}");
  20. ReflectComponent() = default;
  21. static void Reflect(AZ::ReflectContext* context);
  22. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  23. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  24. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  25. //// AZ::Component
  26. void Activate();
  27. void Deactivate();
  28. ////
  29. void ReflectEventTypes();
  30. };
  31. }