pub struct PoseBufferProviderSynchronousProxy { /* private fields */ }
Implementations§
source§impl PoseBufferProviderSynchronousProxy
impl PoseBufferProviderSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<PoseBufferProviderEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<PoseBufferProviderEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn set_pose_buffer(
&self,
buffer: Vmo,
num_entries: u32,
base_time: i64,
time_interval: u64
) -> Result<(), Error>
pub fn set_pose_buffer( &self, buffer: Vmo, num_entries: u32, base_time: i64, time_interval: u64 ) -> Result<(), Error>
Sets the PoseBuffer and the parameters PoseBufferProvider will use to fill that PoseBuffer. Setting this when it is already set will replace the previously set parameters with the new parameters, which will release the provider’s reference to the buffer.