Device Class Reference

#include <DeviceMap.h>

List of all members.

Public Member Functions

 Device (const char *path, int devfd=-1)
 ~Device ()
int32 CountSessions () const
SessionSessionAt (int32 index) const
int32 CountPartitions () const
int32 BlockSize () const
void SetPartitioningFlags (drive_setup_partition_flags newFlags)
const char * Name () const
const char * DisplayName (bool includeBusID=true, bool includeLUN=false) const
SessionNewSession (int32 dev, int32 index)
bool FindMountedVolumes (void *)
bool ReadOnly () const
bool Removable () const
void UpdateDeviceState ()
status_t Eject ()
bool NoMedia () const
void Dump (const char *)
bool Dump (void *)
bool DeviceStateChanged (void *params)
bool IsFloppy () const

Friends

class Session
class DeviceList


Constructor & Destructor Documentation

Device const char *  path,
int  devfd = -1
 

~Device  ) 
 


Member Function Documentation

int32 BlockSize  )  const
 

int32 CountPartitions  )  const
 

int32 CountSessions  )  const
 

bool DeviceStateChanged void *  params  ) 
 

const char* DisplayName bool  includeBusID = true,
bool  includeLUN = false
const
 

bool Dump void *   ) 
 

void Dump const char *   ) 
 

status_t Eject  ) 
 

bool FindMountedVolumes void *   ) 
 

bool IsFloppy  )  const
 

const char* Name  )  const
 

Session* NewSession int32  dev,
int32  index
 

bool NoMedia  )  const
 

bool ReadOnly  )  const [inline]
 

bool Removable  )  const [inline]
 

Session* SessionAt int32  index  )  const
 

void SetPartitioningFlags drive_setup_partition_flags  newFlags  ) 
 

void UpdateDeviceState  ) 
 


Friends And Related Function Documentation

friend class DeviceList [friend]
 

friend class Session [friend]
 


Copyright 2005 by yellowTAB GmbH, Be Inc., Palm Source Inc. and their respective legal successors
All rights reserved.