Interface of a module entry point. More...
#include <arcane/core/IEntryPoint.h>
Call point | |
Where the entry point is used. | |
| enum | { PNone = 0 , PAutoLoadBegin = 1 , PAutoLoadEnd = 2 } |
| Properties of an entry point. More... | |
| static const char *const | WComputeLoop = "ComputeLoop" |
| called during the calculation loop | |
| static const char *const | WBuild = "Build" |
| called for module construction | |
| static const char *const | WInit = "Init" |
| called during initialization | |
| static const char *const | WContinueInit = "ContinueInit" |
| called during continuation initialization | |
| static const char *const | WStartInit = "StartInit" |
| called during new case initialization | |
| static const char *const | WRestore = "Restore" |
| called to restore variables during a rollback | |
| static const char *const | WOnMeshChanged = "OnMeshChanged" |
| called after a mesh change | |
| static const char *const | WOnMeshRefinement = "OnMeshRefinement" |
| called after mesh refinement | |
| static const char *const | WExit = "Exit" |
| virtual | ~IEntryPoint ()=default |
| Releases resources. | |
| virtual String | name () const =0 |
| Returns the name of the entry point. | |
| virtual String | fullName () const =0 |
| Full name (with the module) of the entry point. This name is unique. | |
| virtual ISubDomain * | subDomain () const =0 |
| Returns the main manager. | |
| virtual IModule * | module () const =0 |
| Returns the module associated with the entry point. | |
| virtual void | executeEntryPoint ()=0 |
| Calls the entry point. | |
| virtual Real | totalCPUTime () const =0 |
| Total CPU consumption spent in this entry point (in milliseconds). | |
| virtual Real | lastCPUTime () const =0 |
| CPU consumption of the last iteration (in milliseconds). | |
| virtual Real | totalElapsedTime () const =0 |
| Elapsed execution time (clock time) in this entry point (in milliseconds). | |
| virtual Real | lastElapsedTime () const =0 |
| Elapsed execution time (clock time) of the last iteration (in milliseconds). | |
| virtual Real | totalTime (Timer::eTimerType) const =0 |
| Returns totalElapsedTime(). | |
| virtual Real | lastTime (Timer::eTimerType) const =0 |
| Returns lastElapsedTime(). | |
| virtual Integer | nbCall () const =0 |
| Returns the number of times the entry point has been executed. | |
| virtual String | where () const =0 |
| Returns where the entry point is called. | |
| virtual int | property () const =0 |
| Returns the properties of the entry point. | |
Interface of a module entry point.
Definition at line 34 of file IEntryPoint.h.
| anonymous enum |
Properties of an entry point.
Definition at line 65 of file IEntryPoint.h.
|
pure virtual |
Calls the entry point.
Implemented in Arcane::EntryPoint.
References executeEntryPoint().
Referenced by executeEntryPoint().
|
pure virtual |
Full name (with the module) of the entry point. This name is unique.
Implemented in Arcane::EntryPoint.
|
pure virtual |
CPU consumption of the last iteration (in milliseconds).
Implemented in Arcane::EntryPoint.
References lastCPUTime().
Referenced by lastCPUTime().
|
pure virtual |
Elapsed execution time (clock time) of the last iteration (in milliseconds).
Implemented in Arcane::EntryPoint.
References lastElapsedTime().
Referenced by lastElapsedTime().
|
pure virtual |
Returns lastElapsedTime().
Implemented in Arcane::EntryPoint.
References lastTime().
Referenced by lastTime().
|
pure virtual |
Returns the module associated with the entry point.
Implemented in Arcane::EntryPoint.
References module().
Referenced by module().
|
pure virtual |
Returns the name of the entry point.
Implemented in Arcane::EntryPoint.
|
pure virtual |
Returns the number of times the entry point has been executed.
Implemented in Arcane::EntryPoint.
References nbCall().
Referenced by nbCall().
|
pure virtual |
Returns the properties of the entry point.
Implemented in Arcane::EntryPoint.
References property().
Referenced by property().
|
pure virtual |
Returns the main manager.
Implemented in Arcane::EntryPoint.
References subDomain().
Referenced by subDomain().
|
pure virtual |
Total CPU consumption spent in this entry point (in milliseconds).
Implemented in Arcane::EntryPoint.
References totalCPUTime().
Referenced by totalCPUTime().
|
pure virtual |
Elapsed execution time (clock time) in this entry point (in milliseconds).
Implemented in Arcane::EntryPoint.
References totalElapsedTime().
Referenced by totalElapsedTime().
|
pure virtual |
Returns totalElapsedTime().
Implemented in Arcane::EntryPoint.
References totalTime().
Referenced by totalTime().
|
pure virtual |
Returns where the entry point is called.
Implemented in Arcane::EntryPoint.
References where().
Referenced by where().
|
static |
called for module construction
Definition at line 45 of file IEntryPoint.h.
|
static |
called during the calculation loop
Definition at line 43 of file IEntryPoint.h.
Referenced by Arcane::addEntryPoint(), Arcane::addEntryPoint(), Arcane::EntryPoint::executeEntryPoint(), and Arcane::ModuleMaster::ModuleMaster().
|
static |
called during continuation initialization
Definition at line 49 of file IEntryPoint.h.
Referenced by Arcane::ModuleMaster::ModuleMaster().
|
static |
Definition at line 59 of file IEntryPoint.h.
|
static |
called during initialization
Definition at line 47 of file IEntryPoint.h.
Referenced by Arcane::ModuleMaster::ModuleMaster().
|
static |
called after a mesh change
Definition at line 55 of file IEntryPoint.h.
Referenced by Arcane::ModuleMaster::ModuleMaster().
|
static |
called after mesh refinement
called upon code termination.
Definition at line 57 of file IEntryPoint.h.
|
static |
called to restore variables during a rollback
Definition at line 53 of file IEntryPoint.h.
Referenced by Arcane::ModuleMaster::ModuleMaster().
|
static |
called during new case initialization
Definition at line 51 of file IEntryPoint.h.
Referenced by Arcane::ModuleMaster::ModuleMaster().