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
[legend]
Collaboration diagram for sim_disk_file:
Collaboration graph
[legend]

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.

Remarks:
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

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

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