ESP3D
3.0
Firmware for ESP boards connected to 3D Printer
host_services.h
Go to the documentation of this file.
1
/*
2
host_services.h - host services functions 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
21
22
23
#ifndef _HOST_SERVICES_H
24
#define _HOST_SERVICES_H
25
26
27
class
HostServices
28
{
29
public
:
30
HostServices
();
31
~HostServices
();
32
bool
begin
();
33
void
end
();
34
void
handle
();
35
private
:
36
bool
_started;
37
bool
purge_serial();
38
};
39
40
#endif //_HOST_SERVICES_H
41
HostServices
Definition:
host_services.h:27
HostServices::~HostServices
~HostServices()
Definition:
host_services.cpp:31
HostServices::handle
void handle()
Definition:
host_services.cpp:56
HostServices::HostServices
HostServices()
Definition:
host_services.cpp:27
HostServices::end
void end()
Definition:
host_services.cpp:47
HostServices::begin
bool begin()
Definition:
host_services.cpp:36
esp3d
src
modules
host
host_services.h
Generated by
1.8.17