Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions
allocators.h File Reference
#include <map>
#include <string>
#include <string.h>
#include <boost/thread/mutex.hpp>
#include <boost/thread/once.hpp>
#include <openssl/crypto.h>
+ Include dependency graph for allocators.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LockedPageManagerBase< Locker >
 Thread-safe class to keep track of locked (ie, non-swappable) memory pages. More...
 
class  MemoryPageLocker
 OS-dependent memory page locking/unlocking. More...
 
class  LockedPageManager
 Singleton class to keep track of locked (ie, non-swappable) memory pages, for use in std::allocator templates. More...
 
struct  secure_allocator< T >
 
struct  secure_allocator< T >::rebind< _Other >
 
struct  zero_after_free_allocator< T >
 
struct  zero_after_free_allocator< T >::rebind< _Other >
 

Typedefs

typedef std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
 

Functions

template<typename T >
void LockObject (const T &t)
 
template<typename T >
void UnlockObject (const T &t)
 

Typedef Documentation

typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString

Definition at line 253 of file allocators.h.

Function Documentation

template<typename T >
void LockObject ( const T &  t)

Definition at line 167 of file allocators.h.

References LockedPageManager::Instance(), and LockedPageManagerBase< Locker >::LockRange().

Referenced by CKey::CKey(), CKey::Derive(), and CExtKey::SetMaster().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename T >
void UnlockObject ( const T &  t)

Definition at line 171 of file allocators.h.

References LockedPageManager::Instance(), and LockedPageManagerBase< Locker >::UnlockRange().

Referenced by CKey::Derive(), CExtKey::SetMaster(), and CKey::~CKey().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: