Public Member Functions

sim_disk_file Class Reference
[File implementations]

Implementation of disk emulation. More...

#include <simdisk_file.h>

Inheritance diagram for sim_disk_file:
Inheritance graph
Collaboration diagram for sim_disk_file:
Collaboration graph

List of all members.

Public Member Functions

 sim_disk_file (const std::string &filename, int mode, int queue_id=DEFAULT_QUEUE, int allocator_id=NO_ALLOCATOR)
 constructs file object
void serve (const request *req) throw (io_error)
void set_size (offset_type newsize)
const char * io_type () const

Detailed Description

Implementation of disk emulation.

It is emulation of IBM IC35L080AVVA07 disk's timings

Constructor & Destructor Documentation

sim_disk_file::sim_disk_file ( const std::string &  filename,
int  mode,
int  queue_id = DEFAULT_QUEUE,
int  allocator_id = NO_ALLOCATOR 
) [inline]

constructs file object

filename path of file
filename must be resided at memory disk partition
mode open mode, see stxxl::file::open_modes
disk disk(file) identifier

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