VPTissue Reference Manual
|
Cli Workspace for the command-line simulator. More...
#include <CliWorkspace.h>
Public Member Functions | |
CliWorkspace (const std::string &path) | |
Public Member Functions inherited from SimPT_Shell::Ws::Workspace | |
Workspace (const std::string &path, const std::string &prefs_file) | |
virtual | ~Workspace () |
Virtual destructor. | |
Public Member Functions inherited from SimShell::Ws::Workspace< Project, WorkspaceFactory::g_workspace_index_file > | |
Workspace (const std::string &path, const std::string &prefs_file) | |
Constructor. More... | |
Workspace (Workspace< Project, index_file > &&) | |
Move constructor. | |
virtual ProjectIterator | Add (const std::string &type, const std::string &name) |
virtual std::shared_ptr< IProject > | Back () |
virtual std::shared_ptr< const IProject > | Back () const |
virtual ProjectIterator | begin () |
virtual ConstProjectIterator | begin () const |
virtual ProjectIterator | end () |
virtual ConstProjectIterator | end () const |
virtual ProjectIterator | Find (const std::string &name) |
virtual ConstProjectIterator | Find (const std::string &name) const |
virtual std::shared_ptr< IProject > | Front () |
virtual std::shared_ptr< const IProject > | Front () const |
virtual std::shared_ptr< IProject > | Get (const std::string &name) |
virtual std::shared_ptr< const IProject > | Get (const std::string &name) const |
virtual const std::string & | GetIndexFile () const |
virtual const std::string & | GetPath () const |
virtual const boost::property_tree::ptree & | GetUserData (const std::string &user) const |
virtual bool | IsProject (const std::string &name) const |
virtual ProjectIterator | New (const std::string &type, const std::string &name) |
virtual void | Refresh () |
virtual void | Remove (ProjectIterator) |
virtual void | Remove (const std::string &name) |
virtual ProjectIterator | Rename (ProjectIterator, const std::string &new_name) |
virtual ProjectIterator | Rename (const std::string &old_name, const std::string &new_name) |
virtual void | SetUserData (const std::string &user, const boost::property_tree::ptree &) |
Public Member Functions inherited from SimShell::Ws::IWorkspace | |
virtual | ~IWorkspace () |
Virtual destructor. | |
Public Member Functions inherited from SimPT_Sim::Util::Subject< Event::PreferencesChanged, std::weak_ptr< const void > > | |
void | Notify (const EventType &) |
void | Register (const U *, CallbackType) |
void | Unregister (const U *) |
void | UnregisterAll () |
Public Member Functions inherited from SimPT_Sim::Util::Subject< Event::WorkspaceChanged, std::weak_ptr< const void > > | |
void | Notify (const EventType &) |
void | Register (const U *, CallbackType) |
void | Unregister (const U *) |
void | UnregisterAll () |
Public Member Functions inherited from SimShell::Ws::Preferences | |
Preferences (const std::string &file) | |
Preferences (Preferences &&) | |
virtual const boost::property_tree::ptree & | GetPreferences () const |
virtual void | SetPreferences (const boost::property_tree::ptree &) |
Static Public Attributes | |
static const std::string | g_preferences_file |
Additional Inherited Members | |
Public Types inherited from SimShell::Ws::IWorkspace | |
using | ConstProjectIterator = typename ProjectMap::const_iterator |
using | ProjectIterator = typename ProjectMap::iterator |
using | ProjectMap = std::map< std::string, ProjectMapEntry > |
Public Types inherited from SimPT_Sim::Util::Subject< Event::PreferencesChanged, std::weak_ptr< const void > > | |
typedef std::function< void(const EventType &)> | CallbackType |
typedef Event::PreferencesChanged | EventType |
typedef const std::weak_ptr< const void > * | KeyType |
Public Types inherited from SimPT_Sim::Util::Subject< Event::WorkspaceChanged, std::weak_ptr< const void > > | |
typedef std::function< void(const EventType &)> | CallbackType |
typedef Event::WorkspaceChanged | EventType |
typedef const std::weak_ptr< const void > * | KeyType |
Static Public Member Functions inherited from SimPT_Shell::Ws::Workspace | |
static void | Init (const std::string &path) |
Protected Attributes inherited from SimShell::Ws::Workspace< Project, WorkspaceFactory::g_workspace_index_file > | |
Util::FileSystemWatcher | m_filesystem_watcher |
Watch workspace index file for changes. | |
std::string | m_path |
Path workspace was initialized with. | |
std::string | m_prefs_file |
Name of preferences file. | |
ProjectMap | m_projects |
Mapping from project name to project. | |
boost::property_tree::ptree | m_user_data |
GetUserData() with non-existing argument creates an empty user data. | |
Protected Attributes inherited from SimShell::Ws::Preferences | |
boost::property_tree::ptree | m_preferences |
Cli Workspace for the command-line simulator.
Definition at line 30 of file CliWorkspace.h.