pub struct vtkProgressObserver(/* private fields */);Expand description
Basic class to optionally replace vtkAlgorithm progress functionality.
When the basic functionality in vtkAlgorithm that reports progress is not enough, a subclass of vtkProgressObserver can be used to provide custom functionality. The main use case for this is when an algorithm’s RequestData() is called from multiple threads in parallel - the basic functionality in vtkAlgorithm is not thread safe. vtkSMPProgressObserver can handle this situation by routing progress from each thread to a thread local vtkProgressObserver, which will invoke events separately for each thread.
Implementations§
Source§impl vtkProgressObserver
impl vtkProgressObserver
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkProgressObserver wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkProgressObserver
impl Default for vtkProgressObserver
Auto Trait Implementations§
impl Freeze for vtkProgressObserver
impl RefUnwindSafe for vtkProgressObserver
impl !Send for vtkProgressObserver
impl !Sync for vtkProgressObserver
impl Unpin for vtkProgressObserver
impl UnwindSafe for vtkProgressObserver
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