VPTissue Reference Manual
|
Command line interface application controller. More...
#include <CoupledCliController.h>
Signals | |
void | TerminationRequested () |
Private signal, to be used for signaling that the simulation should stop. | |
Public Member Functions | |
virtual | ~CoupledCliController () |
Virtual destructor. | |
int | Execute (CliSimulationTask task) |
Execute the task defined via prior SetTask call. More... | |
Timings | GetTimings () const |
Execution timings in duration units specified in Timeable base class. More... | |
void | Terminate () |
Request termination of the simulation. | |
Public Member Functions inherited from SimPT_Sim::ClockMan::Timeable<> | |
virtual | ~Timeable () |
Destructor virtual for polymorphic class. | |
Static Public Member Functions | |
static std::shared_ptr< CoupledCliController > | Create (const std::string &workspace, bool quiet) |
Create controller. More... | |
Additional Inherited Members | |
Public Types inherited from SimPT_Sim::ClockMan::Timeable<> | |
using | Timings = typename ClockTraits< std::chrono::system_clock, typename std::chrono::system_clock::duration >::CumulativeTimings |
Public Types inherited from SimPT_Sim::ClockMan::ClockTraits< std::chrono::system_clock, typename std::chrono::system_clock::duration > | |
using | Clock = std::chrono::system_clock |
Type for clock. | |
using | CumulativeTimings = SimPT_Sim::ClockMan::CumulativeRecords< typename std::chrono::system_clock::duration > |
Records with cumulative timing info. | |
using | Duration = typename std::chrono::system_clock::duration |
Type for time duration units. | |
using | IndividualTimings = SimPT_Sim::ClockMan::IndividualRecords< typename std::chrono::system_clock::duration > |
Records with individual timing info. | |
using | Stopclock = SimPT_Sim::ClockMan::Stopwatch< std::chrono::system_clock > |
Stopwatch to measure time durations. | |
Command line interface application controller.
Definition at line 45 of file CoupledCliController.h.
|
static |
Create controller.
workspace | work space that it operates in |
quiet | mode (verbosity) |
Exception | in case of work space problems |
Definition at line 84 of file CoupledCliController.cpp.
References SimPT_Sim::Util::Exception::what().
int SimPT_Shell::CoupledCliController::Execute | ( | CliSimulationTask | task | ) |
Execute the task defined via prior SetTask call.
Definition at line 115 of file CoupledCliController.cpp.
References SimPT_Sim::ClockMan::Stopwatch< T >::Get(), and SimPT_Sim::ClockMan::Stopwatch< T >::GetName().
|
virtual |
Execution timings in duration units specified in Timeable base class.
Implements SimPT_Sim::ClockMan::Timeable<>.
Definition at line 135 of file CoupledCliController.cpp.