libASPL
Loading...
Searching...
No Matches
DriverRequestHandler.hpp
Go to the documentation of this file.
1// Copyright (c) libASPL authors
2// Licensed under MIT
3
4//! @file aspl/DriverRequestHandler.hpp
5//! @brief Handler for HAL requests to driver.
6
7#pragma once
8
9namespace aspl {
10
11//! Handler for HAL requests to driver.
12//!
13//! You may subclass this class if you want to implement custom handling.
15{
16public:
17 DriverRequestHandler() = default;
18
20 DriverRequestHandler& operator=(const DriverRequestHandler&) = delete;
21
22 virtual ~DriverRequestHandler() = default;
23
24 //! Invoked during asynchronous driver initialization.
26 {
28 }
29};
30
31} // namespace aspl
Doubly-buffered value with non-blocking read and blocking write.
Handler for HAL requests to driver.
virtual OSStatus OnInitialize()
Invoked during asynchronous driver initialization.