AutomatedTestingSystemComponent.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #include <AutomatedTesting/AutomatedTestingBus.h>
  11. namespace AzFramework
  12. {
  13. struct PlayerConnectionConfig;
  14. }
  15. namespace AutomatedTesting
  16. {
  17. class AutomatedTestingSystemComponent
  18. : public AZ::Component
  19. , protected AutomatedTestingRequestBus::Handler
  20. {
  21. public:
  22. AZ_COMPONENT(AutomatedTestingSystemComponent, "{81E31A03-5C09-41C5-BDF6-5E33456C7C2B}");
  23. static void Reflect(AZ::ReflectContext* context);
  24. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  25. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  26. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  27. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  28. protected:
  29. ////////////////////////////////////////////////////////////////////////
  30. // AutomatedTestingRequestBus interface implementation
  31. ////////////////////////////////////////////////////////////////////////
  32. ////////////////////////////////////////////////////////////////////////
  33. // AZ::Component interface implementation
  34. void Init() override;
  35. void Activate() override;
  36. void Deactivate() override;
  37. ////////////////////////////////////////////////////////////////////////
  38. };
  39. }