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 98 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 117 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 152 of file Memory_Linux.cpp.

References MemoryOsSpecific::fillBuffer().

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

Implements IMemory.

Definition at line 159 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 106 of file Memory_Linux.cpp.

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

int decReopenHint (  )  [virtual]

Implements IMemory.

Definition at line 111 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 Mon Nov 26 21:12:57 2007 for SMBIOS Library by  doxygen 1.5.1