pub struct vtkSMPProgressObserver(/* private fields */);Expand description
Progress observer that is thread safe
vtkSMPProgressObserver is designed to handle progress events coming from an algorithm in a thread safe way. It does this by using thread local objects that it updates. To receive the progress information, one has to listen to the local observer in the same thread. Since the execution will be somewhat load balanced, it may be enough to do this only on the main thread.
Implementations§
Source§impl vtkSMPProgressObserver
impl vtkSMPProgressObserver
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkSMPProgressObserver wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkSMPProgressObserver
impl Default for vtkSMPProgressObserver
Auto Trait Implementations§
impl Freeze for vtkSMPProgressObserver
impl RefUnwindSafe for vtkSMPProgressObserver
impl !Send for vtkSMPProgressObserver
impl !Sync for vtkSMPProgressObserver
impl Unpin for vtkSMPProgressObserver
impl UnwindSafe for vtkSMPProgressObserver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more