Workspace 6.21.5
Public Member Functions | List of all members
AddOperationEvent Class Reference

Event emitted by a Workspace whenever an operation is added to it. More...

#include <Workspace/DataExecution/Operations/workspaceevents.h>

Inheritance diagram for AddOperationEvent:
[legend]

Public Member Functions

 AddOperationEvent (Operation &op)
 
- Public Member Functions inherited from OperationEvent< AddOperationEvent >
OperationgetOperation () const
 
- Public Member Functions inherited from ObservableEventType< T >
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & eventID ()
 
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & eventID ()
 
const EventIDSingleton< T > & getEventID () const override
 
- Public Member Functions inherited from ObservableEvent
virtual ~ObservableEvent ()=default
 
virtual const EventIDgetEventID () const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from ObservableEventType< T >
static const EventIDSingleton< T > & eventID ()
 
- Protected Member Functions inherited from OperationEvent< AddOperationEvent >
 OperationEvent (Operation &op)
 
- Protected Member Functions inherited from ObservableEventType< T >
 ObservableEventType ()=default
 

Detailed Description

The event is emitted whether the operation was created by the workspace or was passed in by client code. It is ideal for allowing a view of the workspace to update itself to keep in sync with it.

Constructor & Destructor Documentation

◆ AddOperationEvent()

AddOperationEvent ( Operation op)
inline