3
0

PipelineComponent.h 1.2 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. #if defined(EMOTIONFXANIMATION_EDITOR)
  9. #pragma once
  10. #include <SceneAPI/SceneCore/Components/SceneSystemComponent.h>
  11. #include <EMotionFX/CommandSystem/Source/CommandManager.h>
  12. #include <AzCore/Module/Environment.h>
  13. namespace EMotionFX
  14. {
  15. namespace Pipeline
  16. {
  17. class PipelineComponent
  18. : public AZ::SceneAPI::SceneCore::SceneSystemComponent
  19. {
  20. public:
  21. AZ_COMPONENT(PipelineComponent, "{F74E0D7C-BF22-4BC0-897A-2D80DA960DB0}", AZ::SceneAPI::SceneCore::SceneSystemComponent);
  22. PipelineComponent();
  23. ~PipelineComponent() override = default;
  24. void Activate() override;
  25. void Deactivate() override;
  26. static void Reflect(AZ::ReflectContext* context);
  27. private:
  28. bool m_eMotionFxInited;
  29. AZStd::unique_ptr<CommandSystem::CommandManager> m_commandManager;
  30. };
  31. } // Pipeline
  32. } // EMotionFX
  33. #endif