The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
Pic::HardStateGuard Class Reference
+ Collaboration diagram for Pic::HardStateGuard:

Public Member Functions

 HardStateGuard (Pic &pic, uint8_t irq, size_t lifetime)
 
bool owned () const
 
void release ()
 

Private Attributes

Picm_Pic
 
bool m_Owned
 

Detailed Description

Definition at line 96 of file Pic.cc.

Constructor & Destructor Documentation

◆ HardStateGuard()

Pic::HardStateGuard::HardStateGuard ( Pic pic,
uint8_t  irq,
size_t  lifetime 
)
inline

Definition at line 98 of file Pic.cc.

◆ ~HardStateGuard()

Pic::HardStateGuard::~HardStateGuard ( )
inline

Definition at line 116 of file Pic.cc.

Member Function Documentation

◆ owned()

bool Pic::HardStateGuard::owned ( ) const
inline

Definition at line 120 of file Pic.cc.

◆ release()

void Pic::HardStateGuard::release ( )
inline

Definition at line 124 of file Pic.cc.

Member Data Documentation

◆ m_Owned

bool Pic::HardStateGuard::m_Owned
private

Definition at line 133 of file Pic.cc.

◆ m_Pic

Pic& Pic::HardStateGuard::m_Pic
private

Definition at line 132 of file Pic.cc.


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