GeoreferencingSystemComponent.cpp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 "GeoreferencingSystemComponent.h"
  9. #include <Georeferencing/GeoreferencingTypeIds.h>
  10. #include <AzCore/Serialization/SerializeContext.h>
  11. #include <Georeferencing/GeoreferenceStructures.h>
  12. namespace Georeferencing
  13. {
  14. AZ_COMPONENT_IMPL(GeoreferencingSystemComponent, "GeoreferencingSystemComponent", GeoreferencingSystemComponentTypeId);
  15. void GeoreferencingSystemComponent::Reflect(AZ::ReflectContext* context)
  16. {
  17. WGS::WGS84Coordinate::Reflect(context);
  18. if (auto serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
  19. {
  20. serializeContext->Class<GeoreferencingSystemComponent, AZ::Component>()->Version(0);
  21. }
  22. }
  23. void GeoreferencingSystemComponent::GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided)
  24. {
  25. provided.push_back(AZ_CRC_CE("GeoreferencingService"));
  26. }
  27. void GeoreferencingSystemComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible)
  28. {
  29. incompatible.push_back(AZ_CRC_CE("GeoreferencingService"));
  30. }
  31. void GeoreferencingSystemComponent::GetRequiredServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& required)
  32. {
  33. }
  34. void GeoreferencingSystemComponent::GetDependentServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& dependent)
  35. {
  36. }
  37. void GeoreferencingSystemComponent::Init()
  38. {
  39. }
  40. void GeoreferencingSystemComponent::Activate()
  41. {
  42. }
  43. void GeoreferencingSystemComponent::Deactivate()
  44. {
  45. }
  46. } // namespace Georeferencing