#include <ware/SimulationDrivenWare.hpp>
  
  | 
        
          | openfluid::ware::SimulationDrivenWare::SimulationDrivenWare | ( | WareType | WType | ) |  |  | inlineprotected | 
 
 
  
  | 
        
          | virtual openfluid::ware::SimulationDrivenWare::~SimulationDrivenWare | ( |  | ) |  |  | inlinevirtual | 
 
 
  
  | 
        
          | void openfluid::ware::SimulationDrivenWare::finalizeWare | ( |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | void openfluid::ware::SimulationDrivenWare::initializeWare | ( | const WareID_t & | ID | ) |  |  | virtual | 
 
 
  
  | 
        
          | virtual bool openfluid::ware::SimulationDrivenWare::isLinked | ( |  | ) | const |  | inlineprotectedvirtual | 
 
 
Returns the real beginning date of the simulated period 
- Returns
- the date 
 
 
Returns the current real date corresponding to the current time index 
- Returns
- the date 
 
 
Returns the current stage of the simulation 
- Returns
- the stage 
 
 
  
  | 
        
          | std::string openfluid::ware::SimulationDrivenWare::OPENFLUID_GetCurrentStageAsString | ( |  | ) | const |  | protected | 
 
 
Returns the current time index of the simulation, in seconds since the simulation started. When the simulation starts, the time index is equal to zero. 
- Returns
- the current time index in seconds 
 
 
Returns the default DeltaT used by the scheduler 
- Returns
- the deltaT in seconds 
 
 
Returns the real ending date of the simulated period 
- Returns
- the date 
 
 
Returns the time index of the simulation when the plugged ware was previously run 
- Returns
- the time index in seconds 
 
 
Returns the scheduling constraint applied to the simulation (may be NONE) 
- Returns
- the constraint type 
 
 
Returns the simulation duration in seconds 
- Returns
- the duration in seconds 
 
 
  
  | 
        
          | virtual void openfluid::ware::SimulationDrivenWare::OPENFLUID_RaiseError | ( | const std::string & | Msg | ) |  |  | protectedvirtual | 
 
Raises an error message to the kernel. This stops the simulation the next time the kernel has the control 
- Parameters
- 
  
    | [in] | Msg | the content of the message |  
 
Reimplemented from openfluid::ware::PluggableWare.
 
 
  
  | 
        
          | virtual void openfluid::ware::SimulationDrivenWare::OPENFLUID_RaiseError | ( | const std::string & | Source, |  
          |  |  | const std::string & | Msg |  
          |  | ) |  |  |  | protectedvirtual | 
 
 
  
  | 
        
          | virtual void openfluid::ware::SimulationDrivenWare::OPENFLUID_RaiseWarning | ( | const std::string & | Msg | ) |  |  | protectedvirtual | 
 
Raises a time-marked warning message to the kernel. This does not stops the simulation 
- Parameters
- 
  
    | [in] | Msg | the content of the message |  
 
 
 
  
  | 
        
          | virtual void openfluid::ware::SimulationDrivenWare::OPENFLUID_RaiseWarning | ( | const std::string & | Source, |  
          |  |  | const std::string & | Msg |  
          |  | ) |  |  |  | protectedvirtual | 
 
 
The documentation for this class was generated from the following file: