![]() |
Workspace 7.1.0
|
Base class for Operation-related events. More...
#include <Workspace/DataExecution/Operations/workspaceevents.h>
Public Member Functions | |
Operation & | getOperation () const |
![]() | |
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & | eventID () |
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & | eventID () |
const EventIDSingleton< T > & | getEventID () const override |
![]() | |
virtual | ~ObservableEvent ()=default |
virtual const EventID & | getEventID () const =0 |
Protected Member Functions | |
OperationEvent (Operation &op) | |
![]() | |
ObservableEventType ()=default | |
Additional Inherited Members | |
![]() | |
static const EventIDSingleton< T > & | eventID () |
Only those events that provide a reference to the Operation on which the event is being raised are derived from this class. Other Operation events may derive from ObservableEventType directly if they don't want to provide a reference to the Operation through the event object.
|
inlineprotected |
op | The operation the event is being raised on. This will be made available to the event receiver via the getOperation() function. |