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
9
namespace
aspl {
10
11
//! Handler for HAL requests to driver.
12
//!
13
//! You may subclass this class if you want to implement custom handling.
14
class
DriverRequestHandler
15
{
16
public
:
17
DriverRequestHandler
() =
default
;
18
19
DriverRequestHandler
(
const
DriverRequestHandler
&) =
delete
;
20
DriverRequestHandler
& operator=(
const
DriverRequestHandler
&) =
delete
;
21
22
virtual
~DriverRequestHandler
() =
default
;
23
24
//! Invoked during asynchronous driver initialization.
25
virtual
OSStatus
OnInitialize
()
26
{
27
return
kAudioHardwareNoError;
28
}
29
};
30
31
}
// namespace aspl
aspl::DriverRequestHandler
Handler for HAL requests to driver.
Definition
DriverRequestHandler.hpp:15
aspl::DriverRequestHandler::OnInitialize
virtual OSStatus OnInitialize()
Invoked during asynchronous driver initialization.
Definition
DriverRequestHandler.hpp:25
aspl
DriverRequestHandler.hpp
Generated by
1.12.0