SMBIOS Library
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MemoryOsSpecific Class Reference

#include <MemoryImpl.h>

Inheritance diagram for MemoryOsSpecific:
Inheritance graph
Collaboration diagram for MemoryOsSpecific:
Collaboration graph

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 100 of file Memory_Linux.cpp.

References memory::closeFd(), and MemoryOsSpecific::osData.

Here is the call graph for this function:

MemoryOsSpecific ( )
private
MemoryOsSpecific ( const MemoryOsSpecific source)
private

Member Function Documentation

int decReopenHint ( )
virtual

Implements IMemory.

Definition at line 113 of file Memory_Linux.cpp.

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

void fillBuffer ( u8 buffer,
u64  offset,
unsigned int  length 
) const
virtual
u8 getByte ( u64  offset) const
virtual

Implements IMemory.

Definition at line 154 of file Memory_Linux.cpp.

References MemoryOsSpecific::fillBuffer().

Here is the call graph for this function:

int incReopenHint ( )
virtual

Implements IMemory.

Definition at line 108 of file Memory_Linux.cpp.

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

MemoryOsSpecific& operator= ( const MemoryOsSpecific source)
private
void putByte ( u64  offset,
u8  value 
) const
virtual

Implements IMemory.

Definition at line 161 of file Memory_Linux.cpp.

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

Here is the call graph for this function:

Member Data Documentation

void* osData
private

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