UsbDevice Class Reference

class representing an usb device More...

#include <device.h>

Inheritance diagram for UsbDevice:

Device List of all members.

Public Member Functions

 UsbDevice (const std::string &udi)
 constructor
 ~UsbDevice ()
 destructor
virtual bool isActive ()
 check whether device is currently busy

Static Public Member Functions

static void getDevices (std::list< std::string > &device_udis)
 get list of usb devices in system
static bool isDevice (const char *udi)
 chef if a device is a device of this DPM_DEVICE_CLASS

Detailed Description

class representing an usb device


Constructor & Destructor Documentation

UsbDevice::UsbDevice const std::string &  udi  ) 
 

constructor

Parameters:
udi the udi of the device given by hal

UsbDevice::~UsbDevice  ) 
 

destructor


Member Function Documentation

void UsbDevice::getDevices std::list< std::string > &  device_udis  )  [static]
 

get list of usb devices in system

Parameters:
device_udis stl list which get filled with devices

bool UsbDevice::isActive  )  [virtual]
 

check whether device is currently busy

Returns:
true if device is busy

Implements Device.

bool UsbDevice::isDevice const char *  udi  )  [static]
 

chef if a device is a device of this DPM_DEVICE_CLASS

Parameters:
udi the device udi to check for
Returns:
true if the device is out of this class


The documentation for this class was generated from the following files:
Generated on Mon Mar 27 09:27:20 2006 for Powersave Daemon by  doxygen 1.4.6