Registry.h 817 B

12345678910111213141516171819202122232425262728293031323334
  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/Memory/Memory.h>
  10. #include <AzCore/Memory/SystemAllocator.h>
  11. namespace AZ
  12. {
  13. class ReflectContext;
  14. namespace SceneAPI
  15. {
  16. namespace SceneData
  17. {
  18. class Registry
  19. {
  20. public:
  21. using ComponentDescriptorList = AZStd::vector<AZ::ComponentDescriptor*>;
  22. AZ_CLASS_ALLOCATOR(Registry, SystemAllocator);
  23. static void RegisterComponents(ComponentDescriptorList& components);
  24. };
  25. } // namespace SceneData
  26. } // namespace SceneAPI
  27. } // namespace AZ