Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::EventHandler Class Reference

Last update: 10.07.2023

#include <dpf_api.h>

Public Types

enum  EventNature {
  eOperatorStarted , eOperatorFinished , eOperatorSentException , eOperatorError ,
  eOperatorMakeSomeProgress , eOperatorWarning , eOperatorAddedInWorkflow , eOperatorDelegatedRun ,
  eSessionWorkflowAdded , eWorkflowEvaluationStarted , eWorkflowEvaluationFinished
}
 

Public Member Functions

virtual void onEvent (EventNature nature, const char *args)=0
 

Detailed Description

Define a event handler for DPF.

Member Enumeration Documentation

◆ EventNature

Available states during DPF operation.

Enumerator
eOperatorStarted 

An operator was start.

eOperatorFinished 

An operator has finished.

eOperatorSentException 

An operator failed with an exception.

eOperatorError 

An operator failed with an error.

eOperatorMakeSomeProgress 

An operator is still running.

eOperatorWarning 

An operator generated a warning.

eOperatorAddedInWorkflow 

An operator was added to workflow.

eOperatorDelegatedRun 

An operator was run.

eSessionWorkflowAdded 

A workflow was added to a Session.

eWorkflowEvaluationStarted 

A workflow has started.

eWorkflowEvaluationFinished 

A workflow has finished.