NAP
nap
system_modules
napserial
src
serialservice.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
#pragma once
6
7
// External Includes
8
#include <nap/service.h>
9
10
namespace
nap
11
{
15
class
NAPAPI
SerialService
:
public
Service
16
{
17
RTTI_ENABLE(
Service
)
18
public
:
22
SerialService
(
ServiceConfiguration
* configuration);
23
27
virtual
~
SerialService
()
override
;
28
29
protected
:
33
virtual
bool
init(
utility::ErrorState
& error)
override
;
34
38
virtual
void
shutdown()
override
;
39
};
40
}
nap::SerialService
Definition:
serialservice.h:15
nap::utility::ErrorState
Definition:
errorstate.h:19
nap::ServiceConfiguration
Definition:
service.h:28
nap::Service
Definition:
templateservice.h:8
nap
Definition:
templateapp.h:17
Generated by doxygen