LanDevice Class Reference

class representing an network device More...

#include <device.h>

Inheritance diagram for LanDevice:

Device List of all members.

Public Member Functions

 LanDevice (const std::string &udi)
 constructor
 ~LanDevice ()
 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 (char *udi)
 chef if a device is a device of this DPM_DEVICE_CLASS

Detailed Description

class representing an network device


Constructor & Destructor Documentation

LanDevice::LanDevice const std::string &  udi  ) 
 

constructor

Parameters:
udi the udi of the device given by hal

LanDevice::~LanDevice  ) 
 

destructor


Member Function Documentation

void LanDevice::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 LanDevice::isActive  )  [virtual]
 

check whether device is currently busy

Returns:
true if device is busy

Implements Device.

bool LanDevice::isDevice 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