dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
io::power Class Referenceabstract

system power notification receiver to get notifications: inherit and connect to runloop More...

#include <io_power.h>

Public Member Functions

 operator ::CFRunLoopSourceRef() const noexcept
 operator ::IONotificationPortRef() const noexcept
 operator ::mach_port_t() const noexcept
 power()
virtual ~power()

Protected Member Functions

virtual bool can_sleep()
virtual void sleep()= 0
virtual void wake()= 0

Detailed Description

system power notification receiver to get notifications: inherit and connect to runloop

Constructor & Destructor Documentation

◆ power()

io::power::power()
inline

◆ ~power()

virtual io::power::~power()
inlinevirtual

Member Function Documentation

◆ can_sleep()

virtual bool io::power::can_sleep()
inlineprotectedvirtual

◆ operator ::CFRunLoopSourceRef()

io::power::operator ::CFRunLoopSourceRef() const
inlinenoexcept

◆ operator ::IONotificationPortRef()

io::power::operator ::IONotificationPortRef() const
inlinenoexcept

◆ operator ::mach_port_t()

io::power::operator ::mach_port_t() const
inlinenoexcept

◆ sleep()

virtual void io::power::sleep()
protectedpure virtual

◆ wake()

virtual void io::power::wake()
protectedpure virtual

The documentation for this class was generated from the following file: