smol::MemoryLockObject Class Reference

Inheritance diagram for smol::MemoryLockObject:

Inheritance graph
[legend]
Collaboration diagram for smol::MemoryLockObject:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MemoryLockObject (void)
bool setMemoryLock (bool enable)


Detailed Description

The instances of this object can be pinned in memory to avoid any kind of swapping.

Constructor & Destructor Documentation

smol::MemoryLockObject::MemoryLockObject ( void   ) 

Constructor for a MemoryLockObject.


Member Function Documentation

bool smol::MemoryLockObject::setMemoryLock ( bool  enable  ) 

This function pin/unpin the memory that is associated with this object.

Parameters:
enable True to pinning the object to memory and false for unpinning the object again.
Returns:
If true the operation has been successfully performed else false, the operation couldn't be performed.


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

Generated on Sat Aug 1 18:44:15 2009 for SMOL by  doxygen 1.5.8