MPS-Asset-TestSystemComponent.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #include <AzCore/Component/Component.h>
  3. #include <MPS-Asset-Test/MPS-Asset-TestBus.h>
  4. namespace MPS_Asset_Test
  5. {
  6. class MPS_Asset_TestSystemComponent
  7. : public AZ::Component
  8. , protected MPS_Asset_TestRequestBus::Handler
  9. {
  10. public:
  11. AZ_COMPONENT(MPS_Asset_TestSystemComponent, "{04CFD3D7-735A-4701-85B3-9E4D95D46AA4}");
  12. static void Reflect(AZ::ReflectContext* context);
  13. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  14. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  15. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  16. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  17. MPS_Asset_TestSystemComponent();
  18. ~MPS_Asset_TestSystemComponent();
  19. protected:
  20. ////////////////////////////////////////////////////////////////////////
  21. // MPS_Asset_TestRequestBus interface implementation
  22. ////////////////////////////////////////////////////////////////////////
  23. ////////////////////////////////////////////////////////////////////////
  24. // AZ::Component interface implementation
  25. void Init() override;
  26. void Activate() override;
  27. void Deactivate() override;
  28. ////////////////////////////////////////////////////////////////////////
  29. };
  30. }