Dawn Framework 1.0
Universal data acquisition framework for embedded systems
shutdown.hxx
1// dawn/include/dawn/dev/shutdown.hxx
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#pragma once
7
8namespace dawn
9{
18{
19public:
22 static void request();
23
26 static void clear();
27
34 static bool isRequested();
35};
36} // namespace dawn
Global shutdown request manager.
Definition shutdown.hxx:18
static void clear()
Clear pending shutdown request.
Definition shutdown.cxx:22
static bool isRequested()
Check if shutdown has been requested.
Definition shutdown.cxx:27
static void request()
Request application shutdown.
Definition shutdown.cxx:17
Out-of-tree user-extension hooks for Dawn.
Definition bindable.hxx:13