Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MemoryOsSpecific Class Reference

#include <MemoryImpl.h>

Inheritance diagram for MemoryOsSpecific:

IMemory List of all members.

Public Member Functions

 MemoryOsSpecific (const std::string file)
virtual ~MemoryOsSpecific ()
virtual void fillBuffer (u8 *buffer, u64 offset, unsigned int length) const
virtual u8 getByte (u64 offset) const
virtual void putByte (u64 offset, u8 value) const

Private Member Functions

 MemoryOsSpecific ()
 MemoryOsSpecific (const MemoryOsSpecific &source)
MemoryOsSpecificoperator= (const MemoryOsSpecific &source)

Private Attributes

void * osData

Constructor & Destructor Documentation

MemoryOsSpecific const std::string  file  )  [explicit]
 

Definition at line 51 of file Memory_Linux.cpp.

References _, LinuxData::fd, LinuxData::lastMappedOffset, LinuxData::lastMapping, LinuxData::mappingSize, and MemoryOsSpecific::osData.

~MemoryOsSpecific  )  [virtual]
 

Definition at line 70 of file Memory_Linux.cpp.

References LinuxData::fd, LinuxData::lastMapping, LinuxData::mappingSize, and MemoryOsSpecific::osData.

MemoryOsSpecific  )  [private]
 

MemoryOsSpecific const MemoryOsSpecific source  )  [private]
 


Member Function Documentation

void fillBuffer u8 buffer,
u64  offset,
unsigned int  length
const [virtual]
 

Implements IMemory.

Definition at line 80 of file Memory_Linux.cpp.

References _, LinuxData::fd, LinuxData::lastMappedOffset, LinuxData::lastMapping, LinuxData::mappingSize, MemoryOsSpecific::osData, and u8.

Referenced by MemoryOsSpecific::getByte().

u8 getByte u64  offset  )  const [virtual]
 

Implements IMemory.

Definition at line 109 of file Memory_Linux.cpp.

References MemoryOsSpecific::fillBuffer(), and u8.

MemoryOsSpecific& operator= const MemoryOsSpecific source  )  [private]
 

void putByte u64  offset,
u8  value
const [virtual]
 

Implements IMemory.

Definition at line 116 of file Memory_Linux.cpp.

References _, LinuxData::fd, MemoryOsSpecific::osData, and u8.


Member Data Documentation

void* osData [private]
 

Definition at line 78 of file MemoryImpl.h.

Referenced by MemoryOsSpecific::fillBuffer(), MemoryOsSpecific::MemoryOsSpecific(), MemoryOsSpecific::putByte(), and MemoryOsSpecific::~MemoryOsSpecific().


The documentation for this class was generated from the following files:
Generated on Wed Apr 11 16:25:11 2007 for SMBIOS Library by doxygen 1.3.5