The Pedigree Project 0.1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
DeviceHardIrqContext Class Reference

#include <DeviceHardIrqContext.h>

+ Collaboration diagram for DeviceHardIrqContext:

Public Member Functions

 DeviceHardIrqContext (size_t &previousDepth, bool &restorationArmed)
 

Static Public Member Functions

static void restoreDepth (size_t previousDepth)
 

Private Member Functions

 DeviceHardIrqContext (const DeviceHardIrqContext &)
 
DeviceHardIrqContextoperator= (const DeviceHardIrqContext &)
 

Private Attributes

ProcessorInformation & m_Information
 
bool & m_RestorationArmed
 
size_t m_PreviousDepth
 
ExecutionContextGuard m_ExecutionContext
 

Detailed Description

Marks the dynamic extent of one explicit device hard-IRQ callback.

Definition at line 16 of file DeviceHardIrqContext.h.

Constructor & Destructor Documentation

◆ DeviceHardIrqContext()

DeviceHardIrqContext::DeviceHardIrqContext ( size_t &  previousDepth,
bool &  restorationArmed 
)

Definition at line 151 of file Processor.cc.

◆ ~DeviceHardIrqContext()

DeviceHardIrqContext::~DeviceHardIrqContext ( )

Definition at line 162 of file Processor.cc.

Member Function Documentation

◆ restoreDepth()

void DeviceHardIrqContext::restoreDepth ( size_t  previousDepth)
static

Restores a depth captured before a callback began.

Definition at line 169 of file Processor.cc.

References ProcessorBase::information().

Member Data Documentation

◆ m_ExecutionContext

ExecutionContextGuard DeviceHardIrqContext::m_ExecutionContext
private

Definition at line 31 of file DeviceHardIrqContext.h.

◆ m_Information

ProcessorInformation& DeviceHardIrqContext::m_Information
private

Definition at line 28 of file DeviceHardIrqContext.h.

◆ m_PreviousDepth

size_t DeviceHardIrqContext::m_PreviousDepth
private

Definition at line 30 of file DeviceHardIrqContext.h.

◆ m_RestorationArmed

bool& DeviceHardIrqContext::m_RestorationArmed
private

Definition at line 29 of file DeviceHardIrqContext.h.


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