Re: [ES40-developers] Misc Patches
Status: Alpha
Brought to you by:
iamcamiel
From: Camiel V. <iam...@gm...> - 2008-04-29 12:03:09
|
Hi David, I'd like to keep the name something that starts with "CDisk", like all the other children of the CDisk class. My first thought was "CDiskMediaChanger", but that seems a bit long. The CDisk class is currently only used for disks (hard disks, floppy disks, compact disks), but might indeed be used for tapes as well in the future. Perhaps we could rename the CDisk classes to CMedia classes when that happens? That would give us CMediaFile (primarily for hard-disks and cd-rom's), CMediaRAM (primarily for temporary hard-disks), CMediaDevice (primarily for Floppy's, CD-ROM's and tape drives) and CMediaChanger (Floppy's, CD-ROM's, tape drives) Camiel. On Tue, Apr 29, 2008 at 1:56 PM, Hittner, David T. <dav...@ng...> wrote: > You'll need to provide the removeable media capablility for people to write > multiple tapes serially as well. > $ BACK/LOG DUA0: MUA0:today.bck/save > .... > Mount next tape on MUA0: > .... > $ > > So you might be thinking more along the lines of CRemovableMedia, rather > than CDiskChanger..? > > Dave > > > > > As for removable media: this is something we should start > > addressing sometime soon. I'm proposing to handle this in two > > possible ways: > > > > 1) for physical devices (CDiskDevice) we should check with > > the OS whether a media change has occurred. > > > > 2) for non-phisical devices, I'm proposing the introduction > > of a new Disk Class (CDiskChanger?) that is both a CDisk and > > a CDiskController. > > Other disks connect to it, and which disk is active can be > > selected through the serial port menu. The DiskChanger class > > itself is a simple wrapper around the selected disk's > > methods. So you'd have something like this in the config file: > > > > disk0.0 = changer { > > disk 0.0 = {...} > > disk 0.1 = {...} > > ... > > } > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > > |