VirtualMachine.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
3 
4  This file is part of the TerraLib - a Framework for building GIS enabled applications.
5 
6  TerraLib is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published by
8  the Free Software Foundation, either version 3 of the License,
9  or (at your option) any later version.
10 
11  TerraLib is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with TerraLib. See COPYING. If not, write to
18  TerraLib Team at <terralib-team@terralib.org>.
19  */
20 
21 /*!
22  \file terralib/vm/python/VirtualMachine.h
23 
24  \brief Implementation of a virtual machine for the Python Programming Language.
25 
26  \author Frederico Augusto BedĂȘ
27 */
28 
29 #ifndef __TERRALIB_VM_PYTHON_VIRTUALMACHINE_H__
30 #define __TERRALIB_VM_PYTHON_VIRTUALMACHINE_H__
31 
32 // TerraLib
33 #include "../core/VirtualMachine.h"
34 
35 namespace te
36 {
37  namespace vm
38  {
39  namespace python
40  {
42  {
43  public:
44 
46 
48 
49  std::string getName() const;
50 
51  std::string getTitle() const;
52 
53  std::string getDescription() const;
54 
55  void build(const std::string& file);
56 
57  void execute();
58 
59  void pause();
60 
61  void stop();
62 
63  void reset();
64 
65  private:
66 
67  std::string m_filename;
68  };
69  } // end namespace python
70  } // end namespace vm
71 } // end namespace te
72 
73 #endif // __TERRALIB_VM_PYTHON_VIRTUALMACHINE_H__
std::string getDescription() const
Returns a brief description about the underlying Virtual Machine.
std::string getName() const
void build(const std::string &file)
~VirtualMachine()
Virtual destructor.
URI C++ Library.
std::string getTitle() const
Return the title of Virtual Machine: a name that can be used by applications to show in a GUI...