Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
IOForgeBlock Class Referenceabstract

#include <ioforge_block.hpp>

Inheritance diagram for IOForgeBlock:
IOForge ATAPIModule

Public Member Functions

 IOForgeBlock (const char *mod)
 
template<typename T>
void foreach_by_type (ioforge_device *node, uint8_t type, T &&callback)
 
virtual void load ()=0
 
virtual void unload ()=0
 
- Public Member Functions inherited from IOForge
 IOForge (const char *mod)
 

Static Public Member Functions

static void create (const char *name, block_device_operations_t *ops, void *identifier)
 

Additional Inherited Members

- Protected Attributes inherited from IOForge
const char * mod
 

Detailed Description

Definition at line 8 of file ioforge_block.hpp.

Constructor & Destructor Documentation

◆ IOForgeBlock()

IOForgeBlock::IOForgeBlock ( const char * mod)
inline

Definition at line 10 of file ioforge_block.hpp.

References IOForge::IOForge(), and IOForge::mod.

Referenced by ATAPIModule::ATAPIModule().

Member Function Documentation

◆ create()

static void IOForgeBlock::create ( const char * name,
block_device_operations_t * ops,
void * identifier )
static

References identifier, name, and ops.

◆ foreach_by_type()

template<typename T>
void IOForgeBlock::foreach_by_type ( ioforge_device * node,
uint8_t type,
T && callback )
inline

Definition at line 15 of file ioforge_block.hpp.

References foreach_block_device_by_type(), and type.

Referenced by ATAPIModule::load().

◆ load()

virtual void IOForgeBlock::load ( )
pure virtual

Implemented in ATAPIModule.

◆ unload()

virtual void IOForgeBlock::unload ( )
pure virtual

Implemented in ATAPIModule.


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