CallProcessorBus.inl 619 B

1234567891011121314151617181920212223242526
  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. #include <AzCore/std/utils.h>
  9. namespace AZ
  10. {
  11. namespace SceneAPI
  12. {
  13. namespace Events
  14. {
  15. template<typename Context, typename... Args>
  16. ProcessingResult Process(Args&&... args)
  17. {
  18. Context context(std::forward<Args>(args)...);
  19. return Process(context);
  20. }
  21. } // Events
  22. } // SceneAPI
  23. } // AZ