PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Typedefs | Functions
allocators.h File Reference
#include "support/cleanse.h"
#include <map>
#include <string.h>
#include <string>
#include <vector>
#include <boost/thread/mutex.hpp>
#include <boost/thread/once.hpp>
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
 
typedef std::vector< char, zero_after_free_allocator< char > > CSerializeData
 
typedef std::vector< unsigned char, secure_allocator< unsigned char > > SecureVector
 

Functions

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

Typedef Documentation

◆ CSerializeData

typedef std::vector<char, zero_after_free_allocator<char> > CSerializeData

Definition at line 265 of file allocators.h.

◆ SecureString

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

Definition at line 262 of file allocators.h.

◆ SecureVector

typedef std::vector<unsigned char, secure_allocator<unsigned char> > SecureVector

Definition at line 267 of file allocators.h.

Function Documentation

◆ LockObject()

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

Definition at line 168 of file allocators.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UnlockObject()

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

Definition at line 174 of file allocators.h.

Here is the call graph for this function:
Here is the caller graph for this function: