![]() |
VPTissue Reference Manual
|
Base class representing the file types used to initiate a session. More...
#include <StartupFileBase.h>


Public Member Functions | |
| StartupFileBase (const std::string &path) | |
| Constructor. More... | |
| virtual const std::string & | GetPath () const |
| virtual SimPT_Sim::SimState | GetSimState (int timestep) const =0 |
| Get simstate with given timestep. | |
| virtual std::vector< int > | GetTimeSteps () const =0 |
| Get list of sim steps contained in the file. | |
Public Member Functions inherited from SimShell::Ws::IFile | |
| virtual | ~IFile () |
| Virtual destructor. | |
| virtual std::shared_ptr< Session::ISession > | CreateSession (std::shared_ptr< SimShell::Ws::IProject > proj, std::shared_ptr< SimShell::Ws::IWorkspace > ws) const =0 |
| Create simulation entities from file. | |
| virtual std::vector< QAction * > | GetContextMenuActions () const =0 |
| Get Qt actions that can be triggered on this type of file. | |
Static Public Attributes | |
| static const ConstructorType | Constructor |
Protected Attributes | |
| const std::string | m_path |
Additional Inherited Members | |
Public Types inherited from SimShell::Ws::IFile | |
| using | ConstructorType = std::function< std::shared_ptr< IFile >(const std::string &, const std::string &)> |
| First argument: filename. More... | |
Base class representing the file types used to initiate a session.
Definition at line 34 of file StartupFileBase.h.
| SimPT_Shell::Ws::StartupFileBase::StartupFileBase | ( | const std::string & | path | ) |
|
virtual |
Implements SimShell::Ws::IFile.
Definition at line 39 of file StartupFileBase.cpp.
Referenced by SimPT_Shell::CliController::Execute().
