2
0

LidarRegistrarEditorSystemComponent.cpp 1.9 KB

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