Main Page
Modules
Namespaces
Classes
Files
File List
File Members
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/lua/VirtualMachine.h
23
24
\brief Implementation of a virtual machine for the Lua Programming Language.
25
26
\author Frederico Augusto BedĂȘ
27
\author Gilberto Ribeiro de Queiroz
28
*/
29
30
#ifndef __TERRALIB_VM_LUA_VIRTUALMACHINE_H__
31
#define __TERRALIB_VM_LUA_VIRTUALMACHINE_H__
32
33
// TerraLib
34
#include "../core/VirtualMachine.h"
35
36
namespace
te
37
{
38
namespace
vm
39
{
40
namespace
lua
41
{
42
class
VirtualMachine
:
public
te::vm::core::VirtualMachine
43
{
44
public
:
45
46
VirtualMachine
();
47
48
~VirtualMachine
();
49
50
std::string
getName
()
const
;
51
52
std::string
getTitle
()
const
;
53
54
std::string
getDescription
()
const
;
55
56
void
build
(
const
std::string& file);
57
58
void
execute
();
59
60
void
pause
();
61
62
void
stop
();
63
64
void
reset
();
65
66
private
:
67
68
struct
Impl;
69
Impl*
pimpl_
;
70
};
71
72
}
// end namespace lua
73
}
// end namespace vm
74
}
// end namespace te
75
76
#endif // __TERRALIB_VM_LUA_VIRTUALMACHINE_H__
te::vm::lua::VirtualMachine::reset
void reset()
te::vm::core::VirtualMachine
Definition:
VirtualMachine.h:48
te::vm::lua::VirtualMachine::stop
void stop()
te::vm::lua::VirtualMachine::getName
std::string getName() const
te::vm::lua::VirtualMachine::VirtualMachine
VirtualMachine()
te::vm::lua::VirtualMachine::getDescription
std::string getDescription() const
Returns a brief description about the underlying Virtual Machine.
te::vm::lua::VirtualMachine::execute
void execute()
te
URI C++ Library.
Definition:
AddressGeocodingOp.h:51
te::vm::lua::VirtualMachine::getTitle
std::string getTitle() const
Return the title of Virtual Machine: a name that can be used by applications to show in a GUI...
te::vm::lua::VirtualMachine::pimpl_
Impl * pimpl_
Definition:
VirtualMachine.h:68
te::vm::lua::VirtualMachine::build
void build(const std::string &file)
te::vm::lua::VirtualMachine
Definition:
VirtualMachine.h:42
te::vm::lua::VirtualMachine::pause
void pause()
te::vm::lua::VirtualMachine::~VirtualMachine
~VirtualMachine()
Virtual destructor.
home
castejon
castejon_files
develop
terralib5
git_master
src
terralib
vm
lua
VirtualMachine.h
Generated on Wed Sep 6 2017 11:37:36 for TerraLib by
1.8.11