NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VirtualDisk Class Reference

Provide a memory backed disk. More...

Inheritance diagram for VirtualDisk:
StaticReceiver< VirtualDisk > Device

Public Member Functions

bool receive (MessageDisk &msg)
 VirtualDisk (DBus< MessageDiskCommit > &bus_commit, unsigned disknr, char *data, unsigned long length, const char *cmdline)
- Public Member Functions inherited from StaticReceiver< VirtualDisk >
 StaticReceiver ()
- Public Member Functions inherited from Device
void debug_dump ()
 Device (const char *debug_name)

Private Attributes

DBus< MessageDiskCommit > & _bus_commit
unsigned _disknr
char * _data
unsigned long _length
const char * _cmdline

Additional Inherited Members

- Static Public Member Functions inherited from StaticReceiver< VirtualDisk >
static bool receive_static (Device *o, M &msg)

Detailed Description

Provide a memory backed disk.

State: broken

Constructor & Destructor Documentation

VirtualDisk::VirtualDisk ( DBus< MessageDiskCommit > &  bus_commit,
unsigned  disknr,
char *  data,
unsigned long  length,
const char *  cmdline 
)
inline

Member Function Documentation

bool VirtualDisk::receive ( MessageDisk msg)
inline

Member Data Documentation

DBus<MessageDiskCommit>& VirtualDisk::_bus_commit
private
const char* VirtualDisk::_cmdline
private
char* VirtualDisk::_data
private
unsigned VirtualDisk::_disknr
private
unsigned long VirtualDisk::_length
private

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