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
virtual int incReopenHint ()
virtual int decReopenHint ()

Private Member Functions

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

Private Attributes

void * osData

Detailed Description

Definition at line 69 of file MemoryImpl.h.


Constructor & Destructor Documentation

MemoryOsSpecific ( const std::string  file  )  [explicit]

~MemoryOsSpecific (  )  [virtual]

Definition at line 99 of file Memory_Linux.cpp.

References memory::closeFd(), 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 118 of file Memory_Linux.cpp.

References _, memory::closeFd(), memory::condOpenFd(), LinuxData::fd, LinuxData::lastMappedOffset, LinuxData::lastMapping, LinuxData::mappingSize, MemoryOsSpecific::osData, and LinuxData::reopenHint.

Referenced by MemoryOsSpecific::getByte().

u8 getByte ( u64  offset  )  const [virtual]

Implements IMemory.

Definition at line 153 of file Memory_Linux.cpp.

References MemoryOsSpecific::fillBuffer().

void putByte ( u64  offset,
u8  value 
) const [virtual]

Implements IMemory.

Definition at line 160 of file Memory_Linux.cpp.

References _, memory::closeFd(), memory::condOpenFd(), LinuxData::fd, MemoryOsSpecific::osData, and LinuxData::reopenHint.

int incReopenHint (  )  [virtual]

Implements IMemory.

Definition at line 107 of file Memory_Linux.cpp.

References MemoryOsSpecific::osData, and LinuxData::reopenHint.

int decReopenHint (  )  [virtual]

Implements IMemory.

Definition at line 112 of file Memory_Linux.cpp.

References MemoryOsSpecific::osData, and LinuxData::reopenHint.

MemoryOsSpecific& operator= ( const MemoryOsSpecific source  )  [private]


Member Data Documentation

void* osData [private]

Definition at line 83 of file MemoryImpl.h.

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


The documentation for this class was generated from the following files:
Generated on Wed Apr 2 16:37:33 2008 for SMBIOS Library by  doxygen 1.5.1