ESP3D
3.0
Firmware for ESP boards connected to 3D Printer
lua_interpreter_service.h
Go to the documentation of this file.
1
/*
2
lua_interpreter_service.h - ESP3D lua interpreter service class
3
4
Copyright (c) 2014 Luc Lebosse. All rights reserved.
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Lesser General Public
8
License as published by the Free Software Foundation; either
9
version 2.1 of the License, or (at your option) any later version.
10
11
This library 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 GNU
14
Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public
17
License along with this library; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
#ifndef _LUA_INTERPRETER_H
21
#define _LUA_INTERPRETER_H
22
23
24
class
LuaInterpreter
25
{
26
public
:
27
LuaInterpreter
();
28
~LuaInterpreter
();
29
bool
started
()
30
{
31
return
_started;
32
}
33
bool
begin
();
34
void
end
();
35
void
handle
();
36
private
:
37
bool
_started;
38
};
39
extern
LuaInterpreter
esp3d_lua_interpreter
;
40
#endif //_LUA_INTERPRETER_H
LuaInterpreter::~LuaInterpreter
~LuaInterpreter()
LuaInterpreter::end
void end()
LuaInterpreter::started
bool started()
Definition:
lua_interpreter_service.h:29
LuaInterpreter
Definition:
lua_interpreter_service.h:24
LuaInterpreter::begin
bool begin()
LuaInterpreter::LuaInterpreter
LuaInterpreter()
LuaInterpreter::handle
void handle()
esp3d_lua_interpreter
LuaInterpreter esp3d_lua_interpreter
esp3d
src
modules
lua_interpreter
lua_interpreter_service.h
Generated by
1.8.17