|
The Pedigree Project 0.1
|
#include <UsbHub.h>
Collaboration diagram for UsbHub::ConnectionChangeSuppression:Public Member Functions | |
| ConnectionChangeSuppression (ConnectionChangeSuppression &&other) | |
| ConnectionChangeSuppression & | operator= (ConnectionChangeSuppression &&other) |
| operator bool () const | |
| void | reset () |
Private Member Functions | |
| ConnectionChangeSuppression (UsbHub *hub, size_t port) | |
| ConnectionChangeSuppression (const ConnectionChangeSuppression &)=delete | |
| ConnectionChangeSuppression & | operator= (const ConnectionChangeSuppression &)=delete |
Private Attributes | |
| UsbHub * | m_Hub |
| size_t | m_Port |
Friends | |
| class | UsbHub |
Suppresses root-port connection-change handling for one lexical scope.
A suppressed hardware observation is remembered by UsbHub and replayed once when the outermost lease is released. The lease is move-only so an early return cannot leave a root port permanently suppressed.
| UsbHub::ConnectionChangeSuppression::ConnectionChangeSuppression | ( | ) |
| UsbHub::ConnectionChangeSuppression::ConnectionChangeSuppression | ( | ConnectionChangeSuppression && | other | ) |
| UsbHub::ConnectionChangeSuppression::~ConnectionChangeSuppression | ( | ) |
|
private |
|
inlineexplicit |
| UsbHub::ConnectionChangeSuppression & UsbHub::ConnectionChangeSuppression::operator= | ( | ConnectionChangeSuppression && | other | ) |