SimulationManagerEditor.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 <AzToolsFramework/API/ToolsApplicationAPI.h>
  10. #include <Clients/SimulationManager.h>
  11. namespace SimulationInterfaces
  12. {
  13. /// System component for SimulationInterfaces editor
  14. class SimulationManagerEditor
  15. : public SimulationManager
  16. , protected AzToolsFramework::EditorEvents::Bus::Handler
  17. {
  18. using BaseSystemComponent = SimulationManager;
  19. public:
  20. AZ_COMPONENT_DECL(SimulationManagerEditor);
  21. static void Reflect(AZ::ReflectContext* context);
  22. SimulationManagerEditor();
  23. ~SimulationManagerEditor();
  24. private:
  25. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  26. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  27. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  28. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  29. // AZ::Component
  30. void Init() override;
  31. void Activate() override;
  32. void Deactivate() override;
  33. };
  34. } // namespace SimulationInterfaces