Skip to content
Snippets Groups Projects

Milestone B merge into main

Merged lacoche requested to merge develop into main
2 files
+ 21
19
Compare changes
  • Side-by-side
  • Inline
Files
2
using ETSI.ARF.OpenAPI.WorldAnalysis;
using ETSI.ARF.OpenAPI.WorldAnalysis;
 
using System;
public interface WorldAnalysisInterface
public interface WorldAnalysisInterface
{
{
@@ -83,7 +84,7 @@ public interface WorldAnalysisInterface
@@ -83,7 +84,7 @@ public interface WorldAnalysisInterface
/// <param name="mode">trackable/anchor to ar device or opposite RQ-AR8-001 The WA function shall provide the SM function with a pose of either an AR device in relation to a WorldAnchor or a Trackable, or conversely a Trackable or World Anchor in relation to the AR device. </param>
/// <param name="mode">trackable/anchor to ar device or opposite RQ-AR8-001 The WA function shall provide the SM function with a pose of either an AR device in relation to a WorldAnchor or a Trackable, or conversely a Trackable or World Anchor in relation to the AR device. </param>
/// <param name="pose">Last estimated pose</param>
/// <param name="pose">Last estimated pose</param>
/// <returns>The last state of the estimation of this pose</returns>
/// <returns>The last state of the estimation of this pose</returns>
public PoseEstimationResult GetLastPose(string token, string uuid, Mode_WorldAnalysis mode, out Pose pose);
public PoseEstimationResult GetLastPose(string token, Guid uuid, Mode_WorldAnalysis mode, out Pose pose);
/// <summary>
/// <summary>
/// Pull the most recent pose of a multiple trackables and anchors
/// Pull the most recent pose of a multiple trackables and anchors
@@ -94,7 +95,7 @@ public interface WorldAnalysisInterface
@@ -94,7 +95,7 @@ public interface WorldAnalysisInterface
/// <param name="mode">list of trackable/anchor to ar device or opposite RQ-AR8-001 The WA function shall provide the SM function with a pose of either an AR device in relation to a WorldAnchor or a Trackable, or conversely a Trackable or World Anchor in relation to the AR device. </param>
/// <param name="mode">list of trackable/anchor to ar device or opposite RQ-AR8-001 The WA function shall provide the SM function with a pose of either an AR device in relation to a WorldAnchor or a Trackable, or conversely a Trackable or World Anchor in relation to the AR device. </param>
/// <param name="poses">Last estimated pose</param>
/// <param name="poses">Last estimated pose</param>
/// <returns>The last state of the estimation of this pose</returns>
/// <returns>The last state of the estimation of this pose</returns>
public PoseEstimationResult[] GetLastPoses(string token, string[] uuids, Mode_WorldAnalysis [] modes, out Pose [] poses);
public PoseEstimationResult[] GetLastPoses(string token, Guid[] uuids, Mode_WorldAnalysis [] modes, out Pose [] poses);
/// <summary>
/// <summary>
/// Subscribe to receive the pose data of a given trackable or anchor
/// Subscribe to receive the pose data of a given trackable or anchor
@@ -107,7 +108,7 @@ public interface WorldAnalysisInterface
@@ -107,7 +108,7 @@ public interface WorldAnalysisInterface
/// <param name="validity">Subscription validity delay in millisecond</param>
/// <param name="validity">Subscription validity delay in millisecond</param>
/// <param name="subscriptionUUID "> id of the callback</param>
/// <param name="subscriptionUUID "> id of the callback</param>
/// <returns>Result of the subscription</returns>
/// <returns>Result of the subscription</returns>
public InformationSubscriptionResult SubscribeToPose(string token, string uuid, Mode_WorldAnalysis mode, PoseCallback callback, ref int validity, out string subscriptionUUID);
public InformationSubscriptionResult SubscribeToPose(string token, Guid uuid, Mode_WorldAnalysis mode, PoseCallback callback, ref int validity, out Guid subscriptionUUID);
/// <summary>
/// <summary>
/// Subscribe to receive the pose data of a multiple trackables and anchors
/// Subscribe to receive the pose data of a multiple trackables and anchors
@@ -120,7 +121,7 @@ public interface WorldAnalysisInterface
@@ -120,7 +121,7 @@ public interface WorldAnalysisInterface
/// <param name="validity">Subscription validity delay in millisecond</param>
/// <param name="validity">Subscription validity delay in millisecond</param>
/// <param name="subscriptionUUIDs"> id of the callback</param>
/// <param name="subscriptionUUIDs"> id of the callback</param>
/// <returns>List of subscription result</returns>
/// <returns>List of subscription result</returns>
public InformationSubscriptionResult[] SubscribeToPoses(string token, string[] uuids, Mode_WorldAnalysis [] modes, PoseCallback callback, ref int validity, out string[] subscriptionUUIDs);
public InformationSubscriptionResult[] SubscribeToPoses(string token, Guid[] uuids, Mode_WorldAnalysis [] modes, PoseCallback callback, ref int validity, out Guid[] subscriptionUUIDs);
/// <summary>
/// <summary>
/// Get the subscription and the associated callback for collecting a given pose
/// Get the subscription and the associated callback for collecting a given pose
@@ -132,7 +133,7 @@ public interface WorldAnalysisInterface
@@ -132,7 +133,7 @@ public interface WorldAnalysisInterface
/// <param name="mode">Mode representing the context of the relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)</param>
/// <param name="mode">Mode representing the context of the relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)</param>
/// <param name="validity">Remaining Subscription validity delay in millisecond</param>
/// <param name="validity">Remaining Subscription validity delay in millisecond</param>
/// <returns>The subscription exists or not</returns>
/// <returns>The subscription exists or not</returns>
public InformationSubscriptionResult GetSubsription(string token, string subscriptionUUID, out PoseCallback callback, out string target, out Mode_WorldAnalysis mode, out int validity);
public InformationSubscriptionResult GetSubsription(string token, Guid subscriptionUUID, out PoseCallback callback, out Guid target, out Mode_WorldAnalysis mode, out int validity);
/// <summary>
/// <summary>
/// Update an existing subscription
/// Update an existing subscription
@@ -143,14 +144,14 @@ public interface WorldAnalysisInterface
@@ -143,14 +144,14 @@ public interface WorldAnalysisInterface
/// <param name="validity">new validity of the subscription</param>
/// <param name="validity">new validity of the subscription</param>
/// <param name="callback">new callback to use</param>
/// <param name="callback">new callback to use</param>
/// <returns>The subscription has been updated or not</returns>
/// <returns>The subscription has been updated or not</returns>
public InformationSubscriptionResult UpdateSubscription(string token, string subscriptionUUID, Mode_WorldAnalysis mode, int validity, PoseCallback callback);
public InformationSubscriptionResult UpdateSubscription(string token, Guid subscriptionUUID, Mode_WorldAnalysis mode, int validity, PoseCallback callback);
/// <summary>
/// <summary>
/// Unsubscribe to a pose
/// Unsubscribe to a pose
/// </summary>
/// </summary>
/// <param name="subscriptionUUID">id of the subscription</param>
/// <param name="subscriptionUUID">id of the subscription</param>
/// /// <returns>The unsubscription has been performed or not</returns>
/// /// <returns>The unsubscription has been performed or not</returns>
public InformationSubscriptionResult UnSubscribeToPose(string subscriptionUUID);
public InformationSubscriptionResult UnSubscribeToPose(Guid subscriptionUUID);
#endregion
#endregion
@@ -175,7 +176,7 @@ public interface WorldAnalysisInterface
@@ -175,7 +176,7 @@ public interface WorldAnalysisInterface
/// <param name="type">the specified id corresponds to an anchor or trackable</param>
/// <param name="type">the specified id corresponds to an anchor or trackable</param>
/// <param name="capability">list metadata associated with the pose estimation of this element</param>
/// <param name="capability">list metadata associated with the pose estimation of this element</param>
/// <returns>Capabilities have correctly identified or not</returns>
/// <returns>Capabilities have correctly identified or not</returns>
public CapabilityResult GetCapability(string token, string uuid, out bool isSupported, out TypeWorldStorage type, out Capability [] capability);
public CapabilityResult GetCapability(string token, Guid uuid, out bool isSupported, out TypeWorldStorage type, out Capability [] capability);
#endregion
#endregion
}
}
 
\ No newline at end of file
Loading