1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #pragma once
- #include <AzCore/Component/Component.h>
- #include <AzCore/Component/TickBus.h>
- #include <PythonCoverage/PythonCoverageBus.h>
- namespace PythonCoverage
- {
- class PythonCoverageSystemComponent
- : public AZ::Component
- , protected PythonCoverageRequestBus::Handler
- , public AZ::TickBus::Handler
- {
- public:
- AZ_COMPONENT(PythonCoverageSystemComponent, "{b2f692ae-1047-4a6d-a4ed-27b1aac40ba5}");
- static void Reflect(AZ::ReflectContext* context);
- static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
- static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
- static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
- static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
- protected:
- ////////////////////////////////////////////////////////////////////////
- // PythonCoverageRequestBus interface implementation
- ////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////
- // AZ::Component interface implementation
- void Init() override;
- void Activate() override;
- void Deactivate() override;
- ////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////
- // AZTickBus interface implementation
- void OnTick(float deltaTime, AZ::ScriptTimePoint time) override;
- ////////////////////////////////////////////////////////////////////////
- };
- } // namespace PythonCoverage
|