FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
runtime Struct Reference

FleCSI runtime state. More...

Public Member Functions

template<class C , class... AA>
int control (AA &&... aa) const
 Execute a control model.
 
 runtime (const run::config &c={})
 Construct from a configuration.
 
 runtime (runtime &&)=delete
 Immovable.
 

Detailed Description

FleCSI runtime state.

Only one can exist at a time.

Constructor & Destructor Documentation

◆ runtime() [1/2]

runtime ( const run::config c = {})
explicit

Construct from a configuration.

As a debugging aid, if the FLECSI_SLEEP environment variable is set to an integer, wait for that number of seconds.

◆ runtime() [2/2]

runtime ( runtime &&  )
delete

Immovable.

Member Function Documentation

◆ control()

template<class C , class... AA>
int control ( AA &&...  aa) const

Execute a control model.

Template Parameters
Ccontrol model
Parameters
aaarguments for C::invoke
Returns
resulting exit code