The Pedigree Project 0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
UsbHub::StartupActivity Class Reference

#include <UsbHub.h>

+ Collaboration diagram for UsbHub::StartupActivity:

Public Member Functions

 StartupActivity (UsbHub *hub)
 
 operator bool () const
 
void failed ()
 
void deviceReady ()
 

Private Member Functions

 StartupActivity (const StartupActivity &)=delete
 
StartupActivityoperator= (const StartupActivity &)=delete
 

Private Attributes

UsbHubm_Root
 
bool m_Admitted
 
UsbStartup::Outcome m_Outcome = UsbStartup::Outcome::Neutral
 

Detailed Description

Holds controller startup admission across enumeration or a driver probe.

Definition at line 86 of file UsbHub.h.

Constructor & Destructor Documentation

◆ StartupActivity()

UsbHub::StartupActivity::StartupActivity ( UsbHub hub)
explicit

Definition at line 191 of file UsbHub.cc.

◆ ~StartupActivity()

UsbHub::StartupActivity::~StartupActivity ( )

Definition at line 195 of file UsbHub.cc.

Member Function Documentation

◆ deviceReady()

void UsbHub::StartupActivity::deviceReady ( )
inline

Definition at line 96 of file UsbHub.h.

◆ failed()

void UsbHub::StartupActivity::failed ( )
inline

Definition at line 93 of file UsbHub.h.

◆ operator bool()

UsbHub::StartupActivity::operator bool ( ) const
inlineexplicit

Definition at line 90 of file UsbHub.h.

Member Data Documentation

◆ m_Admitted

bool UsbHub::StartupActivity::m_Admitted
private

Definition at line 104 of file UsbHub.h.

◆ m_Outcome

UsbStartup::Outcome UsbHub::StartupActivity::m_Outcome = UsbStartup::Outcome::Neutral
private

Definition at line 105 of file UsbHub.h.

◆ m_Root

UsbHub* UsbHub::StartupActivity::m_Root
private

Definition at line 103 of file UsbHub.h.


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