VPTissue Reference Manual
cpp_simptshell/workspace/Workspace.h
Go to the documentation of this file.
1 #ifndef SIMPT_SHELL_WORKSPACE_H_INCLUDED
2 #define SIMPT_SHELL_WORKSPACE_H_INCLUDED
3 /*
4  * Copyright 2011-2016 Universiteit Antwerpen
5  *
6  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
7  * the European Commission - subsequent versions of the EUPL (the "Licence");
8  * You may not use this work except in compliance with the Licence.
9  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the Licence is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the Licence for the specific language governing
15  * permissions and limitations under the Licence.
16  */
22 #include "../../cpp_simshell/workspace/Workspace.h"
23 
24 #include "Project.h"
25 #include "WorkspaceFactory.h"
26 
27 namespace SimShell {
28 namespace Ws {
29  extern template class Workspace<SimPT_Shell::Ws::Project,
30  SimPT_Shell::Ws::WorkspaceFactory::g_workspace_index_file>;
31 } // namespace
32 } // namespace
33 
34 
35 namespace SimPT_Shell {
36 namespace Ws {
37 
41 class Workspace : public SimShell::Ws::Workspace<Project, WorkspaceFactory::g_workspace_index_file>
42 {
43 public:
44  Workspace(const std::string& path, const std::string& prefs_file);
45 
46  virtual ~Workspace() {}
47 
48  static void Init(const std::string& path);
49 };
50 
51 } // namepsace
52 } // namespace
53 
54 #endif // end_of_include_guard
Abstraction of project info on filesystem, as well as a maintainer of a work session.
Interface for SimPT projects.
Namespace for SimPT shell package.
Definition: Client.cpp:50
Abstraction for workspace info in the file system.
virtual ~Workspace()
Virtual destructor.
Abstraction of workspace on file system.
Interface for WorkspaceFactory.
Namespace for generic graphical shell for simulators.
Definition: SimSession.h:32