Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IDirectExecution Class Referenceabstract

Interface of a direct execution service. More...

#include <arcane/core/IDirectExecution.h>

Inheritance diagram for Arcane::IDirectExecution:
Collaboration diagram for Arcane::IDirectExecution:

Public Member Functions

virtual ~IDirectExecution ()
 Frees resources.
virtual void build ()=0
virtual void execute ()=0
 Executes the service operation.
virtual bool isActive () const =0
 True if the service is active.
virtual void setParallelMng (IParallelMng *pm)=0
 Positions the associated parallelism manager. This method must be called before execute().

Detailed Description

Interface of a direct execution service.

A direct execution service is a service that executes a single operation instead of a time loop, generally to perform internal tests within Arcane.

Once the operation is finished, the code stops.

This service can be associated with an application, and in this case it does not have a subdomain or a mesh, and the parallelism manager must be positioned before execution.

Definition at line 46 of file IDirectExecution.h.

Constructor & Destructor Documentation

◆ ~IDirectExecution()

virtual Arcane::IDirectExecution::~IDirectExecution ( )
inlinevirtual

Frees resources.

Definition at line 50 of file IDirectExecution.h.

Member Function Documentation

◆ build()

virtual void Arcane::IDirectExecution::build ( )
pure virtual

◆ execute()

virtual void Arcane::IDirectExecution::execute ( )
pure virtual

◆ isActive()

virtual bool Arcane::IDirectExecution::isActive ( ) const
pure virtual

◆ setParallelMng()

virtual void Arcane::IDirectExecution::setParallelMng ( IParallelMng * pm)
pure virtual

Positions the associated parallelism manager. This method must be called before execute().

.

Implemented in Arcane::AlephKappaService, Arcane::ArcaneCasePartitioner, Arcane::ArcaneDirectExecution, and Arcane::ArcaneMeshConverter.


The documentation for this class was generated from the following file: