${Name}FeatureProcessor.h 946 B

123456789101112131415161718192021222324252627282930313233
  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 <${Name}/${Name}FeatureProcessorInterface.h>
  10. namespace ${Name}
  11. {
  12. class ${Name}FeatureProcessor final
  13. : public ${Name}FeatureProcessorInterface
  14. {
  15. public:
  16. AZ_RTTI(${Name}FeatureProcessor, "{${Random_Uuid}}", ${Name}FeatureProcessorInterface);
  17. AZ_CLASS_ALLOCATOR(${Name}FeatureProcessor, AZ::SystemAllocator)
  18. static void Reflect(AZ::ReflectContext* context);
  19. ${Name}FeatureProcessor() = default;
  20. virtual ~${Name}FeatureProcessor() = default;
  21. // FeatureProcessor overrides
  22. void Activate() override;
  23. void Deactivate() override;
  24. void Simulate(const FeatureProcessor::SimulatePacket& packet) override;
  25. };
  26. }