| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #include "GeoreferencingSystemComponent.h"
- #include <Georeferencing/GeoreferencingTypeIds.h>
- #include <AzCore/Serialization/SerializeContext.h>
- #include <Georeferencing/GeoreferenceStructures.h>
- namespace Georeferencing
- {
- AZ_COMPONENT_IMPL(GeoreferencingSystemComponent, "GeoreferencingSystemComponent", GeoreferencingSystemComponentTypeId);
- void GeoreferencingSystemComponent::Reflect(AZ::ReflectContext* context)
- {
- WGS::WGS84Coordinate::Reflect(context);
- if (auto serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
- {
- serializeContext->Class<GeoreferencingSystemComponent, AZ::Component>()->Version(0);
- }
- }
- void GeoreferencingSystemComponent::GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided)
- {
- provided.push_back(AZ_CRC_CE("GeoreferencingService"));
- }
- void GeoreferencingSystemComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible)
- {
- incompatible.push_back(AZ_CRC_CE("GeoreferencingService"));
- }
- void GeoreferencingSystemComponent::GetRequiredServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& required)
- {
- }
- void GeoreferencingSystemComponent::GetDependentServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& dependent)
- {
- }
- void GeoreferencingSystemComponent::Init()
- {
- }
- void GeoreferencingSystemComponent::Activate()
- {
- }
- void GeoreferencingSystemComponent::Deactivate()
- {
- }
- } // namespace Georeferencing
|