Overview   API Reference  

device Struct Reference

Interface for devices. More...

#include <device.hpp>

Inheritance diagram for device:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~device (void)
 Empty virtual destructor to enforce derived virtual destructors.
virtual const char * name (void) const =0
 Returns the device's name.
virtual int reset (void)=0
 Resets the device's state back to defaults as when powering up the machine.

Static Public Member Functions

static const char * class_name (void)
 Returns the class' name to generate customized log messages in templates.


Detailed Description

Interface for devices.

Defines everything a machine needs to know about a device.


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

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008