Hopsan
SimulationHandler Class Reference

Public Types

enum  SimulationErrorTypesT { NotRedy , InitFailed , SimuFailed , FiniFailed }
 

Public Member Functions

bool initializeSystem (const double startT, const double stopT, ComponentSystem *pSystem)
 
bool initializeSystem (const double startT, const double stopT, std::vector< ComponentSystem * > &rSystemVector)
 
bool simulateSystem (const double startT, const double stopT, const int nDesiredThreads, ComponentSystem *pSystem, bool noChanges=false, ParallelAlgorithmT algorithm=APrioriScheduling)
 
bool simulateSystem (const double startT, const double stopT, const int nDesiredThreads, std::vector< ComponentSystem * > &rSystemVector, bool noChanges=false, ParallelAlgorithmT algorithm=APrioriScheduling)
 
bool startRealtimeSimulation (ComponentSystem *pSystem, double realtimeFactor=1)
 
void stopRealtimeSimulation (ComponentSystem *pSystem)
 
void finalizeSystem (ComponentSystem *pSystem)
 
void finalizeSystem (std::vector< ComponentSystem * > &rSystemVector)
 

Member Function Documentation

◆ initializeSystem()

bool initializeSystem ( const double startT,
const double stopT,
ComponentSystem * pSystem )