Seg3D
2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
|
Public Member Functions | |
virtual void | post_event (EventHandle &event)=0 |
virtual void | post_and_wait_event (EventHandle &event)=0 |
virtual bool | process_events ()=0 |
process the events that are queued in the event handler stack | |
virtual bool | wait_and_process_events ()=0 |
process the events that are queued in the event handler mailbox. | |
virtual bool | is_eventhandler_thread () const =0 |
virtual bool | start_eventhandler (EventHandler *eventhandler)=0 |
Start the eventhandler thread and start processing events. | |
virtual void | terminate_eventhandler ()=0 |
Terminate the eventhandler. | |
virtual bool | eventhandler_started ()=0 |
Check whether the eventhandler is running. | |
|
pure virtual |
Check whether we are running on the thread that handles the events This function is needed to avoid to post and execute things in an infinite loop.
Implemented in QtUtils::QtEventHandlerContext, and Core::DefaultEventHandlerContext.
|
pure virtual |
Post an event onto the event handler stack. This one returns after the thread signals that the event has been executed. The function does the full hand shaking for the synchronization.
Implemented in QtUtils::QtEventHandlerContext, and Core::DefaultEventHandlerContext.
|
pure virtual |
Post an event onto the event handler stack. This one returns immediately after posting the event, and does not wait for the process to finish the event.
Implemented in QtUtils::QtEventHandlerContext, and Core::DefaultEventHandlerContext.