The Pedigree Project  0.1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OFDevice Class Reference

#include <Device.h>

+ Collaboration diagram for OFDevice:

Public Member Functions

 OFDevice (OFHandle handle)
 
virtual void getProperty (const char *pProperty, NormalStaticString &buf)
 
virtual OFHandle getProperty (const char *pProperty)
 
virtual int getProperty (const char *pProperty, void *buf, size_t bufLen)
 
virtual OFHandle getParent ()
 
virtual bool propertyExists (const char *pProperty)
 
virtual int getPropertyLength (const char *pProperty)
 
virtual int getNextProperty (const char *pPrevious, const char *pNext)
 
virtual void setProperty (const char *pProperty, NormalStaticString &val)
 
virtual OFHandle executeMethod (const char *method, size_t nArgs, OFParam p1=0, OFParam p2=0, OFParam p3=0, OFParam p4=0, OFParam p5=0, OFParam p6=0)
 

Protected Member Functions

 OFDevice (const OFDevice &)
 
OFDeviceoperator= (const OFDevice &)
 

Protected Attributes

OFHandle m_Handle
 

Friends

class OpenFirmware
 

Detailed Description

Provides an interface to query OpenFirmware about a device.

Definition at line 31 of file openfirmware/Device.h.

Member Function Documentation

void OFDevice::setProperty ( const char *  pProperty,
NormalStaticString val 
)
virtual
Todo:

Definition at line 122 of file openfirmware/Device.cc.

References OpenFirmware::call(), and OpenFirmware::instance().

Friends And Related Function Documentation

friend class OpenFirmware
friend

OpenFirmware can access our m_Handle variable.

Definition at line 34 of file openfirmware/Device.h.


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